QUOTE(Timo @ Mar 25 2005, 03:01 PM)
QUOTE
Among other things, this can be useful for storing code in a database text field for later execution.
http://us2.php.net/manual/en/function.eval.phpWhen I said delay I didn't mean to imply you to use a sleep function... I mean what it says in the description... I was reflecting on php.net's manual's information...
Either way, I don't see how it could help his specific problem... How would it help his problem was what I was wondering.
(edit: I also don't have access to an FTP server w/ PHP right now (library) so I can't test it to see what it does and only have a vague idea of what its purpose is so mind my ignorance of the issue.)
[right][snapback]25202[/snapback][/right]
I see what you mean now. By delay, you meant as in storing in a database. Sorry, I misunderstood you.
I'm not sure if this helped his problem or not, he could want to execute some php code. He might want to know how to use an iframe to put a php page in a php page. He might want to include a php page from a php page, which would mean they both would run at the same time. I have no idea, I was just tossing up a possible solution.
As for what happens, the sleep() delays everything (because it's still one script).