I have installed MySQL 3.23.47 in a Windows 98 machine and created a a table "count".
I have installed Apache Server on 98 machine and try to execute the following PHP
script to insert the data. I was not able to post the data and got an error
Method Not Allowed
The requested method POST is not allowed for the URL /bangla/count/entry.php.
--------------------------------------------------------------------------------
Apache/1.3.26 Server at vinod.com Port 80
THE SCRIPT WHICH I HAD WRITTEN IS
<?php
mysql_connect("localhost","root","vinodb")or
die("could not connect");
mysql_select_db("bangla")or
die("could not select database");?>
$query="insert into count (count)values ( 30)";
mysql_query($query) or die(mysql_error());?>
This script works fine with MySQL and Appache in a Linux machine. Please suggest me
how to solve the problem
Regards,
Vinod.
-------------------------------------------------
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com
Want to get into IIM? Take the Sify Mock CAT now!
http://education.sify.com/mockcat
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php