Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE PHP LOOPs not working
2014-07-04, 13:54 (This post was last modified: 2014-07-04 14:07 by jhonny.)
Post: #3
RE: iPXE PHP LOOPs not working
Actually,
the value for JOB is returned based on the server's serial number which is the (serversn) variable.

that's why in the select statement i have:

Code:
WHERE sn='$serversn'

because in my database i have the following structure:

Code:
sn        | model           | job
=================================
VMware-56 | VMware Virtu... | 00

Basically what i want to achieve with the script is ....

While job = 00 then keep looping and checking the database for value of JOB
If job = 01 then run a script or command
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
iPXE PHP LOOPs not working - jhonny - 2014-07-04, 13:30
RE: iPXE PHP LOOPs not working - jhonny - 2014-07-04 13:54



User(s) browsing this thread: 2 Guest(s)