The Cellar  

Go Back   The Cellar > Main > Technology

Technology Computing, programming, science, electronics, telecommunications, etc.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-06-2003, 12:57 AM   #1
jaguar
whig
 
Join Date: Apr 2001
Posts: 5,075
Question Anyone know PHP

I've been doing a few little things in PHP over the last week for a particular purpose and i'm confused about one thing

I've got a script that refers to itself when it runs, checking a value ($id) that would have been set if the page/script is beign viewed for the second time

the code to check that is

if ($id) {

blahblabla

}

Which as i thought checked that $id existed (in the url). It doesn't seem to work. If i get $id to check against a certain value i know it will be it works, but clearly the person who told me this was wrong or i've totally missed something.

Any ideas from the crowd?
__________________
Good friends, good books and a sleepy conscience: this is the ideal life.
- Twain

Last edited by jaguar; 03-06-2003 at 01:26 AM.
jaguar is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 03:46 AM.


Powered by: vBulletin Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.