Jump to content

Simple syntax in string


barney0o0

Recommended Posts

Sorry chaps, maybe tired, but i cant get my head around this

 

I want to produce something like:

 

$pdf->Image('http://www.website.com/frames/'.$1'"."'.$2'.L.jpg', '20', '70', '', '60');

 

Which in real terms should produce:

$pdf->Image('http://www.website.com/frames/002.251L.jpg', '20', '70', '', '60');

 

..but i cant get the syntax right with added the values in a string. Could someone give me a shove in the right direction.

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/240681-simple-syntax-in-string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.