okay i have tryed to make this for over 4 hours and still do not get how to do it so here i am
what i want to do is make a function that can make my sql stuff like this
select(the fiealds or the *, what table , a array or the normal for WHERE);Code:$userq = select("*", "users", array('aid' => $this->cookies[aid], 'username' => $this->cookies[username], 'password' => $this->cookies[password], 'sesid' => $this->cookies[sid])); $groupq = select("*", "groups", "group = '$this->user[group]'");
thank you your help if you can give it.





Reply With Quote

