On 03/08/2015 07:00 PM, Karl DeSaulniers wrote:
Sorry, missed a parenthesis.
if($row7[0] === 1)
{
echo('<script type="text/javascript">window.location = "HandleWeight.php";</script>');
}
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com <http://designdrumm.com/>
Begin forwarded message:
*From: *Karl DeSaulniers <karl@xxxxxxxxxxxxxxx <mailto:karl@xxxxxxxxxxxxxxx>>
*Subject: **Re: Waiting for localhost*
*Date: *March 8, 2015 5:58:29 PM CDT
*To: *erosenberg@xxxxxxxxxxxxxxxxxxxx <mailto:erosenberg@xxxxxxxxxxxxxxxxxxxx>
Try...
if($row7[0] === 1)
{
echo('<script type="text/javascript">window.location = "HandleWeight.php";</script>';
}
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
Karl -
Thanks.
The === avoids the infinite loop, but the call to the script is never executed.
TIA
Ethan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php