Re: [PHP] Odd question regarding creating a php file

2001-02-07 Thread Dusten
In reply to Chris. The reason I'm having this page created is because people will need to be able to see this person's "win/loss" record. I have a script that displays all of the ppl registered and when you view their page, you can get a real time report on their ratings. As another alternative:

Re: [PHP] Odd question regarding creating a php file

2001-02-07 Thread Steve Werby
"Dusten" [EMAIL PROTECTED] wrote: In reply to Chris. The reason I'm having this page created is because people will need to be able to see this person's "win/loss" record. I have a script that displays all of the ppl registered and when you view their page, you can get a real time report on

[PHP] Odd question regarding creating a php file

2001-02-06 Thread Dusten
I'm having trouble creating a php file. I've tried to explain it to the peeps in IRC but am having trouble. It'll be easier to paste my code: ... $result2 = mysql_query("INSERT INTO winLoss(login, pass) VALUES('$login', '$pass')"); if($result2) { $fp = fopen

Re: [PHP] Odd question regarding creating a php file

2001-02-06 Thread Chris Lee
there are a few errors in here. number one being this. echo "... mysql_query("SELECT ..."; do you see it? youve got the " in the middle there, that is ending your " " section, not what you wanted right. second too is the fact anything in " " will be evaluated, anything in ' ' will not.

Re: [PHP] Odd question regarding creating a php file

2001-02-06 Thread Steve Werby
"Dusten" [EMAIL PROTECTED] wrote: fwrite($fp, "?php $result = mysql_query("SELECT * from winLoss WHERE login='$login'AND pass='$pass'"); ? Ive ommited the redundant things. Basicly it just creates this: SELECT * from winLoss WHERE login='' I