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 spikymark@hotmail.com Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.