User Profile

Collapse

Profile Sidebar

Collapse
dislins
dislins
Last Activity: Mar 5 '11, 08:56 AM
Joined: Feb 11 '08
Location: Bordeaux, France
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dislins
    replied to php / mysql / array
    in PHP
    Hi All,

    ($i = 0; $i < $tableno; $i++)

    just trying to understand this code... is $i just a counter?

    John
    See more | Go to post

    Leave a comment:


  • dislins
    replied to php / mysql / array
    in PHP
    Thanks dlite922 much appreciated and this was (believe it or not) self inflicted homework as I felt it was high time I got to grips with some development work.

    page 2 now give me this error; Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in C:\pathname\cre atetable.php on line 16

    line 16 is;
    echo "<td height="26">Tab le ", $i, "><input type='text' name='tableName[]'...
    See more | Go to post

    Leave a comment:


  • dislins
    started a topic php / mysql / array
    in PHP

    php / mysql / array

    My intention;

    create 3 pages of code;

    Page 1: two questions are asked
    a. What is the database name ($dbname)
    b. How many tables to create ($tableno)

    and passed onto P2 using $_GET

    Page 2: creates (using a while loop) the chosen number of txt boxes (given by $tableno) and creates a unique label for each table needed.

    passes onto P3
    ...
    See more | Go to post
No activity results to display
Show More
Working...