However, I'm running into trouble when I try inserting a reservation. After the surname and name of the titular client, I can't put anything in the fields for the 'From' and 'To' dates. I tried creating a reservation leaving those out. When I hit 'submit' then, it says the dates are wrong. Then when I hit 'back' the displays the insert reservation page again; however, this time it shows these two errors inside the 'From' and 'To' fields (well, between the labels and the fieldsets to be precise):
Code: Select all
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 67 in /tmp/disk/home/mos/Files/WWW/php-residence/includes/funzioni_mysql.php on line 94
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 71 in /tmp/disk/home/mos/Files/WWW/php-residence/includes/funzioni_mysql.php on line 94
Code: Select all
$risul = mysql_result($query,$riga,$colonna);
Thanks in advance,
Steven