"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
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: I
"Dusten" <[EMAIL PROTECTED]> wrote:
> fwrite($fp, " $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=''
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.
fwrite($
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 ("/home2/colorado/public
5 matches
Mail list logo