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

Linux, Apache, MySQL, PHP

 
AnswerRe: How to get PHP to rename files Pin
nickmaroulis21-Mar-11 15:14
Membernickmaroulis21-Mar-11 15:14 
QuestionPHP applications on windows and linux Pin
Andrewnick202-Mar-11 21:49
MemberAndrewnick202-Mar-11 21:49 
AnswerRe: PHP applications on windows and linux Pin
effayqueue19-Mar-11 3:42
Membereffayqueue19-Mar-11 3:42 
GeneralRe: PHP applications on windows and linux Pin
nickmaroulis21-Mar-11 15:26
Membernickmaroulis21-Mar-11 15:26 
QuestionPassing variables to form in iframe Pin
Kyro Zetera2-Mar-11 6:57
MemberKyro Zetera2-Mar-11 6:57 
AnswerRe: Passing variables to form in iframe Pin
Kyro Zetera2-Mar-11 7:09
MemberKyro Zetera2-Mar-11 7:09 
GeneralRe: Passing variables to form in iframe Pin
nickmaroulis21-Mar-11 15:08
Membernickmaroulis21-Mar-11 15:08 
Questionhow to use temporary values Pin
kennyhibs27-Feb-11 16:06
Memberkennyhibs27-Feb-11 16: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 Richards28-Feb-11 0:55
MemberTony Richards28-Feb-11 0:55 
QuestionAccessing local machine from web page Pin
pstsp91127-Feb-11 4:56
Memberpstsp91127-Feb-11 4:56 
AnswerRe: Accessing local machine from web page Repost Pin
Richard MacCutchan27-Feb-11 7:26
mveRichard MacCutchan27-Feb-11 7:26 
AnswerRe: Accessing local machine from web page Pin
nickmaroulis21-Mar-11 15:34
Membernickmaroulis21-Mar-11 15:34 
QuestionHelp me please...!!!........ Pin
Hapyak26-Feb-11 0:07
sussHapyak26-Feb-11 0:07 
AnswerRe: Help me please...!!!........ Pin
jschell26-Feb-11 15:12
Memberjschell26-Feb-11 15:12 
QuestionPHP Proksy ! Pin
I Believe In GOD25-Feb-11 9:48
MemberI Believe In GOD25-Feb-11 9:48 
AnswerRe: PHP Proksy ! Pin
Elham M26-Feb-11 22:18
MemberElham M26-Feb-11 22:18 
AnswerNice Day! Pin
vonguyenthanhlong31-Mar-11 17:40
Membervonguyenthanhlong31-Mar-11 17:40 
GeneralRe: Nice Day! Pin
I Believe In GOD1-Apr-11 13:30
MemberI Believe In GOD1-Apr-11 13:30 
QuestionToolbar image Pin
Elham M25-Feb-11 4:40
MemberElham M25-Feb-11 4:40 
AnswerRe: Toolbar image Pin
Luc Pattyn25-Feb-11 5:18
sitebuilderLuc Pattyn25-Feb-11 5:18 
GeneralRe: Toolbar image Pin
Elham M26-Feb-11 22:38
MemberElham M26-Feb-11 22:38 
AnswerRe: Toolbar image Pin
Luc Pattyn27-Feb-11 0:20
sitebuilderLuc Pattyn27-Feb-11 0:20 
GeneralRe: Toolbar image Pin
dpuskaa1-Mar-11 10:04
Memberdpuskaa1-Mar-11 10:04 
AnswerRe: Toolbar image Pin
Luc Pattyn1-Mar-11 10:15
sitebuilderLuc Pattyn1-Mar-11 10:15 
GeneralRe: Toolbar image Pin
dpuskaa2-Mar-11 9:45
Memberdpuskaa2-Mar-11 9: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.