View Single Post
Old 07-19-2002, 04:31 PM   #7 (permalink)
Geetazz
Registered User
 
Join Date: Jun 2002
Posts: 12
Geetazz is on a distinguished road
Send a message via AIM to Geetazz
One little problem with the script

I only had a chance to try the myaccount script because I could not get it to work. This is what I have and the error says phase error on line 22. Which is where I have query. Did I put the stuff that redhead said to put at the end in the wrong place?

PHP Code:
$query "SELECT username, kennel, dspoints, job, email FROM member/"
$rows=mysql_fetch_array($result)
$rows[usernamekenneldspointsjobemail]
echo 

$result = mysql_query($query) ;
Your Username is $username<br>*Your kennel name is $kennel <br>
You have $dspoints<br>Your job is $job <br>*Your email is $email <p><p>"
Here you can change the information that has star<p
<
form action="checkall.php method= 'past'> 
Kennel Name <input type='text' name='kennel' 
size='25' maxlength='25' value='$kennel'> 
<p>Email<input type= 'text' name='email' 
size='25'=maxlength='25' value='$kennel'> <p>Email<input type='text' name='email' size='25' maxlength='25' value='$email'> { if (!ereg("
^.+@...+$",$email)); 
or die ("
couldnt execute query."); 
echo "
member info has been updated<br>"; 

?> 
I hope I post this question right.

Last edited by Geetazz; 07-19-2002 at 04:38 PM.
Geetazz is offline   Reply With Quote