Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hourglass and text placing

Status
Not open for further replies.

aas1611

Programmer
Dec 14, 2001
184
DE
Hi guys,

Two questions:

(1)
I was wondering if there is an Hourglass method on PHP, just like in Visual Basic. My program imports a relative big table to database. Without hourglass, it looks like the program is doing nothing.
If there's no Hourglass, what would be the solution?

(2)
Is there a way to put specific text on a specific location(maybe with x,y coordination)?
I want to write:
Account Name

So, there are few spaces between'Account' and 'Name'.

Thanks in advance!
 
1. No such thing. PHP runs on the server.
You can output something before you start the import. Make sure to push out the buffer in case chunked encoding is on.

2. HTML is whitespace agnostic. To display 'monospaced' type texts, also called preformatted, embed the text into <pre> ... M/pre> tags.
 
1.) More spesifically, your browser will already show the status of the page as it's loading with a couple of visual cues. You may want to push a message at the top, before the heavy lifting that says something to effect of "get coffee, it's working, but it will take a while."

2.) you can add extra spaces by using &emsp;, &ensp;, &nbsp;, et. al. If all eslse fails use a block or phrase level tags to hold them and use CSS to format their position.

[plug=shameless]
[/plug]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top