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";
$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>';
}
?>
Oracle Connectivity
Hi Every One,
Multi dimensional arrays
If I put in this code:
Keep newlines from textarea?..
I'm creating a simple encoding program, and what I want it to do is retain the newlines, as echoing a textarea for example will strip them out (I think). How do I retain the \n's or whatnot and place
Share admin accross websites
I'm using .net memberships and roles in one of my sites, but I need to be able to share logins and passwords for admins accross multiple sites that use a custom database for security. How would I go
Product categories for registration
Dear all,
Staff Induction System - No idea where to go from here!!!
Hi there, I'm pretty new to PHP and Mysql so could really do with being pointed in the right direction with this problem I have.I am trying to set up a system induct new members of staff onto their
Help with PHP and checkboxes
I am posting this for a friend of mine, i wrote a small script for her to process her form data to an email but in testing i am having trouble getting the checkbox data to display in the email it
Remove values in array2 from array1
I have two arrays.Array 1 is where the array key holds various different numbers. For example:Code: [Select]$array[32] = 1;$array[122] = 1;$array[238] = 1;$array[324] = 1;The other array holds values
Hardcopy printing is to wide
I want to make a hardcopy at runtime of my active form like this
getting weird error..
okay, I'm getting an error on this particular function, something about the syntax in the mysql LIMIT statement, but as far as I can see I have it right, currently using easymysql3.0 as test server,