metalspawned Posted September 27, 2008 Share Posted September 27, 2008 I am relatively new to PHP. I know that I haven't put in the time to properly learn PHP but I have some experience with MySQL. I'm trying to figure out how to take information from a form on a webpage and insert it into a MySQL database. Another thing I would like to do is to take information FROM a MySQL database and then display it on a webpage. All the tutorials I've read online provide conceptual PHP, and while I understand it, I have no clue what to do WITH it. Does anyone know of an easily understandable tutorial or can anyone provide some guidance? I know these are two big questions .... Thanks Link to comment https://forums.phpfreaks.com/topic/126021-php-and-mysql/ Share on other sites More sharing options...
vbnullchar Posted September 27, 2008 Share Posted September 27, 2008 http://www.php-mysql-tutorial.com/ Link to comment https://forums.phpfreaks.com/topic/126021-php-and-mysql/#findComment-651689 Share on other sites More sharing options...
metalspawned Posted September 27, 2008 Author Share Posted September 27, 2008 I've looked at that one. I suppose I'll go through it again and try to understand. Link to comment https://forums.phpfreaks.com/topic/126021-php-and-mysql/#findComment-651690 Share on other sites More sharing options...
xtopolis Posted September 27, 2008 Share Posted September 27, 2008 http://www.tizag.com/mysqlTutorial/ Link to comment https://forums.phpfreaks.com/topic/126021-php-and-mysql/#findComment-651696 Share on other sites More sharing options...
metalspawned Posted September 27, 2008 Author Share Posted September 27, 2008 "For a submission button to accomplish anything it must be placed inside of a form tag with an action and a method. The action is always set to a server side scripting file such as a PHP, PERL, or ASP file. Another choice may be to set the action to mailto followed by an email address, and the form will be emailed to the specified address." This is copied verbatim from the last tutorial linked (which I thank you for, btw). All the tutorials do this, saying the "action" can be set to a script. HOW? "action=$v"? Thanks :-) Link to comment https://forums.phpfreaks.com/topic/126021-php-and-mysql/#findComment-651724 Share on other sites More sharing options...
ohdang888 Posted September 27, 2008 Share Posted September 27, 2008 <form method="POST" action="form_handler.php"> <input type="submit" name="submit" value="submit"> </form> the action tag tells the browser where to send the data entered in that form Link to comment https://forums.phpfreaks.com/topic/126021-php-and-mysql/#findComment-651728 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.