Re: [PHP] how to get rid of that annoying |

2009-06-09 Thread Bastien Koert
On Tue, Jun 9, 2009 at 1:47 AM, PJ wrote: > Robert Cummings wrote: >> >> >> PJ wrote: >>> Robert Cummings wrote: PJ wrote: > Robert Cummings wrote: >> PJ wrote: >>> I know this a silly question, but I can't figure out if it's even >>> possible to get rid of that final annoying

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread PJ
Robert Cummings wrote: > > > PJ wrote: >> Robert Cummings wrote: >>> PJ wrote: Robert Cummings wrote: > PJ wrote: >> I know this a silly question, but I can't figure out if it's even >> possible to get rid of that final annoying | in my pagination >> script. >> >> Navig

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread Robert Cummings
PJ wrote: Robert Cummings wrote: PJ wrote: Robert Cummings wrote: PJ wrote: I know this a silly question, but I can't figure out if it's even possible to get rid of that final annoying | in my pagination script. Navigation"; echo (($page !=1)?"first":"first")." ... "; echo (($page>1)?"pre

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread PJ
Robert Cummings wrote: > PJ wrote: >> Robert Cummings wrote: >>> PJ wrote: I know this a silly question, but I can't figure out if it's even possible to get rid of that final annoying | in my pagination script. Navigation"; echo (($page !=1)?"first":"first")." ... "; >

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread Robert Cummings
PJ wrote: Robert Cummings wrote: PJ wrote: I know this a silly question, but I can't figure out if it's even possible to get rid of that final annoying | in my pagination script. Navigation"; echo (($page !=1)?"first":"first")." ... "; echo (($page>1)?"prev":"prev")." | "; for($i=$page; $i<=(

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread PJ
Robert Cummings wrote: > PJ wrote: >> I know this a silly question, but I can't figure out if it's even >> possible to get rid of that final annoying | in my pagination script. >> >> Navigation"; >> >> echo (($page !=1)?"first":"first")." ... "; >> echo (($page>1)?"prev":"prev")." | "; >> for($i=$p

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread Robert Cummings
PJ wrote: I know this a silly question, but I can't figure out if it's even possible to get rid of that final annoying | in my pagination script. Navigation"; echo (($page !=1)?"first":"first")." ... "; echo (($page>1)?"prev":"prev")." | "; for($i=$page; $i<=($page+$records_per_page-2)+1; $i++)

Re: [PHP] how to get rid of that annoying |

2009-06-08 Thread Nitsan Bin-Nun
Your code is worse than spaghetti. (and spaghetti usually looks good..) I would suggest you to wire it up again even befores figuring out the appended | in it ;) -- Nitsan On Mon, Jun 8, 2009 at 8:56 PM, PJ wrote: > I know this a silly question, but I can't figure out if it's even > possibl