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

output printing as hexadecmal... XD
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex.

Internal Server Error issues
This has been bothering me for weeks and I've been trying to solve it without asking for help, but e

Uploading files/images via forms
Hey all, I am building a database for work that will contain some minor data on plant species along

Calender Not Opening
The following code is not loading the javascript calender in another window. It's not doing anything

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

subtract 1 from value entered in text field
Hi

How do I subtract 1 from the vaue entered into a text field?

Thanks

How to insert random unique values in 2 columns ?
I have table with 2 columns

Create Table code_for_code (
first_code varchar2(10) uni

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

"From field" in PHP email form
I used a wizard to create a PHP email form. I was able to customize it with the exception of the Fr

MySQL noob question
hi guys

I have a simple mysql table set up, along the lines of

Col 1 - Col 2 - Date_l

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