Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 10 matches
Smarty Forum Index
Author Message
  Topic: Problem with two-column tables
cypreess

Replies: 5
Views: 8717

PostForum: General   Posted: Fri Sep 17, 2004 8:07 pm   Subject: Problem with two-column tables
Is there a bug?

I make section step=2

and this $smart.....next as you said and the outpot is



1 | 3
3 | 5


and should be


1 | 2
3 ...
  Topic: Problem with two-column tables
cypreess

Replies: 5
Views: 8717

PostForum: General   Posted: Fri Sep 17, 2004 7:52 pm   Subject: Problem with two-column tables
THX!
  Topic: Problem with two-column tables
cypreess

Replies: 5
Views: 8717

PostForum: General   Posted: Fri Sep 17, 2004 7:37 pm   Subject: Problem with two-column tables
I have an array with some strings.

I need to put them into two-column TABLE

<table>
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td& ...
  Topic: postgres timestamps and date_format
cypreess

Replies: 4
Views: 8318

PostForum: General   Posted: Mon Sep 13, 2004 4:12 pm   Subject: postgres timestamps and date_format
I have doi it in this way:


SELECT substring(my_date, 16) FROM ...


and now the date is in format 1234-12-12 12:12 so date_format works on it fine!
  Topic: I dont understan why to us SMARTY
cypreess

Replies: 6
Views: 8517

PostForum: General   Posted: Wed Sep 08, 2004 9:58 am   Subject: I dont understan why to us SMARTY
I am programming scripts in many languages for years.... Perl, PHP, Phyton.

What can I say is that the major problem of such programming is to separate a code from message body. If you are developi ...
  Topic: postgres timestamps and date_format
cypreess

Replies: 4
Views: 8318

PostForum: General   Posted: Tue Sep 07, 2004 3:12 pm   Subject: postgres timestamps and date_format
truncate also didnt work properly with this stupid date.

I thougt i can truncate the last X characters with miliseconds, and then date_format this. but no Sad

what to do with this?
  Topic: I dont understan why to us SMARTY
cypreess

Replies: 6
Views: 8517

PostForum: General   Posted: Tue Sep 07, 2004 3:05 pm   Subject: I dont understan why to us SMARTY
If don't see any benefits of using templates for 3 years, maybe its time to change proffesion? Very Happy Twisted Evil Twisted Evil
  Topic: postgres timestamps and date_format
cypreess

Replies: 4
Views: 8318

PostForum: General   Posted: Tue Sep 07, 2004 12:30 am   Subject: postgres timestamps and date_format
Hi,

I have value from postgrestimstamp for example


$my_date = " 2004-09-04 15:06:19.782843";
//this is value got from POSTGRESQL timestamp


and i want to put it in the ...
  Topic: math | string format
cypreess

Replies: 3
Views: 22583

PostForum: Feature Requests   Posted: Mon Sep 06, 2004 10:51 pm   Subject: math | string format
Thanks !!!

That works FINE !!


And something diffrent by the way.

$my_date = " 2004-09-04 15:06:19.782843";
//this is value got from POSTGRESQL timestamp

and i do in ...
  Topic: math | string format
cypreess

Replies: 3
Views: 22583

PostForum: Feature Requests   Posted: Sat Sep 04, 2004 5:12 pm   Subject: math | string format
hello .

i have got someting like this

{if $fsize < 1024}
{$fsize} B
{elseif $fsize < 1048576}
{(math equation="size ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP