Php & MySql Pagination Script
View Single Post
04-09-2009, 08:43 PM
Join Date: Mar 2009
Location: Springfield, IL USA
Hmm your code is sort of weird in the manner that you say:
<?php print_r("$variable"); ?>
and later you use:
<?= $variable; ?>
I use print_r("$variable") when I'm coding. The <?=$variable;?> was added just as an example for something to place there for allworknoplay to get an idea. I did this quickly yesterday as I was busy with other work, which I mentioned already.
Also, why use string interpolation when you don't concate the data with something else? Seems pretty pointless to waste time on something so simple.
ps. I see you use notation on the $strSQL = mysql_query(...);, well technically that is a resource returned and not a string, but heeeey :)
I code things in a way that's easy for the screen reader to read it back to me so I can understand it. If you've ever used a screen reader in your life you'd know where I'm coming from with that regard.
View Public Profile
Send a private message to WebSavvy
Find More Posts by WebSavvy