Hey, Pete!
--- Pete <[EMAIL PROTECTED]> wrote:
> so if we are on page 15,
> 10 11 12 13 14 [15] 16 17 18 19 20
I like that... however, running into some implementation problems. Let
me see if I'm getting this right:
for ($i = $current-page-5; $i<= $current_page+5; $i++) {
$next_start = $start
In message <[EMAIL PROTECTED]>, Bob
Sawyer <[EMAIL PROTECTED]> writes
>I'm dealing with a situation where I can potentially have over 3000
>results to display from a database. I'm successfully paginating the
>results, 10 at a time, but don't want to display 300+ page links at the
>bottom.
>
>How ca
On 7/20/06, Bob Sawyer <[EMAIL PROTECTED]> wrote:
> I'm dealing with a situation where I can potentially have over 3000
> results to display from a database. I'm successfully paginating the
> results, 10 at a time, but don't want to display 300+ page links at the
> bottom.
>
> How can I group the
I'm dealing with a situation where I can potentially have over 3000
results to display from a database. I'm successfully paginating the
results, 10 at a time, but don't want to display 300+ page links at the
bottom.
How can I group the pages to show, for example, the first 10 pages,
followed by a
hi, all
i m new in this field
kindly any new infirmation send me
hemant
Yahoo! Groups Sponsor ~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/HKFolB/TM
-
It is not so easy to answer. I suppose you have all your goods in database. So
you can add a good to a shopping cart by adding an index of it to an array, for
example. To do so, you have to se up an action element (button, javascript
text/image) which adds ID to an array and send it via POST...
Basically, the following should work, although not fool proof.
if(! empty($_SERVER['PHP_AUTH_USER'])) echo
$_SERVER['PHP_AUTH_USER'];
else echo "Not Logged in";
See http://us3.php.net/manual/en/features.http-auth.php for full info
on the topic.