General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old January 14th, 2003, 09:37 PM
PhreakShow64 PhreakShow64 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 13 PhreakShow64 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to PhreakShow64
Question Parse Error that makes no sense!

It says I have a parse error on line 85 so here is the code...
PHP Code:
<?
session_start
();
?>
<html>
<head>
<title>Galaxus.:.Play Your Way</title>
<style type="text/css">
table.wel
{
position: absolute;
top: 10px;
left: 10px
}
table.we
{
position: absolute;
top: 25px;
left: 10px
}
</style>
<style type="text/css">P,body,TD 
A:link {
color:blue;}
A:hover {
color:blue; background:black;}
A:visited {color:blue;}
</style>
<style>
.tditem {
color: white;
}
</style>
</head>
<body bgcolor="white">
<?php require_once("check.php"); ?>
<?php
$_GET
['id'];

$sql3 "SELECT * FROM users WHERE userid = '$id'";
$result mysql_query($sql3);
$result1 mysql_num_rows($result);
if (
$result1 0) {
Print 
"User not found!";
} else {
$profile mysql_fetch_array($result);
?>
<br><br><br>
<center>
<table width="70%" bgcolor="black" border="0">
<tr>
<td>
<center><font color="white">
<?php Print $username "'s Profile'"?>
</font></center></td>
</tr>
<tr>
<td bgcolor="white"><font color="blue">
Username: <?php Print "$username"?><br>
<?php
Print "Name: {$profile['first_name']}";
if (
$profile['disp1'] == 0) {
Print 
"Email: {$profile['email']} <br>";
}
if (
$profile['disp2'] == 0) {
Print 
"Galas: {$profile['galas']}";
Print 
"Parent: {$profile['parent']} <br>";
Print 
"IQ: {$profile['iq']} <br>";
Print 
"Gender: {$profile['gender']} <br>";
if (
$profile['gender'] == male) {
Print 
"<br>He Says: {$profile['profile']}";
} elseif (
$profile['gender'] == female) {
Print 
"<br>She Says: {$profile['profile']}";
}
}
?>
</font>
</center>
</td>
</tr>
</table>

<?php require_once("galaxus.php");
?>
</body>
</html> //line 85


As you can see, line 85 is just the closing html tag which there is nothing wrong with and I cant find an error with anything else!

Edit: Think I may have found it... i'll be back if it doesnt work

Last edited by PhreakShow64 : January 14th, 2003 at 09:48 PM.

Reply With Quote
  #2  
Old January 14th, 2003, 09:47 PM
PhreakShow64 PhreakShow64 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 13 PhreakShow64 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to PhreakShow64
I fixed the problem so thanx anyway

Reply With Quote
  #3  
Old January 14th, 2003, 10:26 PM
ZaireWeb ZaireWeb is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Hamburg, NY
Posts: 37 ZaireWeb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to ZaireWeb Send a message via AIM to ZaireWeb
Parse error in your signature also

Undefined constant semi-pathetic assumed semi-pathetic on line 1
__________________
Eric Coleman - Co-Owner ZaireWeb Solutions
eric.coleman@zaireweb.com
http://sitemod.net - sitemodCMS Coming Soon!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Parse Error that makes no sense!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway