[PHP] Getting Query Results Row Number during a While Loop
If you know the row count then use a for loop. $count = mysql_num_rows($result); for ($i=0;$i$count;$i++) { echo I = $i; } Brad Dameron Systems Administrator SeaTab Software www.seatab.com I am creating a query and displaying the results during a while Loop. I know how to get the total number of rows but need to know which row I am currently working on in the loop. Thanks in advance for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Php files with .html extension?
You would probably brake a heck of a lot of things. CGI scripts, etc. On a related note I was wondering what people thought of php files with noextensions? So if I changed index.php to just index then I can create urllike www.mydomain.com/index/articleid/29 so it's search engine friendly. # .htaccess file DefaultType application/x-httpd-php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Unsubscribe.
Yes. Try yourself. All 3 ways provided to unsubscribe do no work. Brad [snip]Been trying to unsubscribe this email account for days nowand now go. Anyone on this list have access to remove me? [/snip] And you have clicked on the unsub link in the e-mail? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Unsubscribe.
Been trying to unsubscribe this email account for days now and now go. Anyone on this list have access to remove me? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php