TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: rrfive
Forum: Absolute Beginners 12-04-2010, 02:42 AM
Replies: 2
Views: 1,432
Posted By rrfive
Adding a [CSS] class every 3rd result

Hello all, new to PHP so please, bare with me.

I'm trying to add a class to every third result of a mySQL query. I've tried to figure it out but have had no luck.


<?php
$result =...
Showing results 1 to 1 of 1

 

All times are GMT. The time now is 10:26 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design