Jump to content

[SOLVED] entering empty value in query in php


ali_2kool2002

Recommended Posts

hi i have a customer table and it has an auto increment for the customer id, and a user name field. However, if i want to enter

in php a new customer i dont want to be entering a value as it should automatically be created, so all i need to enter is the user name. How do i make php understand that i want to only enter the first name as the rest should be entered itself in mysql...? do i enter a blank value and pass it on like below?:

 

insert_query = "insert into customer ''', '$fn'";

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.