RE: functions in mysql again

2002-04-12 Thread Peter Romianowski
i [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 12, 2002 3:13 PM > To: [EMAIL PROTECTED] > Subject: functions in mysql again > > > Hi again > I'm getting this message now: > Supplied argument is not a valid MySQL result resource ..at the 4th line. > What could be th

functions in mysql again

2002-04-12 Thread Alia Mikati
Hi again I'm getting this message now: Supplied argument is not a valid MySQL result resource ..at the 4th line. What could be the problem now? Thx again function AddItem($OrderID,$ProductID,$Qty) { $Datasource = new Datasource; $result = mysql_query("Select Count(*) FROM orderitemdetail WHERE