Jump to content

insert data into table


conan318

Recommended Posts

 

   $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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.