Re: [PHP] stupid question about a class

2004-12-08 Thread Richard Lynch
Richard Kurth wrote: > > I have a stupid question but I can not figure it out > I am using a class that creates the select statement for mysql. > I am ale to add all the data with out any problem. But when I run the > class to get the results. I can only see the results by running echo in > front o

RE: [PHP] stupid question about a class

2004-12-08 Thread Stefan
In your class function you should move your query to a variable e.g. $query Then: return $query; And in your main program: $whatever = $q->getQuery(); __ Stefan > -Ursprüngliche Nachricht- > Von: Richard Kurth [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 8. Dezember 2004 19:21 >