Hi all
I need your help, please!
On my site I want to put link of the day. I store the url and a small description in a database. When I run the .php file there appears this message:
Parse error: parse error in .php on line 24 !!! I shot my best but the message is debugerproof What is wrong with my code?
Here it is:
/*
<?php $link=mysql_connect ( "data_base","user_name","pssw");
mysql_select_db('data_base',$link);
$result = mysql_query("select MAX(id),url,descr from flash_sites group by url");
$go= mysql_fetch_array($result);
$ran=$go["id"];
$random=rand($ran)
$result = mysql_query("select url,descr from flash_sites where id=1");
?>
*/
Thank you in advance!
I need your help, please!
On my site I want to put link of the day. I store the url and a small description in a database. When I run the .php file there appears this message:
Parse error: parse error in .php on line 24 !!! I shot my best but the message is debugerproof What is wrong with my code?
Here it is:
/*
<?php $link=mysql_connect ( "data_base","user_name","pssw");
mysql_select_db('data_base',$link);
$result = mysql_query("select MAX(id),url,descr from flash_sites group by url");
$go= mysql_fetch_array($result);
$ran=$go["id"];
$random=rand($ran)
$result = mysql_query("select url,descr from flash_sites where id=1");
?>
*/
Thank you in advance!