Click here to Skip to main content
15,884,176 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionPHP applications on windows and linux Pin
Andrewnick202-Mar-11 20:49
Andrewnick202-Mar-11 20:49 
AnswerRe: PHP applications on windows and linux Pin
effayqueue19-Mar-11 2:42
effayqueue19-Mar-11 2:42 
GeneralRe: PHP applications on windows and linux Pin
nickmaroulis21-Mar-11 14:26
nickmaroulis21-Mar-11 14:26 
QuestionPassing variables to form in iframe Pin
Kyro Zetera2-Mar-11 5:57
Kyro Zetera2-Mar-11 5:57 
AnswerRe: Passing variables to form in iframe Pin
Kyro Zetera2-Mar-11 6:09
Kyro Zetera2-Mar-11 6:09 
GeneralRe: Passing variables to form in iframe Pin
nickmaroulis21-Mar-11 14:08
nickmaroulis21-Mar-11 14:08 
Questionhow to use temporary values Pin
kennyhibs27-Feb-11 15:06
kennyhibs27-Feb-11 15:06 
AnswerRe: how to use temporary values Pin
Tony Richards27-Feb-11 23:55
Tony Richards27-Feb-11 23:55 
Okay, how are you storing the data in the table (which I'll call Results). I'm imagining something like this after the first result:

RowId  Team1Id  Team2Id Team1Score Team2Score
  0       1        2        1          0


It sounds like you are doing an INSERT when you submit the data, which will give you:

RowId  Team1Id  Team2Id Team1Score Team2Score
  0       1        2        1          0
  1       1        2        3          0


When you want to update the score, use an UPDATE command instead of a INSERT command. You'll need the row's Primary Key (RowId in my example), and you'll end up with this:

RowId  Team1Id  Team2Id Team1Score Team2Score
  0       1        2        3          0


As you want.
QuestionAccessing local machine from web page Pin
pstsp91127-Feb-11 3:56
pstsp91127-Feb-11 3:56 
AnswerRe: Accessing local machine from web page Repost Pin
Richard MacCutchan27-Feb-11 6:26
mveRichard MacCutchan27-Feb-11 6:26 
AnswerRe: Accessing local machine from web page Pin
nickmaroulis21-Mar-11 14:34
nickmaroulis21-Mar-11 14:34 
QuestionHelp me please...!!!........ Pin
Hapyak25-Feb-11 23:07
sussHapyak25-Feb-11 23:07 
AnswerRe: Help me please...!!!........ Pin
jschell26-Feb-11 14:12
jschell26-Feb-11 14:12 
QuestionPHP Proksy ! Pin
I Believe In GOD25-Feb-11 8:48
I Believe In GOD25-Feb-11 8:48 
AnswerRe: PHP Proksy ! Pin
Elham M26-Feb-11 21:18
Elham M26-Feb-11 21:18 
AnswerNice Day! Pin
vonguyenthanhlong31-Mar-11 16:40
vonguyenthanhlong31-Mar-11 16:40 
GeneralRe: Nice Day! Pin
I Believe In GOD1-Apr-11 12:30
I Believe In GOD1-Apr-11 12:30 
QuestionToolbar image Pin
Elham M25-Feb-11 3:40
Elham M25-Feb-11 3:40 
AnswerRe: Toolbar image Pin
Luc Pattyn25-Feb-11 4:18
sitebuilderLuc Pattyn25-Feb-11 4:18 
GeneralRe: Toolbar image Pin
Elham M26-Feb-11 21:38
Elham M26-Feb-11 21:38 
AnswerRe: Toolbar image Pin
Luc Pattyn26-Feb-11 23:20
sitebuilderLuc Pattyn26-Feb-11 23:20 
GeneralRe: Toolbar image Pin
dpuskaa1-Mar-11 9:04
dpuskaa1-Mar-11 9:04 
AnswerRe: Toolbar image Pin
Luc Pattyn1-Mar-11 9:15
sitebuilderLuc Pattyn1-Mar-11 9:15 
GeneralRe: Toolbar image Pin
dpuskaa2-Mar-11 8:45
dpuskaa2-Mar-11 8:45 
GeneralRe: Toolbar image Pin
Elham M3-Mar-11 4:10
Elham M3-Mar-11 4:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.