Probably not the best workaround, but I got it working...
I replaced
<form id="add" name="add" action="<?=$_SERVER['PHP_SELF']?>" method="post" onSubmit="return datecheck('add_month0','add_day0','add_year0');">
with:
<form id="add" name="add" action="<?=$_SERVER['PHP_SELF']?>"...
Now I removed the datecheck function from the code, since I don't need it anyway, and there was another function, which checked for modified dates, and I removed this as well, but I think I removed too much. the page returns no errors anymore, but it doesn't submit the changes. Actually nothing...
Sorry, forgot to post the HTML output with it...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>PAGE TITLE</title>
<link rel="stylesheet"...
thanks for the quick reply, and the tips...
I checked in Firefox, and the error console returns a lot of warnings, saying:
Warning: Expected ':' but found 'normal'. Declaration dropped.
Source File:
http://www.myurl.com/table-edit.php
Line: 0
And the actual error message I get is:
Error...
Hi,
recently, I downloaded a script to make MySQL database changes through a web interface written in php, and with some javascript. Everything works quite fine, except when I try to make changes to the database.
I'll explain how the script works... It outputs a table with all fields in a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.