ok. I got the idea.
Now, I've tried to send through YIM, the link (the news) on which the visitor is.
Code:
$interogare = "select id as res_id,'http://www.site.biz/site/read_sport' as link,titlu_continut,continut from sport where ID = '$id'";
$rezultat = mysql_query($interogare);
while($rand = mysql_fetch_array($rezultat))
{
echo '<a href=\"ymsgr:im?+&msg=$rand[link].php?id='.$rand['res_id']"\">Send through YIM</a>';
}
..but I guess I can't really understand the COMMAS...because I get:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in site/read_sport.php on line 63
...can you still help me?
Bookmarks