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 3 matches
Smarty Forum Index
Author Message
  Topic: use the substr function correct?
cosanikolis

Replies: 3
Views: 20919

PostForum: Smarty Development   Posted: Wed Sep 30, 2015 7:57 am   Subject: use the substr function correct?
I MADE IT!

THANKS A LOT!
  Topic: use the substr function correct?
cosanikolis

Replies: 3
Views: 20919

PostForum: Smarty Development   Posted: Wed Sep 30, 2015 6:52 am   Subject: use the substr function correct?
Please,

Can you give me an example of 2 first items?

{assign var="var_address" value="$invoice_address"}

{$var_address|mb_substr:0Sad$invoice_address|strpos:"<br& ...
  Topic: use the substr function correct?
cosanikolis

Replies: 3
Views: 20919

PostForum: Smarty Development   Posted: Tue Sep 29, 2015 10:08 am   Subject: use the substr function correct?
Hello,

I use prestashop and i have a variable called $invoice_address.

This variable gives me a block of info:

Address (here we have a <br>)
Orofos (also here)
Name (also here)
Phone ...
 
Page 1 of 1
All times are GMT
Jump to:  


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