conan318 Posted April 17, 2011 Share Posted April 17, 2011 $myusername = $_POST['myusername']; mysql_query("INSERT INTO logedin ( username ) VALUES ('$myusername')") OR die("Could not send the message: <br>".mysql_error()); wont insert anything no error's given even just trying to insert username into the the loged in table yes i know i spelt loged in wrong but i did that on the db lol Quote Link to comment https://forums.phpfreaks.com/topic/233971-insert-data-into-table/ Share on other sites More sharing options...
matthew9090 Posted April 17, 2011 Share Posted April 17, 2011 try echoing the $_POST out 2 see if there is anything being passed through Quote Link to comment https://forums.phpfreaks.com/topic/233971-insert-data-into-table/#findComment-1202583 Share on other sites More sharing options...
conan318 Posted April 17, 2011 Author Share Posted April 17, 2011 dont mind just relised uploading the file to wrong place lol Quote Link to comment https://forums.phpfreaks.com/topic/233971-insert-data-into-table/#findComment-1202584 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.