A simple sol. which i think could be: $update_id = $_GET['update_id']?$_GET['update_id']:$_GET['info_id']; Best Regards, Abhishek Jain --- Stephan Schulze <nahpeps@xxxxxx> wrote: > You can use something like > > $update_id = $_GET['update_id']; > > if (empty($_GET['update_id'])) > { > $info_id = $_GET['info_id']; > $update_id = $info_id; > } > > > The assignment of $update_id with $_GET['update_id'] > will never be the > boolean false. > > With best regards... > > Raj schrieb: > > HI! > > I am faceing a problem when a using GET > !!!!!!!!!! > > I am using a page where GET comes from two pages > . > > if $_GET['update_id'] comes from any page I want > to work with that > > if not then I want to work with another, in this > case every time when value comes from > $_GET['update_id'] page it become false & enter in > if condition > > I wanted that if value comes from > $_GET['update_id'] then it should not enter in if > condition > > > > ///////////////// > > $update_id = $_GET['update_id']; > > > > if ($update_id == FALSE) > > { > > $info_id = $_GET['info_id']; > > $update_id = $info_id; > > } > > ///////////////////////////////// > > > > > > what should I do??? > > Sukalyan > > > > > > [Non-text portions of this message have been > removed] > > > > > > > > PHP Data object relational mapping generator > > http://www.metastorage.net/ > > Yahoo! Groups Links > > > > > > > > > > > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/