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

serializing objects - loses methods - the point being?
Hi

I know that serializing an object will lose the methods. But whats the point in that? What

How do I use ValidatorCallout extender in Login control?
Hi,I'd like to customize the look and feel of the login control a little bit. One thing I'd love to

$_POST variable un-useable
I'm trying to use a $_POST variable in a mysql update statement but i can't use it for some unknown

Changes to hosting company's server has affected web contact form
I started a thread a couple of months ago about the contact forms on my client's website. Basically

finding key position of specified value in multi-dimensional array
Code: $openedfile = fopen($tfc_file4, "r");
$rc = 1;
while(!feof($openedfile))
{<

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

PHP - MySQL Fail
My PHP code will only execute the first part of my code...

Code: <?php

sessio

Email Processor
I have a few questions so this post will be a larger one! Sorry, but I'm a bit of a PHP newbie so be

Website Direction...
I recently used this code to try and make it so the page loads as http://www.domain.com/ when you ty

breaking a text file into paragraphs based on strings
I have a text file of email addresses that is all squished together. It looks like this:

abc

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