Results 1 to 2 of 2

Thread: AWS article - PHP is missing

  1. #1
    Junior Registered
    Join Date
    Mar 2004
    Posts
    1

    AWS article - PHP is missing

    in the AWS article, it says:

    PHP Code:
    $d_ar and $i_arnow we can loop through
    the arrays to display the data on our website:
    */

    for(
    $i=0$i
    if($d_ar[$i_ar['Details'][$i]]['t 
    -- the second and third arguments for the first for loop are missing! what is meant to go here?

  2. #2
    Registered GCT13's Avatar
    Join Date
    Aug 2003
    Location
    NYC
    Posts
    480
    Hi InfiniteFire,

    Here is the code for the for loops:
    PHP Code:
    for($i=0$i<count($i_ar['Details']); $i++) {
        if(
    $d_ar[$i_ar['Details'][$i]]['type']=='open') { 
            for(
    $j=$i_ar['Details'][$i]; $j<$i_ar['Details'][$i+1]; $j++) 
    It looks like a "<" character was not converted into html code, which was why it did not display properly. (If you view source you can see the code.)

    I'll alert the editor to get this fixed. Thanks for posting and sorry for any inconvenience,

    Dan
    ....

Similar Threads

  1. Review: Professional PHP Programming
    By Chris in forum Books
    Replies: 6
    Last Post: 07-17-2013, 05:26 AM
  2. Learning how to create PHP database driven sites online...
    By incka in forum Website Programming & Databases
    Replies: 15
    Last Post: 01-23-2004, 03:18 PM
  3. PHP, ODBC, and Unicode compatibilities...
    By Stevens in forum Website Programming & Databases
    Replies: 4
    Last Post: 10-14-2003, 09:27 AM
  4. missing article
    By toni in forum Site and Forum Feedback
    Replies: 2
    Last Post: 08-23-2003, 05:38 AM
  5. Php books ? im looking to learn
    By s2kinteg916 in forum Website Programming & Databases
    Replies: 3
    Last Post: 07-28-2003, 05:15 AM

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
  •