note 31461 added to function.mysql-list-fields

From: Date: Tue, 22 Apr 2003 22:22:19 +0000
Subject: note 31461 added to function.mysql-list-fields
Groups: php.notes 
Request: Send a blank email to php-notes+get-46955@lists.php.net to get a copy of this message
correct me if I am wrong but using mysql insert into dont you have to do something like insert into $tablename VALUES('". $username ."','". $password ."','". $fname ."','". $lname ."') If I can get someones cooperation I'd like to create a function that a) inputs field names/variables into the values section of the statement b)automatically inserts the padding i.e. insert into $tablename values(); the output might be something like the insert into statement above for any questions please email jmbllm@yahoo.com I want to do this because it is getting confusing to make sure the syntax for the insert into statement is correct. Thanks in advance! -- http://www.php.net/manual/en/function.mysql-list-fields.php http://master.php.net/manage/user-notes.php?action=edit+31461 http://master.php.net/manage/user-notes.php?action=delete+31461 http://master.php.net/manage/user-notes.php?action=reject+31461

« previous php.notes (#46955) next »