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:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old May 14th, 2003, 08:42 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 233 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 50 m 19 sec
Reputation Power: 6
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
New problem on redone script

I re-did my login script and my menu script.

Now I run into an error on my class.check.php.

I believe it has to do with
PHP Code:
 session_is_registered('sunkeyusename'

and more precisly that I am some how not calling the correct name for my variable when running the query to the database

Here is the error
Quote:
Parse error: parse error, unexpected T_STRING in /home/virtual/site4/fst/var/www/html/test/suanhacky/class.check2.php on line 12

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site4/fst/var/www/html/test/suanhacky/menu2.php on line 3


As always i have attached the 3 files in question.

PLEASE HELP!!!!
Attached Files
File Type: zip menu2script.zip (1.9 KB, 235 views)
__________________
CHornJr
"One day I'll know what I am doing"
My Blog
Suanhacky Lodge #49
Rebel Squadrons

Reply With Quote
  #2  
Old May 15th, 2003, 02:01 AM
avit avit is offline
Not Yet Perfect
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: Squamish, BC
Posts: 111 avit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to avit
Look here:
Code:
$result=mysql_query("SELECT * FROM userinfo WHERE username='$un'")or die('Couldn't find information 'mysql_error());

// Should be:

$result=mysql_query("SELECT * FROM userinfo WHERE username='$un'")or die('Couldn\'t find information ' . mysql_error());


Start with that...

Reply With Quote
  #3  
Old May 15th, 2003, 03:16 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 233 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 50 m 19 sec
Reputation Power: 6
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
thanks for pointin that out to me but that hasn't fixed the errors I am getting

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > New problem on redone script


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 5 hosted by Hostway