marky167 Posted July 9, 2007 Share Posted July 9, 2007 Hello on my site im doing a video function and i need help this is how it work's the user clicks on the link that will go to http://mysite.com/video/play.php?video=146 and it goes to the mysql database and gets info from the table and goes to the line that has the id no 146 and outputs the code. Could you please help me by giving me the mysql (PHP) code ONLY thank you soo soo much for anyone that helps thanks Mark :) If you need to conatact me use the address [email protected] Link to comment https://forums.phpfreaks.com/topic/59122-mysql-and-php/ Share on other sites More sharing options...
aim25 Posted July 9, 2007 Share Posted July 9, 2007 Wrong section, go to the free lancing section. Link to comment https://forums.phpfreaks.com/topic/59122-mysql-and-php/#findComment-293583 Share on other sites More sharing options...
AndyB Posted July 9, 2007 Share Posted July 9, 2007 $query = "SELECT * from mytablename WHERE id = '146'"; $result = mysql_query($query) or die("Error: ". $mysql_error(). " with query ". $query); $row = mysql_fetch_array($result); $somefield = $row['somefield']; etc Link to comment https://forums.phpfreaks.com/topic/59122-mysql-and-php/#findComment-293835 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.