ok it's working now thank you, however i fetch zero entries even though i've got comments for the video playing stored in the database. i added this php print code:
print '<PRE style="text-align:left;">'; print_r($sql); die("<P>Script Halted...</P>"); print '</PRE>';
and when i test it online i get this sql quary:
SELECT * FROM guestbook WHERE titleID = '000000000?videoID=000000000' ORDER BY time DESC LIMIT 0, 10Script Halted...
while the sql quary that will yield results should be:
SELECT * FROM guestbook WHERE titleID = '000000000' ORDER BY time DESC LIMIT 0, 10
somehow i pass my variable twice???
this is my flash request:
myEntries = new LoadVars();
myEntries.ref = this
myEntries.videoID = videoID
myEntries.sendAndLoad("GuestBook.php?action=read&r="+random(999)+"&NumLow="+_parent.NumLow+"&videoID="+videoID,myEntries,"GET");
and again my php code:
$id=mysql_escape_string($_GET['videoID']);
$sql = "SELECT * FROM $table WHERE titleID = '$id'";
any ideas?