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 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 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 Link to comment https://forums.phpfreaks.com/topic/233971-insert-data-into-table/#findComment-1202584 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.