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

Keeping track of php uploads
Hello all.

I was looking at the way PHP handles file uploads.
It seems that PHP uses a tem

Structure Question - One Table or One Table Per Record Set?
I have a web app (mySQL and PHP) which allows people to create an item with up to 200 records which

getting most records by count
Code: [Select]<?php

$connect = mysql_connect("localhost","dam

About imagecopyresampled()
Hello,

I am looking to use this function to resize parts of an image to a fixed thumbnail siz

php title problem
Hi,

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

Currently I have my <

ldap connection
We are using ldap to get user information from the domain controller. It was working before. Recentl

Php WordPress help
I am writing the following code for making a plugin

<?php
header("Content-Type

need help in update query
i create a form for update. there are 8 columns in my mysql table. on my main page all the data is r

Displaying data from MySql a different way
Hi all,
I'm pretty new to php and MySql and have hit a problem.

I am able to display data

distinct rows
Hi
version 10.2.0.3

I have a query output something like the following

ID

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