![]() |
quick php question
$id=$date_id;
$nextid=(1 number lower than nextid) ex. if id=10, nextid=9 How do I write this in php? |
do you mean something like this?
$nextid = $id-1; |
you are probably looking for
$id--; |
thanks, i will give that a try :)
|
Quote:
|
thanks again! also whats a quick php page redirect code?
|
Quote:
PHP Code:
|
it needs to be in php and i don't think it can be in the header as I have to redirect it after a bunch of hidden php code
|
All times are GMT -7. The time now is 07:18 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123