Parse error: parse error in C:\wamp\www\logs\pages\members.php on line 16


Posted on 16th Feb 2014 07:03 pm by admin

I dont see the problem with this, I always get Parse error: parse error in C:wampwwwlogspagesmembers.php on line 16
, what did I do wrong??
<?php
$sql = "SELECT * FROM members ORDER BY id DESC LIMIT 0, 30";
Did you know?Explore Trending and Topic pages for more stories like this.
$query = mysq_query($sql);

while($row=mysql_fetch_assoc($query)) {
$member_id = row['id']; // Parse error: parse error in C:wampwwwlogspagesmembers.php on line 16
$member_firstname = row['firstname'];
$member_lastname = row['lastname'];
$member_position = row['position'];

echo ' <div class="row">
<div class="cell"><span class="link"><a href="' . echo HOME_URL . "?p=profile&u=" . $member_id; . '"><img src="' . echo HOME_URL . "pages/img/icons/info_white_16x16.png"; . '" alt="' . $member_username . ' Info" title="View ' . $member_username . ' info" /></a></span> ' . $member_firstname . '</div>
<div class="cell">' . $member_lastname . '</div>
<div class="cell">' . $member_position . '</div>
<div class="cell"><div class="member-num">#' . $member_id . '</div></div>
</div>';
}
?>
No comments posted yet

Your Answer:

Login to answer
263 Like 24 Dislike
Previous forums Next forums
Other forums

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

Need understanding of this bit of code
Code: <?php
// WHERE clause filters
$arrSQLFilters = array();

//

Display the user's weight lost in the past week
Hello everyone,

I am working on a weight loss app for my site, and I want to display the user

Display Database
I need to create a shopping cart. I found this code online: http://conceptlogic.com/jcart/
Unfort

Not Loading Function Into Div
I'm not sure whether to put this under the php forum or ajax forum but because I tink it's more of a

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

Php - mysql select?
hi, i have this code:

Code: <?php
session_start();
// dBase file
include &quo

An odd assignment statement. Can someone explain this assignment to me?
What purpose is served by the bit of code between the two equal signs in the $installurl set? Is th

Reading waves
Hi,

I am trying to find a way of finding the highs and lows on a graph line, the line points

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash