User Profile

Collapse

Profile Sidebar

Collapse
blade_in_exile
blade_in_exile
Last Activity: Aug 24 '06, 09:52 PM
Joined: Aug 4 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • blade_in_exile
    replied to How do I get the middle of a string?
    in PHP
    why would you need to pull the centre out of this line, if you set up your html/php code correctly it could be on its own therefore no need to pull it out of the $a
    See more | Go to post

    Leave a comment:


  • blade_in_exile
    replied to database info in forms
    in PHP
    thanks for replying so quickly

    so how do i get around this problem???

    do i stop the first echo statement before the line??
    See more | Go to post

    Leave a comment:


  • blade_in_exile
    replied to database info in forms
    in PHP
    i have tried putting it in where i think is the right place but i get a prse error
    Code:
    echo " <tr>
    <td align=\"center\">{$row['dr']}</td>
    <td align=\"center\">{$row['game']}</td>
    <td align=\"center\">{$row['time']}</td>
    <td align=\"center\">{$row['Channel']}</td>
    <td align=\"center\">{$row['home_score']}</td>
    ...
    See more | Go to post

    Leave a comment:


  • blade_in_exile
    started a topic database info in forms
    in PHP

    database info in forms

    HI all

    i am just wondering if this is at all possible

    i know you can get data from mysql database and display it in a table format

    what i would like to know is if it is possible to show the data in a text field so i could then change the data and submit it back to the database.

    thanks in advance
    See more | Go to post

  • blade_in_exile
    replied to copying columns???????
    is there anyway to do with without the WHEREE claus as its a new table i am copying into and have nothing to reference it against
    See more | Go to post

    Leave a comment:


  • blade_in_exile
    replied to how do i increment inside a loop?
    in PHP
    thank you iam_clint i had trouble putting it wher i wanted it at first then put it in the correct place in place of $row[$pos]

    thank you again
    See more | Go to post

    Leave a comment:


  • blade_in_exile
    replied to how do i increment inside a loop?
    in PHP
    ok maybe not clear in what i wanted

    i have this
    $pos=1
    where do i put the loop in this
    ($row = mysql_fetch_arr ay($result, MYSQL_ASSOC))
    See more | Go to post

    Leave a comment:


  • blade_in_exile
    started a topic how do i increment inside a loop?
    in PHP

    how do i increment inside a loop?

    initialize a var to 1 outside of your mysql_fetch_arr ay() loop. Then, within the mysql_fetch_arr ay() loop, use the var as necessary and increment it by 1
    See more | Go to post

  • why not add an IFELSE statement

    I.E
    IF{ the move is correct goto next page}
    ELSE {return to same page}

    look at the php manual for the correct wording of statement but i think this is the best way of doing this
    See more | Go to post

    Leave a comment:


  • blade_in_exile
    replied to Printing No Records Found
    try an IF ELSE query

    EXAMPLE

    IF (there are records) { DO SOMETHING
    } ELSE {
    DO SOMETHING ELSE
    }

    you can expand on this by using ELSEIF instead of the first ELSE statement as long as you finish the whole thing with an ELSE statement

    hope this helps
    See more | Go to post

    Leave a comment:


  • blade_in_exile
    started a topic copying columns???????

    copying columns???????

    is it possible to copy one coumn from within a database table to another table with in the same database, i am using sql 4.1
    See more | Go to post

  • blade_in_exile
    started a topic update columns

    update columns

    hi all

    my query is either going to be so simple i should of seen the answer myself or tax everyone trying to get the answer so here goes

    i have a database that holds records for football teams

    one table is set up so
    team_id
    team
    for
    against
    goal_diff
    points

    now what i would like to do is have the goal_diff column update automatically when the scores...
    See more | Go to post
No activity results to display
Show More
Working...