how to contol the rhythm or time of my process?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

mybird
New php-forum User
New php-forum User
Posts: 7
Joined: Sat Oct 12, 2002 1:09 am

how to contol the rhythm or time of my process?

Postby mybird » Sat Oct 12, 2002 1:16 am

has php anything like function wait() to control the time? :oops:

DoppyNL

Postby DoppyNL » Sat Oct 12, 2002 1:46 am

I'm just wondering why you need such a function??

you create web-pages with php, you want them to be made as fast as possible. No need for a wait function there....
I don't know you're actual problem (why you want that function), but I think you can work around it another way

So... What is the actual problem??

Greetz Daan

mybird
New php-forum User
New php-forum User
Posts: 7
Joined: Sat Oct 12, 2002 1:09 am

i mean……

Postby mybird » Sat Oct 12, 2002 2:06 am

i mean the rhythm, eg how to make a string move in the image? i use for(),but it goes too fast. :oops:

DoppyNL

Postby DoppyNL » Sat Oct 12, 2002 2:09 am

I still don't get it.....

mybird
New php-forum User
New php-forum User
Posts: 7
Joined: Sat Oct 12, 2002 1:09 am

Postby mybird » Sat Oct 12, 2002 2:13 am

ok, if i want, how can i creat a moving string in my web page? i know other tools do it perfectly, but i want to know how php do it?

DoppyNL

Postby DoppyNL » Sat Oct 12, 2002 2:17 am

If you want text te move around on you're page in the users browser you cannot use PHP.

PHP is server side, once it has been sent to the user php can't do anything about the contents.
You need to use something that is client-side (java, javascript, flash, stuff like that) to move you're string around on the page.

Greetz Daan

mybird
New php-forum User
New php-forum User
Posts: 7
Joined: Sat Oct 12, 2002 1:09 am

Postby mybird » Sat Oct 12, 2002 2:25 am

oh i s, thanks
so the main use of php is to use data base?

DoppyNL

Postby DoppyNL » Sat Oct 12, 2002 2:46 am

from php.net (main page, left column):
What is PHP?
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

For more info see php.net

I'm just to lazy to give you a description myself :)

Greetz Daan

Jay

Postby Jay » Sat Oct 12, 2002 3:34 am

mybird wrote:oh i s, thanks
so the main use of php is to use data base?

Server side languages are used to generate page content 'on-the-fly' for instance, if you wanted a unique page for every visitor on your page. PHP cannot do special effects with your page, that's the client side (because the client's browser will do the effects on the page). PHP merely sends the coding for it, it's whether or not the clients browser can display it is the question.


Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron