Table render hangs
I have a simple contact form embedded inside a table. When the form is
submitted the table takes some time to render itself - it looks very
ugly as the browser only gets the first part of the table while the
PHP is seneidng the email.
The flow as I see it.
1. Browser renders <TABLE><TR><TD>
2. PHP executes mail()
3. Browser renders </TD></TR></TABLE>
I am trying to find a solution so that the pages doesnt look so ugly as
it loads after sumission.
I thought of a couple options:
1. Create a thread ( apparently not possible in PHP),
2. Put PHP code below the Table, which of course causes some problems
cause I need it to print text inside the table, so I though perhaps of
using javascript to unhide/create some text in the table. This might
work but I would prefer not to have this messy/client side solution...
Any ideas are greatly appreciated.
thanks
Jason
.
Relevant Pages
- highlight_file() strange line breaks
... <?php # highlight_fileline breaks test ... Firefox seems to render the source correctly (in its source window), and of course, as it's XHTML formatted with tags for line breaks, the final render is fine. ... Well, anyway, I think it's good to know for those who like a nice looking rendered script source and for that are wishing to indent their php sources highlights;). ... (comp.lang.php) - Re: is there a way to take an html string and render it as a web browser would, from the command lin
... > which help a browser display the text/information. ... > like lynx, to render it, but it'll only render text. ... > do something like a CGI, look around the web for "cgi tutorial". ... > your server already has PHP, ... (comp.lang.perl.misc) - Re: How to create a snapshot of a URL in PHP?
... Miguel Cruz wrote: ... How do I achieve this in PHP? ... You can install Mozilla on the ... server, and your PHP program can ask it to render the page, print it to ... (comp.lang.php) - Re: How to delay the start of a function
... Make sure that the *function* is sitting in its own PHP file. ... And have a frame or and iframe render the other function in its own PHP file. ... My problem is that a function in the page have a rather heavy mysql query. ... (comp.lang.php) - [SLE] PHP error: Failed opening for inclusion (include_path=.:/usr/share/php)
... as I can't find a solution on google or ... I get the following error when trying to render a PHP page: ... Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com ... (SuSE) |
|