Forum Moderators: coopster

Message Too Old, No Replies

Need some tutorials.

         

Blooish

3:46 pm on Mar 3, 2008 (gmt 0)

10+ Year Member



I dont understand what are these constructions:
(isset($url_parsed['query'])? '?' . $url_parsed['query']: '')
I think it is a kinda of if statement but i dodnt know how it is named.
I need some tutorials about this statement.
Thanks in advance!

galSoftwareDeveloper

3:49 pm on Mar 3, 2008 (gmt 0)

10+ Year Member



hey

if u need anything about PHP go to [w3schools.com...] you'll find good tutorials

jatar_k

4:31 pm on Mar 3, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Blooish,

is that the whole statement? It almost looks like a ternary operator [php.net] but not quite

Blooish

5:30 am on Mar 4, 2008 (gmt 0)

10+ Year Member



#2, i know about that website. That's where i started to learn php,css,javascript,html,mysql,ajax...

#3, yes that is! It is the ternary operator! I didn't know its name.
Thanks alot!