User Profile
Collapse
-
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 -
thanks for replying so quickly
so how do i get around this problem???
do i stop the first echo statement before the line??Leave a comment:
-
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>
Leave a comment:
-
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 -
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 againstLeave a comment:
-
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 againLeave a comment:
-
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))Leave a comment:
-
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 -
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 thisLeave a comment:
-
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 helpsLeave a comment:
-
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 -
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...
No activity results to display
Show More
Leave a comment: