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
Gantt Chart Tool
Does anyone know of a good free gantt chart creator tool
Thanks
defining website tags
Hi,
What would be the best way to define tags for my site, such as website title, url etc.
User registration and login
I don't know whether this is the correct forum, if not i apologise but am pretty desperate at the mo
Converting RGB values to HEX
Code: <?PHP
$file_handle = fopen("colors/rgb.csv", "r");
wh
Unable to retreve the values from Mysql Query
Hi,
Here is the php code that I have, Query is running properly in phpmyadmin and is resu
form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how
error checking breaking my code
Hi there, OK first of all, big apologies for what I assume is really fundamental errors in the struc
Something Non-Traditional. Can we solve?
I have an idea for an application here. It's mostly flash, but it couldn't work without a somewhat n
Php - mysql store data and use it later?
Hi, i' making a login page at the moment, however my username + password is stored many different pl
paginate search result
Hi, I have a paginations script to display data from my database but i would like to paginate someon