From: demonhunterds at hotmail dot com
Operating system: windows xp
PHP version: 5.1.4
PHP Bug Type: MSSQL related
Bug description: Code error
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 bug report at http://bugs.php.net/?id=37897&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=37897&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=37897&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=37897&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37897&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=37897&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37897&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37897&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37897&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37897&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37897&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=37897&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=37897&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37897&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37897&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37897&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37897&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37897&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37897&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37897&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37897&r=mysqlcfg