Click here to get back home

PHP output errors leading to cross-browser mistakes? Mac errors but PCs are fine.

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
PHP output errors leading to cross-browser mistakes? Mac errors but PCs are fine. lkrubner 01-28-2005
Get Chitika Premium
Posted by lkrubner on January 28, 2005, 1:31 pm
Please log in for more thread options

I'm facing a frustrating bug. My PHP code gets some info from a
database and puts it into a select. This works fine on PCs but not on
Macs. I'm thinking there is some coding error in the HTML that is
causing it render wrong on the Macs? On the Macs the text is often from
missing from the options elements, as you can see here:


<p>Which member:</p>
<select id="publicpenFormInput3" name="formInputs[cbUserName]">
<option value="x#x#x#blankx#x#x#">No choice made</option>
<option value="106"></option>
<option value="2129"></option>
</select>


Yet the same PHP code off the same server outputs HTML that show up
correctly on a PC and also on Linux boxes. Has anyone ran into this
problem before?



Posted by Matthias Gutfeldt on January 28, 2005, 11:07 pm
Please log in for more thread options
lkrubner@geocities.com schrieb:

> I'm facing a frustrating bug. My PHP code gets some info from a
> database and puts it into a select. This works fine on PCs but not on
> Macs. I'm thinking there is some coding error in the HTML that is
> causing it render wrong on the Macs? On the Macs the text is often from
> missing from the options elements, as you can see here:
>
> <p>Which member:</p>
> <select id="publicpenFormInput3" name="formInputs[cbUserName]">
> <option value="x#x#x#blankx#x#x#">No choice made</option>
> <option value="106"></option>
> <option value="2129"></option>
> </select>

There IS nothing to show in the last two OPTION elements, they're empty.
Which browsers are showing what, exactly?


Matthias
--
http://blog.ch/


Posted by lkrubner on January 30, 2005, 3:06 pm
Please log in for more thread options
Yes, I think maybe this was my fault. Even on the PC there are some
blanks:



Which member:</p>
<select id="publicpenFormInput3" name="formInputs[cbUserName]">
<option value="x#x#x#blankx#x#x#">No choice made</option>

<option value="6">Lawrence</option>
<option value="848">jane</option>
<option value="887"></option>
<option value="902"></option>
<option value="911">misty</option>
<option value="1555"></option>
<option value="1616"></option>

        </select>



</div>



Similar ThreadsPosted
Simple fix..validation errors at W3C... November 19, 2004, 5:14 am
page will not validate without errors January 5, 2005, 9:25 pm
Errors from title tage February 15, 2005, 4:16 am
Massive HTML coding errors April 13, 2006, 8:16 pm
Validation errors: Popup or errorline ? November 25, 2006, 7:19 pm
form post never submits - no errors of any kind September 28, 2004, 5:07 pm
Site Template - Any Internet Explorer XML Parser errors? April 20, 2007, 6:04 pm
Fixing case-sensitive file errors? Mac Dev to Unix host April 11, 2007, 4:24 pm
Site working fine in IE but not in Fire Fox November 8, 2007, 6:59 am
Simple page displays fine in Firefox, but not on IE March 14, 2006, 11:53 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap