Re: Fwd: [PHP-DB] Waiting for localhost
[email protected] (Ethan Rosenberg) Sun, 08 Mar 2015 20:13:12 -0400
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected] <mailto:[email protected]>>
>> *Subject: **Re: [PHP-DB] Waiting for localhost*
>> *Date: *March 8, 2015 5:58:29 PM CDT
>> *To: *[email protected] <mailto:[email protected]>
>>
>> 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