|
Posted by Kimmo Laine on 12/09/05 06:51
"1" <tre-cool@rogers.com> kirjoitti
viestissδ:XcKdnZE2274uYQXeRVn-qg@rogers.com...
> Something like: $link = example, if no ID exists, $link=example2.
$link = isset($_GET['ID']) ? 'example' : 'example2';
That menas that if the parameter ID was supplied in the page call, 'example'
is assignet into $link, in any other case 'example2' will be assigned to
$link. Was this what you wanted?
--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <antaatulla.sikanautaa@gmail.com.NOSPAM.invalid>
Navigation:
[Reply to this message]
|