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

Linux, Apache, MySQL, PHP

 
AnswerRe: How to get PHP to rename files Pin
nickmaroulis21-Mar-11 14:14
nickmaroulis21-Mar-11 14:14 
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 
Hi i have a mysql database which i use to update a soccer league table when i enter in results from a form, works fine, however i would like to be able to enter latest scores and update table based on latest scores entered but i cant work out how to do this as at the moment when i enter an update in the score for a match it will treat it as a new match and allocate points etc all over again

Example

teama 1 teamb 0 would give the following teama goals for 1, teamb goals for 0, goaldifference = teama goals for - teamb goals for which in thiscase would be 1

if it changed to

teama 3 teamb 0 would give the following teama goals for 3, teamb goals for 0, goaldifference = teama goals for - teamb goals for which in thiscase would be 3 but it adds the 3 from this update to the 1 from previous update giving 4.

so i need a way to stop it treating each update as a new result and only update with new data - the previous data so in my example

3 goals - 1 goal from first update = 2 goals , i have other fields like points that need to be treated same way.

hope someone can helpout with this and point me in right direction

kenny
AnswerRe: how to use temporary values Pin
Tony Richards27-Feb-11 23:55
Tony Richards27-Feb-11 23:55 
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 

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.