473,396 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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


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?

Jul 23 '05 #1
2 1250
lk******@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/
Jul 23 '05 #2
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>

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: MarionEll | last post by:
XML 2003 Exposition Draws Leading XML Vendors Trade Show, Presentations Allow Companies to Showcase Cutting-edge Solutions Alexandria, Va. - Dec. 1, 2003 - XML 2003, the world's largest XML...
0
by: MarionEll | last post by:
Leading XML Vendors to Showcase Technologies, Solutions at XML Europe 2004 Pre-registration deadline 9 April http://www.xmleurope.com Alexandria, Va. - XML Europe 2004, the premier...
0
by: MarionEll | last post by:
Leading Netherlands Firms, Industry Experts in Spotlight at XML Europe 2004 Alexandria, Va. - April 13, 2004 - XML Europe 2004, the premier European forum for the XML community, will feature...
2
by: Jason | last post by:
Hello, I have a class, transCore, that does certain work, and by default, prints its progress to the stand output. Later, I will to write a GUI class that encapsulate the transCore class. I...
3
by: Dan | last post by:
Question on how to do this. I'm trying to make a script that has 3 text fields in a form. When a start time is entered in a text field in the form the other 2 fields display the time with a set...
15
by: NO_Code | last post by:
Hi, I am trying a very simple program on a linux machine. Code given below int main{ char a,b; printf("Enter a "); scanf("%c",&a); printf("Enter b "); scanf("%c",&b);
4
by: __Stephen | last post by:
Sorry about the cross-post. "Life would be so much easier it we didn't have end users" :) I have an ASP.NET app that delivers a cross tab report to our Accounting Department. CFO just demanded...
6
by: ken | last post by:
is there a way to make a php page only output content that is generated from php statements, such as print, or echo? ie: if I have whitespace (or other text) outside my <?php .... ?block i do not...
11
by: aljaber | last post by:
hi, i am facing a problem with my program output here is the program /*********************************************\ * CD Database * * ...
6
by: JimmyKoolPantz | last post by:
Task: Customer wants a script of the data that was processed in a "CSV" file. Problem: Zip-Code leading zeros are dropped Basically we have a client that has requested a custom script for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.