On Fri, 8 Nov 2002 16:03:59 -0800, Scotty wrote:
>> >The following bit of code is supposed to generate a url in the
last
>> >cell of each row
>> >
>> ><snip>
>> >                    $code= "$row[0]".$sep;
>> >                     $image=
>> >"http://ipbooks.net/pictures/"."$code".".jpg";;
>> >                     $schema_insert .= "$image".$sep;
>> ></snip>
>
>Try this $image = "http://ipbooks.net/pictures/${code}.jpg";;
>
>The brackets are the other way of interpolating a variable into a
string.
>

Hi Scott

Not too sure what you mean. As written, the line

$image = "http://ipbooks.net/pictures/${code}.jpg";

gives a parse error (I'm using PHP). Also, I can't see where the
concatenation is (or am I being dense?).

regards

Melanie





____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:wdvltalk-join@;lists.wdvl.com
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to