having problem in inserting data in mysql data base

Codes here !

Moderators: egami, macek, gesf

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

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.

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

Wed Aug 22, 2012 4:29 am

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

Post Reply