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_html/profiles/$screen_name$ext",
"w");
      fwrite($fp, "<?php
                     $result = mysql_query("SELECT * from winLoss WHERE
login='$login'    AND pass='$pass'");
                   ?>

                   <html>
                   <head>
                   <title>$screen_name</title>
                   </head>").........

Ive ommited the redundant things. Basicly it just creates this: SELECT *
from winLoss WHERE login='' I need that value in there. Any ideas?

Thank you (sorry about the repost)
Dusten




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to