Jump to content

[SOLVED] mysql insert problem


jamesxg1

Recommended Posts

mysql_query("INSERT INTO `members` VALUES('getfirstname()', 'getlastname()', 'getusername()', 'getpassword()', 'gettelephone()', 'getaddress()', 'getpostcode()')") or die(mysql_error());

 

in the database it is inserting the names i have wrote and not the value behind them eg. getfirstname() is inputted into the database,

 

what am i doing wrong ?,

 

James.

Link to comment
https://forums.phpfreaks.com/topic/166441-solved-mysql-insert-problem/
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.