Insert Failing.


Posted on 16th Feb 2014 07:03 pm by admin

Hey,
I am making a Sign up page for a website, but the insert query into the Database does not seem to work, it returns no errors, just simply does not work.

Code: $insert_user = mysql_query("INSERT INTO users (id, username, gender, firstname,lastname, email, password, ipaddress, energy, verifycode, verified, referrer) VALUES
('', '$username','$gender','$firstname','$lastname', '$email', '$password', '$ip', '150', '$verifycode', 'N', '$refferer')");

All the Vars are pre defined.

No comments posted yet

Your Answer:

Login to answer
93 Like 38 Dislike
Previous forums Next forums
Other forums

Hits this week counter
I have a counter on my site that tracks hits, IP's, etc. into a mySQL database. It also includes the

replacements
I have a variable in my PHP script like

ASSFDDDDDDDDDDDDDASDDDDDDDDARYTRHKKHHHHHHHHHHH and p

Login logout link help
Hi all,

Im new to php and Im having trouble creating a login/logout link for my page that dis

records between 2 dates
Hello all,

I have a date tracked table which contains effective_start_date and effective

FTP issues
Hi all,


I am currently facing some serious problems with a script and really need some ad

Image upload - determine folder
I have an upload script that may be accessed from different directories. Problem is, the script is m

How do I send data using an html link
Hi

If I have
<a href="main_file.php">

How do I send data t

php title problem
Hi,

I am having a problem managing my page title with PHP.

Currently I have my <

how to remove in php string display
My code is $message="We're looking at developing our website."; $body= "My mess

Using mysql_real_escape_string for displayed content
On my website users can input data into a textarea and it will store it in the mysql database. But,

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash