Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-09-2012, 01:19 PM   #1
LQ Newbie
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
function slideSwitchtop() { var $active = $('#slideshowtop'); if

This is the error message:
Parse error: syntax error, unexpected ';'..thanks.

// Display Code in Profile
$query = "SELECT * FROM user WHERE user_id='$user'";
$result = mysql_query($query);

while($row = mysql_fetch_assoc($result))

echo "UserID : {$row['user_id']} <br>" .
"Password : {$row['password']} <br>" .
"First Name : {$row['fname']} <br>" .
"Last Name : {$row['lname']} <br>" .
"Age: {$row['age']} <br>" .
"Gender : {$row['gender']} <br>" .
"Course: {$row['course']} <br>" .
"Year Level: {$row['ylevel']} <br>" .
"Email Add : {$row['email']} <br>" .
"Contacts : {$row['contact']}; <br>" .

Old 08-19-2012, 10:42 PM   #2
Registered: Aug 2012
Location: /home/byannoni
Distribution: Arch
Posts: 128

Rep: Reputation: 36
This might not solve the problem, but:
"Contacts : {$row['contact']}; <br>" . // There should probably be a ';' instead of a '.' here


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 'Kubuntu Active' Daily Builds For Tablets Now Available, Based On Plasma Active And 12.04 LTS LXer Syndicated Linux News 0 03-17-2012 03:40 AM
LXer: Setting Up An Active/Active Samba CTDB Cluster Using GFS & DRBD (CentOS 5.5) LXer Syndicated Linux News 0 12-03-2010 11:00 AM
Building a clustered SAN array with active/active HA berhart Linux - Enterprise 0 08-19-2010 01:23 AM
Do you need STP enabled to run active active bonding one CentOS4? ch19251 Linux - Networking 1 06-17-2009 10:30 AM
active active servers to same memory space c@ml Linux - Server 2 10-31-2008 09:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration