my code is
<?php echo $_GET['abc']; ?>
then it would be something like this
?abc=436346
but if there is nothing in veriable i mean if ?abc=empty
then how we can show this message
" please put valid value for abc"
Urgrnt PLease Help
| SitePoint Sponsor |
my code is
<?php echo $_GET['abc']; ?>
then it would be something like this
?abc=436346
but if there is nothing in veriable i mean if ?abc=empty
then how we can show this message
" please put valid value for abc"
Urgrnt PLease Help

i try this but does'nt work
i am using an iframe ,
here
http://utguyiui.webatu.com/ns.php
and when i try to access veriable for iframe
http://utguyiui.webatu.com/ns.php?abc=4363437
it'work but
when there is no veriable
it show me iframe here @ http://utguyiui.webatu.com/ns.php
but i want to display only an error message

Last edited by John_Betong; Apr 3, 2013 at 01:09. Reason: missing /
don't understand that
how we can write all items in $_get
please write this correctly for me
i am showing my full code
this is i am using
<iframe frameborder="0" width="480" height="272" src="http://www.dailymotion.com/embed/video/<?php echo $_GET[abc]; echo isset($_GET['abc']) ? $_GET['abc'] : 'please put valid value for abc';
?></iframe>
when there is no veriable @ <iframe frameborder="0" width="480" height="272" src="http://www.dailymotion.com/embed/video/veriable
then only show error message no iframe with message
you can see when use http://utguyiui.webatu.com/ns.php?abc= (empty)
iframe is showing and no error message
Plesae

Last edited by John_Betong; Apr 3, 2013 at 01:54. Reason: Constant ABC should be abc but editor not playing nicely :(
but its still showing iframe not displaying error message
chk this
http://utguyiui.webatu.com/ns.php?abc=

Try removing the first $_GET[ABC] from your link.
[php]
<iframe frameborder="0" width="480" height="272" src="http://www.dailymotion.com/embed/video/<?php echo isset($_GET['abc']) ? $_GET['abc'] : 'please put valid value for abc';
?></iframe>
Last edited by John_Betong; Apr 3, 2013 at 02:01. Reason: cut & pasted new link
doesn't work

Back on my desktop...
Try this:
http://johns-jokes.com/downloads/sp-b/bitz/
Bookmarks