GAWRRELL - 2010-08-13 23:57:09
I have a script like this :
class gawrrell
{
function one($i)
{
// get some info from mysql
$payment = mysql_query("SELECT * FROM tblorders WHERE userid ='$m'");
$pay = mysql_fetch_array($payment);
// i whose wondering how to make a call to the next function? someting like this :
$id = $this->$pay['id'];
....................
//call the next function
$gaw = $this->two($id......); // I also tryed like this $gaw = $this->two($this->id......);
}
function two($id,$email,$nr)
{
// other stuff
}
}
The question is how to make that function two call form function one inside the same class?
thank's