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
Did you know?Explore Trending and Topic pages for more stories like this.
('', '$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

Problem with a select distinct
I have a problema with a select distinct, I have the next sql:

select distinct a,b,c,d fr

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...

Code: $define_li

try catch error
I have been trying try catch but, I can't get it to work. The code opens a non existing file called

Files in current folder. Should be an easy fix.
Never mind. I've asked about this before and just found my answer. Anyway to delete this?

losing session vars when arriving from an email link
Hi,

I've got a confirmation script made that sends an email with a link for a user to confirm

Grouping and sorting results
Please help with this query.

I have 2 tables in a database, countires and cities. states look

ereg_replace issue
hi there people

i have this code happening with regards to my wamp server. is this something

check how many commas the variable containing the query has between [i]select[/i
Hi...

iv made an sql table that contains id number - name of sql query and an sql query.
T

PHP error. Need help urgently
Hi,

I am programming a php site and have a problem that i just cant find out how to fix. When

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