problem with mysql and form

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
MeroD
New php-forum User
New php-forum User
Posts: 53
Joined: Wed Oct 10, 2012 12:14 am

Re: problem with mysql and form

Post by MeroD » Mon Oct 29, 2012 10:04 pm

Try: mysql_affected_rows

http://www.php.net/manual/en/function.m ... d-rows.php

Also: Check if query was successful before checking for results.

if (!$result) {
die('Insert failed...' . mysql_error());
}

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests