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 16 matches
Smarty Forum Index
Author Message
  Topic: Use php commands within the smarty file
ahoussam

Replies: 1
Views: 5471

PostForum: General   Posted: Mon Jul 26, 2010 7:36 am   Subject: Use php commands within the smarty file
Hello my friends
I read data from my table and get array of data
I want to use php command like this to convert data:
strftime("%H:%M",$user_Temp[i].start_time)
within the smarty file, H ...
  Topic: display a data with smarty is not correct
ahoussam

Replies: 18
Views: 27238

PostForum: General   Posted: Mon Apr 05, 2010 9:04 am   Subject: display a data with smarty is not correct
I am still waiting for help about the problem that has been characterizing ..!
Who has any idea about that?
thanks
  Topic: display a data with smarty is not correct
ahoussam

Replies: 18
Views: 27238

PostForum: General   Posted: Thu Mar 18, 2010 1:57 pm   Subject: display a data with smarty is not correct
Completely, with PHP appear correctly, as in the previous image!
  Topic: display a data with smarty is not correct
ahoussam

Replies: 18
Views: 27238

PostForum: General   Posted: Thu Mar 18, 2010 1:37 pm   Subject: display a data with smarty is not correct
no, my browser auto-select lanaguage, but i try to select arabic/utf-8 to view data is correct (manual)!
and i save my file as : unix|utf-8
  Topic: display a data with smarty is not correct
ahoussam

Replies: 18
Views: 27238

PostForum: General   Posted: Thu Mar 18, 2010 1:24 pm   Subject: display a data with smarty is not correct
yes i have it, i use two: Internet explorer and firefox
  Topic: {foreach} looping with PHP iterator
ahoussam

Replies: 10
Views: 126130

PostForum: Tips and Tricks   Posted: Thu Mar 18, 2010 8:00 am   Subject: {foreach} looping with PHP iterator
thanks
you can see at this subject http://www.smarty.net/forums/viewtopic.php?p=63427#63427
  Topic: display a data with smarty is not correct
ahoussam

Replies: 18
Views: 27238

PostForum: General   Posted: Thu Mar 18, 2010 7:32 am   Subject: display a data with smarty is not correct
thank you very much
yes I'm sure, without smarty i got this result:
http://img338.imageshack.us/img338/6796/correcterror.png
I have discovered something new, when I change the encoding in your brow ...
  Topic: display a data with smarty is not correct
ahoussam

Replies: 18
Views: 27238

PostForum: General   Posted: Wed Mar 17, 2010 2:33 pm   Subject: display a data with smarty is not correct
a same result!

thanks
  Topic: display a data with smarty is not correct
ahoussam

Replies: 18
Views: 27238

PostForum: General   Posted: Wed Mar 17, 2010 8:11 am   Subject: display a data with smarty is not correct
thanks
I use Smarty v2.6.9 and php version 5.2.8
Multibyte Support : enabled
  Topic: display a data with smarty is not correct
ahoussam

Replies: 18
Views: 27238

PostForum: General   Posted: Tue Mar 16, 2010 9:36 am   Subject: display a data with smarty is not correct
hello
I used query to get data from oracle, i used tow method to display this data such as:
$nrows = oci_fetch_all($stid, $data_res, null, null, OCI_FETCHSTATEMENT_BY_ROW);
first with php f ...
  Topic: {foreach} looping with PHP iterator
ahoussam

Replies: 10
Views: 126130

PostForum: Tips and Tricks   Posted: Mon Mar 15, 2010 9:21 am   Subject: {foreach} looping with PHP iterator
Thank you,
yes, I emerged from the inquiry, but I have a problem!
There is data in the table is written in Arabic language has appeared on my page characters are illegible
How to solve this proble ...
  Topic: {foreach} looping with PHP iterator
ahoussam

Replies: 10
Views: 126130

PostForum: Tips and Tricks   Posted: Thu Mar 11, 2010 1:36 pm   Subject: {foreach} looping with PHP iterator
Hi
I would like to use smarty file to display data

in php file i used:

$conn = oci_connect('username', 'passwd', ip-server/My_db');
$query = 'select * from my_table';
$stid = oci_parse($conn ...
  Topic: oci8 with smarty
ahoussam

Replies: 4
Views: 6305

PostForum: General   Posted: Thu Mar 11, 2010 7:39 am   Subject: oci8 with smarty
Thank you, I have now been clarified the problem.
it is best to use the command:
oci_fetch_all()
But there remains the problem of access to each value in a line array using the SMARTY file because ...
  Topic: oci8 with smarty
ahoussam

Replies: 4
Views: 6305

PostForum: General   Posted: Tue Mar 09, 2010 7:05 am   Subject: oci8 with smarty
yes i use it such as:
in smarty file:

{foreach from=$row item=soso}
{foreach from=$soso item=fofo}
{$fofo}
{/foreach}
{/foreach}


Actual result:
-------------- ...
  Topic: oci8 with smarty
ahoussam

Replies: 4
Views: 6305

PostForum: General   Posted: Thu Mar 04, 2010 12:21 pm   Subject: oci8 with smarty
Hi
I use oci8 php file to connect with oracle db like this:

$conn = oci_connect('username', 'passwd', ip-server/My_db');
$query = 'select * from my_table';
$stid = oci_parse($conn, $query);
oc ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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