> if($thisRow % 2 == "0"){
Should be: if(($thisRow % 2) == 0){
Regards,
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i have changed the script around a bit, now it actually shows something, but
it doesnt alternate.
$thisRow = "0";
$query = mysql_query("SELECT * FROM security_images ORDER BY ID DESC",
$conn);
while($gt=mysql_fetch_array($query)){
extract($gt);
if($thisRow % 2 == "0"){
$backgroundColor = "#CC
> Does anybody have any tips or links for creating a system for managing
> user's passwords. I want to make it so that when a user is created, an
> email is sent with a link that allows them to set their password. The
> link should only work for a set amount of time. I have ideas for
> implementing
3 matches
Mail list logo