Re: [PHP] Evaluate String as Object

2004-11-12 Thread Curt Zirzow
* Thus wrote bubba: > Hi, > > Is it possible to evaluate a string passed to a script as an object? no. Also, when asking a question, please dont simply reply to a message and change the subject; Create a new message with subject and ask your question. Curt -- Quoth the Raven, "Nevermore." --

[PHP] Evaluate String as Object

2004-11-11 Thread bubba
Hi, Is it possible to evaluate a string passed to a script as an object? If, for example, I have the following executing in my script: $result = $player_1->execute_query(); // OR $result = $player_2->execute_query(); If I pass a value to a script in the following manner, say: $playername = $_G