having problem in inserting data in mysql data base

Codes here !

Moderators: macek, egami, gesf

Post Reply
User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: having problem in inserting data in mysql data base

Post by egami » Tue Jul 03, 2012 9:18 am

do this..


$query = "SHOW COLUMNS FROM $table";
$result = mysql_query($query);
while ($row = mysql_fetch_assoc($result)) {
echo '<pre>'; print_r($row); echo '</pre>';
}

Then make sure that the field exists... and then make sure that the cAsE is CoRrEcT.

Acesystech
New php-forum User
New php-forum User
Posts: 35
Joined: Mon Aug 20, 2012 10:27 pm
Location: Ernakulam
Contact:

Re: having problem in inserting data in mysql data base

Post by Acesystech » Wed Aug 22, 2012 4:29 am

I think confirmcode field not found in Database.... :)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests