03-28-2008, 01:55 PM
|
#2 (permalink)
|
|
The Contributor
Join Date: Jan 2008
Location: Birmingham, UK
Posts: 60
Thanks: 10
|
Hey djscour,
Wow, that lines a bit of a mouthful isn't it, you could do with breaking it down if you're struggling
PHP Code:
// &ID1 = x $rString.= "&ID".$i."=".$row['ID'];
// &visitor1 = x $rString.= "&visitor".$i."=".$row['visitor'];
// &time1 = x $rString.= "&time".$i."=".$row['time'];
// &comment1 = x $rString.= "&comment".$i."=".$row['comment'];
The ampersand (&) is a variable separator, generally used in querystring's (url) or for loading into another language such as flash.
How is $rString being used, in terms of where else is it called in the script?
Regarding the equal sign (=), $rString is being used to concatenate different variables into one string, the full output would look something like:
Code:
&ID1=x&visitor1=x&time1=x&comment1=x
Hope this helps a little :)
Last edited by flyingbuddha : 03-28-2008 at 01:56 PM.
Reason: typos
|
|
|
|