by the way not just to run the screen and display the value..
actually i dont need to get the value of date but i do need to execute the php on the shell and the script im doing has a connection to the database and getting some info from the query.
but based on the script i've made i do just include the connection as include "connect.php";
and i query like this
$sqlQry = mysql_query("select * from tbl_Flt_Sked where flt_num='$var1'");
$numrows = mysql_num_rows($sqlQry);
if ($numrows >0){
while ($hrow = mysql_fetch_array($sqlQry)) {
$flt_num = $hrow["flt_num"];
echo $flt_num;
}
}
so can this possible? and what should i do? and how can i execuate it directly to the shell coz mi planning to put it on cron
thank you in advance