User jabedbhuiyan

Member for: 1 year (since Nov 23, 2015)
Type: Registered user
Full name: Md. Jabed Bhuiyan
IDB Round (IDB Students Only):
Course Name(IDB Students Only):
TSP(IDB Students Only):
University/College: Govt. Bangla College, Under National University
Department: Accounting
Degree: MBS
Facebook: facebook/jbcomputerbd
Location: Dhaka
About: I'm simple but i'm trying to deference.

Activity by jabedbhuiyan

Score: 440 points (ranked #35)
Questions: 4
Answers: 1
Comments: 0
Voted on: 0 questions, 0 answers
Gave out: 0 up votes, 0 down votes
Received: 1 up vote, 0 down votes

Wall for jabedbhuiyan

Please log in or register to post on this wall.
Dear sir please help me to solve the problem

This code is not work correctly

include "DB.php";

class Student{
private $table = 'tbl_student';

public function readAll(){
$sql ="SELECT * FROM $this->table";
$stmt = DB::prepare($sql);
return $stmt->fetchAll();

Problem : Fatal error: Call to undefined method DB::prepare() in C:\xampp\htdocs\crdu_with_pdo\classes\Student.php on line 9

which code is not word correctly.
Apr 25, 2016 by jabedbhuiyan



100 Club x 1
Verified Human x 1
Photogenic x 1
Regular x 1


Old-Timer x 1


Ancestor x 1