[PHP] refresh withou erasing

2004-09-06 Thread devil_online
Hi want to put information on a page without erasing the previous on(like for every 5 minutes), and I think I must do an arrays and a foreach loop...how can I do that? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: refresh withou erasing

2004-09-06 Thread devil_online
thanks..and can you give a hand in the code? To avoid that issue, you could best store the info in some temporary file (or database) and then each time loop trough it, and issue it to the user. Make sure to include a 5-min.-delay redirect to the same page (refresh). Devil_online wrote

Re: [PHP] keep page information

2004-09-03 Thread devil_online
and how could I do that? thanks in advance. Ligaya Turmelle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Session variables maybe Respectfully, Ligaya Turmelle devil_online wrote: Hi have this code, that I print two or more things ate a diferente time, and the page

Re: [PHP] print at a specific time

2004-09-02 Thread devil_online
thanks... On Wed, 1 Sep 2004 22:18:30 -0500, Brent Clements [EMAIL PROTECTED] wrote: Sorry forgot to enclose the variable values. doh! I needs more coffee! -Brent - Original Message - From: John Holmes [EMAIL PROTECTED] To: Brent Clements [EMAIL PROTECTED] Cc: devil_online [EMAIL

Re: [PHP] print at a specific time

2004-09-02 Thread devil_online
thanks On Wed, 1 Sep 2004 22:18:30 -0500, Brent Clements [EMAIL PROTECTED] wrote: -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] keep page information

2004-09-02 Thread devil_online
Hi have this code, that I print two or more things ate a diferente time, and the page refreshs after 10 seconds. head meta http-equiv=refresh content=10 /head body ?php $hour = 21; $minute = 06; if(date('H')==$hour AND date('i')==$minute) { echo hi how are you.; } $hour = 21; $minute = 07;

[PHP] print at a specific time

2004-09-01 Thread devil_online
Hi, I want to print or echo something in a specific time like 9.pm. how can i do it? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] print at a specific time

2004-09-01 Thread devil_online
and to print at minutes too, kije 9h01? thanks John Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] devil_online wrote: Hi, I want to print or echo something in a specific time like 9.pm. how can i do it? if(date('H')==21) { echo 'tis 9pm and all is well

[PHP] print a element of a column

2004-08-29 Thread devil_online
Hi, I want to print each element of a column of a mysql database. For exemple to print the first element could we do like this: Code: $result = mysql_query( SELECT username FROM users ); $column = mysql_fetch_array($result); print $column[1]; print $column[3];

[PHP] to more fields in register

2004-02-27 Thread devil_online
Hi I have a register form that have 2 fields user and pass. Now I would like to put two more fields city and email. How can I do it? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] to more fields in register

2004-02-27 Thread devil_online
ok, how do we do an field? Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Saturday 28 February 2004 12:32, devil_online wrote: Hi I have a register form that have 2 fields user and pass. Now I would like to put two more fields city and email. How can I do it? thanks

Re: [PHP] to more fields in register

2004-02-27 Thread devil_online
ok...good awser Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Saturday 28 February 2004 14:12, devil_online wrote: ok, how do we do an field? Assuming you're not a troll, and assuming that you're a complete beginner, and assuming that the above is how do I add