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

Windows Authentication
I have a website which is windows authenticated.
now i want something more on this application.<

Variable Clash
In the past I've had variables clash. For example:

Code: <?php
$c = 5;
$ca

user administration
Dear @all,

what I have to do to set the user defaults for new users. At the moment I woul

Error In Syntax
I got this error:

Code: Parse error: syntax error, unexpected '>' in /home/bucket/publ

Need a Timecode Class...
Not a Time Stamp, Time Code. Format is a bit different. HH:MM:SS:FF where FF is Frames. I dont re

help with mysql_error()
Hi,

I am trying to insert data into a table, but I am not able to insert it. I wanted to see

include problem
I have my root folder as:
Code: $root = $_SERVER["SITE_HTMLROOT"]; // the server root<

Wierd echo error?
Hi, i got the most wierd php error ever and i don't know why..
Code: echo "<t

Curl & sessions PLS HELP
Hello,

I have a problem with curl and sessions and i will try to explain the best i could.

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

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