thebusiness Posted July 17, 2011 Share Posted July 17, 2011 I am looking for a tutorial on how to do the following. I would like to display the output from a table, be able to select a row and modify the contents. Also be able to create new rows. Anyone know where I can get started with this? Quote Link to comment https://forums.phpfreaks.com/topic/242171-looking-for-help/ Share on other sites More sharing options...
harristweed Posted July 17, 2011 Share Posted July 17, 2011 http://www.tizag.com/mysqlTutorial/ Quote Link to comment https://forums.phpfreaks.com/topic/242171-looking-for-help/#findComment-1243654 Share on other sites More sharing options...
thebusiness Posted July 17, 2011 Author Share Posted July 17, 2011 http://www.tizag.com/mysqlTutorial/ Thanks But I was looking for a little more detailed guide than this. Quote Link to comment https://forums.phpfreaks.com/topic/242171-looking-for-help/#findComment-1243767 Share on other sites More sharing options...
JasonLewis Posted July 17, 2011 Share Posted July 17, 2011 You'll need to run yourself through a few basic tutorials on selecting, updating and inserting records first. Familiarize yourself with how this is done and you'll have more of an idea on how to go about your task. It's hard to provide a straight out guide without writing a specific guide tailored to your needs which is essentially writing the code for you. You may like to try here: http://www.codingforums.com/showthread.php?t=46916 Although that tutorial is a fair few years old and is quite out-dated but gives you the idea. http://www.visualdesigncore.com/tutorials/PHP-MySQL/PHP-News-System/ Another older tutorial, again good for checking out some ideas. Quote Link to comment https://forums.phpfreaks.com/topic/242171-looking-for-help/#findComment-1243771 Share on other sites More sharing options...
IrOnMaSk Posted August 2, 2011 Share Posted August 2, 2011 i can script that for ya, but you're not gonna learn I can describe the logic to you and you can put it into ph/mysql code... and i'll help you along the way 1) make connection to the database 2) use mysql_query to select and grab the data from the database 3) use mysql_fetch_array to put the data into the array 4) echo the array one by one then follow all the step by number 2, you do update or insert into statement instead of select And I strong recomment this book: head first php mysql on O'reilly site i promise you'll love the book Quote Link to comment https://forums.phpfreaks.com/topic/242171-looking-for-help/#findComment-1250873 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.