01-24-2008, 10:55 AM
|
#4 (permalink)
|
|
The Contributor
Join Date: Dec 2007
Location: Durban, South Africa
Posts: 51
Thanks: 1
|
Ah, never mind... I forgot to add in the inverted commas in the sprintf...
PHP Code:
$insertSQL = sprintf("INSERT INTO david_test (david_name) VALUES ('%s')", $_POST['Fname']);
Sorry about that. I'm used to the old mysql functions, trying out the mysqli and everything is a bit different.
|
|
|
|