TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
snowal raj
NA
166
39.5k
how to get values from function
Jan 5 2017 8:15 AM
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
Reply
Answers (
1
)
popup is not display
record value is null in php