FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Re: Php Include bug in firefox
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Php Include bug in firefox [message #169603 is a reply to message #169596] Sat, 18 September 2010 20:20 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On 18/09/10 20:57, GarryJones wrote:
> On Sep 18, 6:21 pm, spamb...@milmac.com (Doug Miller) wrote:
>> In article <5798dd2d-90b5-46f9-8dc8-16ab2bc19...@j5g2000vbg.googlegroups.com>, GarryJones <mor...@algonet.se> wrote:
>> [...]
>>
>>> This works on msie. This does not work on firefox!!
>>
>> Therefore it is not a PHP problem. PHP runs on the server, not on the client,
>> and is not affected by the browser running on the client.
>>
>> You may have a problem with your PHP *script* generating invalid HTML (try
>> validating at validator.w3.org), or with your Javascript -- but this is
>> definitely not a PHP problem.
>
> Yep, I just learnt something new.
>
> The include is a form. This works in msie, not in firefox.
>
> <FORM whatever etc >
> <td>
> <input type="Submit" value = "Boka NU">
> </td>
> </FORM>
>
> This works in both
>
> <td>
> <FORM whatever etc>
> <input type="Submit" value = "Boka NU">
> </FORM>
> </td>
>
> Ie Firefox has a bug that requires the form to be inside a td if its
> already in a tr. So it was not php after all.

Indeed, html requires the following in respect of forms and tables:

Either the whole table must be enclosed in a single form, or a form must
be enclosed within a single td.

So msie is interpreting broken html the way you want it interpreted, and
ff is not interpreting broken html the way you want it interpreted.

Maybe if the html wasn't broken, ff would handle it correctly, like you
just said it does.

Did you also try it in any of: chrome / safari / opera / safari /
konqueror / seamonkey / epiphany .....

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Accessing different resultsets that were created by a mysql stored procedure
Next Topic: Not bale to connect to MySQL with PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 20:38:12 GMT 2024

Total time taken to generate the page: 0.12230 seconds