Current location: Hot Scripts Forums » Programming Languages » PHP » parse error


parse error

Reply
  #1 (permalink)  
Old 03-14-04, 02:13 PM
Abdul Abdul is offline
Newbie Coder
 
Join Date: Mar 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
parse error

Hi i m having a parser error in my php script anyone can tell me whats wrong with my script or giving me any hints about this error
Reply With Quote
  #2 (permalink)  
Old 03-14-04, 02:22 PM
Keith's Avatar
Keith Keith is offline
Community Liaison
 
Join Date: Feb 2004
Posts: 1,232
Thanks: 1
Thanked 11 Times in 11 Posts
Post the code.
Reply With Quote
  #3 (permalink)  
Old 03-15-04, 05:49 AM
Abdul Abdul is offline
Newbie Coder
 
Join Date: Mar 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Unable to jump to row 1

$sql = "SELECT tuition_fees, u.uni_code, u.uni_name, c.course_code, c.course_name

FROM Course_Title t , university u , Course c
WHERE t.course_id ='123'
AND t.course_code = c.course_code
AND t.uni_code = u.uni_code";

$result = mysql_query($sql);
$tuition = mysql_result( $result, 0, 0 );
$uniCode = mysql_result( $result, 0, 1 );
$uniName = mysql_result( $result, 0, 2 );
$courseCode = mysql_result( $result, 0, 3 );
$courseName = mysql_result( $result, 0, 4 );

Can anyone help please i am having an error which said, unable to jump to row 1 i need help please
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Templates - Parse Error simone PHP 8 02-15-04 10:47 PM
New to Java: weird main error msg hecresper Everything Java 2 02-10-04 03:03 PM
asp-iis-Server error nsuresh_rasr ASP.NET 3 02-08-04 12:47 AM
parse error... help? kappler0 PHP 2 01-21-04 03:57 AM
[php error] parse error | fatal error xeoHosting PHP 1 01-03-04 08:12 PM


All times are GMT -5. The time now is 10:19 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.