Hmmm - dreamweaver shows syntax error on first line...
here - public function select($table, $where="", $bind="", $fields="*") { }
if I take out the word 'public' the error goes away....
Q: how do I fix this?
<?php
//select Method Declaration
public function select($table, $where="", $bind="", $fields="*") { }
//SELECT #1
$results = $db->select("mytable");
//SELECT #2
$results = $db->select("mytable", "Gender = 'male'");
//SELECT #3 w/Prepared Statement
$search = "J";
$bind = array(
":search" => "%$search"
);
$results = $db->select("mytable", "FName LIKE :search", $bind);
?>
Original issue reported on code.google.com by
deal...@gmail.comon 12 Jun 2013 at 1:42