> Suppose a user can add a new row to a database in a PHP page with a form,
> and after submit, the next page he will see is a page displaying part of
> the same database, hopefully with his new row on top. Questions: A) will he
> always see the new data which he entered just a second before?
Yes.
> B) How much
> delay could there be. In other words, how multi-tasking is PHP; will it run
> the next script line, even when a previous line (a MySQL query) has not
> been completed yet? And will MySQL execute a next (non-update) query, when
> the precious one is not done yet? I think that last question has the
> beginnings of an answer in it... :-)
Nothing to do with multitasking. You invoke a program which is
executed line by line. php has to wait for mysql to get any
return code for further processing.
--
Herzlich
Werner Stuerenburg
_________________________________________________
ISIS Verlag, Teut 3, D-32683 Barntrup-Alverdissen
Tel 0(049) 5224-997 407 · Fax 0(049) 5224-997 409
http://pferdezeitung.de
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php