Log message #109265

# At Username Text
# Aug 7th 2008, 09:40 moelee why is that TommyO?
# Aug 7th 2008, 09:40 moelee np
# Aug 7th 2008, 09:40 moelee haha
# Aug 7th 2008, 09:40 Eddie_CRO thanks dude
# Aug 7th 2008, 09:40 TommyO ACTION thinks using params, other than maybe $id, is clumsy ;)
# Aug 7th 2008, 09:40 Eddie_CRO moron
# Aug 7th 2008, 09:40 Eddie_CRO right
# Aug 7th 2008, 09:40 moelee and you can just do an if to check it and do some other action
# Aug 7th 2008, 09:39 Eddie_CRO default
# Aug 7th 2008, 09:39 Eddie_CRO aaaaaa
# Aug 7th 2008, 09:39 moelee and that will be default if nothing is passed through url
# Aug 7th 2008, 09:39 TommyO function search($param = null)
# Aug 7th 2008, 09:39 moelee just set the parameter = null
# Aug 7th 2008, 09:39 Eddie_CRO )
# Aug 7th 2008, 09:39 Eddie_CRO so, where were we
# Aug 7th 2008, 09:39 Eddie_CRO )
# Aug 7th 2008, 09:39 Eddie_CRO that's no go.
# Aug 7th 2008, 09:39 Eddie_CRO changed link
# Aug 7th 2008, 09:39 Eddie_CRO ah, i know
# Aug 7th 2008, 09:39 moelee alright
# Aug 7th 2008, 09:39 moelee haha
# Aug 7th 2008, 09:39 Eddie_CRO )
# Aug 7th 2008, 09:39 Eddie_CRO don't know how
# Aug 7th 2008, 09:39 moelee so just set param default = null
# Aug 7th 2008, 09:39 Eddie_CRO i did something and i don't get it any more
# Aug 7th 2008, 09:38 Eddie_CRO oh
# Aug 7th 2008, 09:38 moelee function search($param)
# Aug 7th 2008, 09:38 moelee will pass apples into $param
# Aug 7th 2008, 09:38 Eddie_CRO yes, but i get warning
# Aug 7th 2008, 09:38 moelee http://blah.com/search/apples
# Aug 7th 2008, 09:37 moelee i.e.
# Aug 7th 2008, 09:37 Eddie_CRO but
# Aug 7th 2008, 09:37 moelee well if it is passed through the address bar, it still is passed through the function
# Aug 7th 2008, 09:37 Eddie_CRO i have it defined function search($parameter)
# Aug 7th 2008, 09:37 Eddie_CRO \/search for example
# Aug 7th 2008, 09:37 moelee hm
# Aug 7th 2008, 09:37 Eddie_CRO no, from address bar, through link :)
# Aug 7th 2008, 09:37 moelee function action($thisvar = null)
# Aug 7th 2008, 09:36 Eddie_CRO and no get warning :)
# Aug 7th 2008, 09:36 moelee $var = null
# Aug 7th 2008, 09:36 Eddie_CRO one easy question. i get "Missing argument 1 for..." warning when calling action that has defined parameter. How to call it for that parameter to be null?