hi,
firstly thanx to phpbuilder & its members for resolving my earlier problems.
right now, i m stuck in a very wierd position. i m working on database driven project for which i m preparing a guestbook.
now the prblem is that the scripts(php) are working on my local machine, but the same scripts are not working on the remote server.
i have created a include file which contains the connection string, which includes the following :
<?php
$db = mysql_connect ("connection string","username","password");
mysql_select_db("database name",$db);
?>
i had guestbook php3 script file which includes the following :
<?php
include ( "conectdb.inc" );
mysql_query("insert into filename (field1,field2,field3,field4,field5) values ('$fieldvalue1','$fieldvalue2','$fieldvalue3','$fieldvalue4','$fieldvalue5')");
include ("closedb.inc");
?>
the above script works fine when it is run on local machine with Apache Server, PHP3 and MySQL.
if, please anyone can solve my problem reply as early as possible.
thanx
piyush