RE: [PHP] Math: Adding DB numbers to PHP script number

2003-06-11 Thread John W. Holmes
> I'm trying to add a number from my database ($id) and add it to a number > (1) > so that the link with http://x/index.php?id=#(+1) (no +1 this is just > example) has a the right id number not the one before it. > But I'm stuck on the problem where the http://x/index.php?id=0 not the > lat

[PHP] Math: Adding DB numbers to PHP script number

2003-06-11 Thread Ben Houlton
I'm trying to add a number from my database ($id) and add it to a number (1) so that the link with http://x/index.php?id=#(+1) (no +1 this is just example) has a the right id number not the one before it. But I'm stuck on the problem where the http://x/index.php?id=0 not the latest id numbe