Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
how to get values from function
snowal raj
Jan 5 2017 8:15 AM
204
Reply
hai ,
i create a page in php for grid results,but i can't do this.
I have error when call a function
this my code
<?php
include_once ("psl-config.php");
include_once ("user.class.php");
ini_set('display_errors', '1');
$result= GetData($mysqli,'ICCTRACE');
echo $result;
?>
and i call GetData function with 2 parameters.
the function is
public function Getdata($connection,$database)
{
$connection->select_db($database);
$statement = $connection->prepare("call sp_get_log_sheet");
$statement->execute();
$statement->store_result();
return $statement;
}
and i have a error
Fatal error
: Uncaught Error: Call to undefined function GetData() in C:\Apache24\htdocs\report\report.php:32 Stack trace: #0 {main} thrown in
C:\Apache24\htdocs\report\report.php
on line
32
please help me
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
popup is not display
record value is null in php