ID:               37897
 Updated by:       [EMAIL PROTECTED]
 Reported By:      demonhunterds at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         MSSQL related
 Operating System: windows xp
 PHP Version:      5.1.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2006-06-23 00:06:18] demonhunterds at hotmail dot com

Description:
------------
I have tried to create a script which stores data in to the mysql
database but for some reason i am getting this error

Fatal error: Method name must be a string in
D:\william\xampp\htdocs\personal\classwork\EXAMPLE2\admin\includes\addmenu.inc
on line 28

I have tried to research and thought this might be a problem how can i
fix this?

Reproduce code:
---------------
The Changes i have made are by removing it but still doesnt insert the
data into the database so how can i fix this? any ideas how this can be
fixed?

include("../dbconnect.php");
$lQuery="INSERT INTO navmenu VALUES('','".$lname."','".$laddy."')";
echo $lQuery;

and under it i have 

if(!$rs)
{
echo "Error:".mysqli_error($con);
}

Expected result:
----------------
i got the error when i click my submit button and didnt do anything i
tried to do echo iquery that worked fine but without me going into the
database it doesnt do anything.

Actual result:
--------------
it is suppose to insert the data into the table called navmenu but
doesnt do that unless i use the sql query so how can i fix this? if i
do put the insert code it works just gives me that error


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37897&edit=1

Reply via email to