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
24
Other forums
tag inside php... hi
Code: <?php echo "<td width="$columnWidth%" align=&I have a parse error in this query help.. Code: $query1="INSERT INTO `rating` (`item_name`, `rating`, `ip_address`, `date_rated`) VALUES rookie looking for help coding a CSS form with PHP I'm trying to figure out how to add PHP code to my xhtml form so that it is a working form embedded Socket programming Hello all,
I have a PHP socket script. GPS trackers connect to this socket. IMEI verification mysql query with single quotes in a variable $sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$u cURL Sending File as Post This is a bit complicated, I'm just hoping someone else has run into this and knows how to do it a d Form a inline view based on the results of the previous query? Hi Experts,
Can we form a inline view on the results of a previous query (another inline view)? Help with search.php Hello All
I need the search engine on a site I am building at the moment to display the searc i need help with php header and footer I have designed a header and footer for my site and they seem to be ok when they are running individ PHP XML extraction text I would like to extract an xml text and have that text directly echo(print) out on my web page. Her
|