Advanced Search

Results 1 to 3 of 3

Thread: Object not shown in IE 8 but in FF

  1. #1
    Join Date
    Aug 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Object not shown in IE 8 but in FF

    Hi pals ,
    I come with a strange case , in a case when I print_r one array I got in FireFox(FF) :

    Array ( [1] => __PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] => Subcategory [itemsubcategory94_id] => 14 [itemcategory925_id] => 13 [itemsubcategory94_name] => Floor pipe Flop [itemsubcategory94_discription] => asasA AS as as ASAsASASAsas anes hi [itemsubcategory94_status] => 1 [itemcategory925_name] => LDPE Pipes [itemsubcategory94_image] => SG34501114.jpg ) [2] => __PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] => Subcategory [itemsubcategory94_id] => 12 [itemcategory925_id] => 14 [itemsubcategory94_name] => LMT Garden Hose [itemsubcategory94_discription] => It's a good quality one product. [itemsubcategory94_status] => 0 [itemcategory925_name] => Garden Hose [itemsubcategory94_image] => SG.jpg ) )
    But in IE 8 i don't get any output, How it can resolve . Reply me ASAP

    Thanks
    Anes

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    27,551
    Thanks
    42
    Thanked 2,879 Times in 2,851 Posts
    Blog Entries
    12

    Default

    PHP is the same in all browsers.

    1. That object will not show anything in any browser without some later code that uses it to echo or print something to the page. It's often the validity or lack thereof of that presentation that's at issue in any browser differences.

    2. Alternatively, if that object is getting some of its information from an earlier page that posts or gets via user input to the page it's on, the code for that might not be working properly in some browsers.


    It could be either or both. In most cases it's the first one.

    What does this code do when it works?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    11,792
    Thanks
    227
    Thanked 657 Times in 645 Posts

    Default

    PHP operates only on the server. The same code is sent to all browsers (HTML, CSS, JS), generated by the PHP. PHP absolutely cannot, as John said, be different in different browsers.
    But of course the content that PHP generates can display differently in different browsers. Or it could even get different input from different browsers.
    Daniel - Freelance Web Design | <?php?> | <html>| Deutsch | italiano | español | português | català | un peu de français | Ninasoma Kiswahili | 日本語の学生でした。| درست العربية

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •