Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 12th, 2006, 04:28 PM
Authorized User
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page won't load data in IE

I have designed a php web page that loads products from a database. I have been doing all my testing in fire fox. Now that I am near completion I thought I would give it a try in IE. I found that nothing is loading. I can see the page fine but, none of the products will display and a few of the links that are generated from the database are positioned all wrong. If anyone has any idea where I can start looking for a fix I'm open for sugesstions.

Here is a link to the site: www.researchevolution.com

Everything works in Fire Fox. (still a work in progress)

Thanks in advance

 
Old June 14th, 2006, 12:27 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hi,
i can see your products,
can u post specify link,

surendran
(Anything is Possible)
 
Old June 15th, 2006, 02:41 PM
Authorized User
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am unable to see product in the sub category sections, and having problems with the payment systems. If anyone could place some test orders -- fill in the comments box to let me know its a test --
for card numbers and such fill in with false numbers. Everything works fine in fire fox. Just lots of stuff is not working in IE

thanks again

 
Old June 15th, 2006, 07:41 PM
Authorized User
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Everything seems to be fixed now......except.....on the customerInfo.php when I try to submit I get the error message "Query was empty". This is not a problem in Fire Fox. I'm not sure why I am unable to pass the form data into the sql statment when using IE. Any help would be appreciated

 
Old June 19th, 2006, 11:32 AM
Authorized User
 
Join Date: May 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to guillermo
Default

Quote:
quote:Originally posted by rinventive
 Everything seems to be fixed now......except.....on the customerInfo.php when I try to submit I get the error message "Query was empty". This is not a problem in Fire Fox. I'm not sure why I am unable to pass the form data into the sql statment when using IE. Any help would be appreciated

Sounds like your problems are HTML/CSS/JavaScript related. I took a look at your source code and, at a glance, saw that you're validating your forms with JavaScript (which is a bad idea if you don't have php validation in there as well). Make sure your JavaScript is corss-browser compliant.

 
Old June 23rd, 2006, 07:55 PM
Authorized User
 
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have validated most of the pages and they are now working in IE....except one.

My CustomerInfo.php page is not working.

The customer enters their information and submits the form. I get an error "Query was empty", now this page works in every other browser I have tried it in.

What would prevent the form variables from being passed to a query in IE

I also have php validation, but I will be increasing the amount of validation after I can get it to submit values in IE.

Thanks again

 
Old June 23rd, 2006, 08:06 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Sometimes different browsers use different parts of the form controls. Ensure that for each control, you have set a name and an id. Set them to the same thing, and that should cover you.

eg. <INPUT NAME='firstName' ID='firstName' VALUE='Jack Jack'>

HTH

Mike

Mike
EchoVue.com
 
Old June 23rd, 2006, 10:00 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Actually, all browsers only submit the "name" attribute, the id is not used in POST data, which is what is stated in the HTML spec.

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old June 23rd, 2006, 10:03 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

It's difficult to say without seeing the source, can you post the source to the form?

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html





Similar Threads
Thread Thread Starter Forum Replies Last Post
... how to load a page without a trace ??? dk6607 ASP.NET 1.0 and 1.1 Professional 4 September 4th, 2007 09:10 AM
page could not be load on browser vivek123 ASP.NET 1.0 and 1.1 Professional 2 August 28th, 2006 05:01 AM
How can load JSP page? ms_shilpa BOOK: Professional Jakarta Struts 1 July 20th, 2006 10:55 AM
trying to load db data into data grid itsajourney Beginning VB 6 2 June 7th, 2005 12:05 PM
Page Load event qadeer05 ASP.NET 1.0 and 1.1 Basics 5 July 19th, 2004 08:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.