Re: [PHP] if statement with or comparison (newbie)

2006-09-08 Thread Mitch Miller
I think the OR should be an AND ... If $_REQUEST['id'] = black then the second test will be true and it will output wrong color. If the color is white then the same thing will happen 'cause it meets the first criteria. -- Mitch Kevin Murphy wrote: Shouldn't that be this instead:

[Fwd: Re: [PHP] Re: How could I make the browser to send a command to a cash register...]

2006-09-11 Thread Mitch Miller
to the port that causes the drawer to open. -- Mitch Original Message Subject: Re: [PHP] Re: How could I make the browser to send a command to a cash register... Date: Mon, 11 Sep 2006 10:42:37 -0500 From: Mitch Miller [EMAIL PROTECTED] To: Man-wai Chang [EMAIL PROTECTED] References

Re: [PHP] Run script every 30 seconds

2006-10-30 Thread Mitch Miller
Or, you could run two scripts every minute ... one that starts immediately, and one that sleeps for 30s before starting. -- Mitch Dave Hamber wrote: You could run the script as a daemon. man daemon. The sloppy way of running the script every 30 seconds would be to use sleep(30), but that