Post a standard url if no url is filled out?

I need help kind of fast. I do not know what to write to make it work. This is what I have so far:

[php]
if(!empty($_POST[‘bild’])) {
//Here the code for the url will be that will be posted if url input is not filled out.
}
[/php]

I hope you understand what I mean. What is it that I gotta write there to post if the URL input is not filled out?

Thank you in advance.

LOL, you showed one line of PHP code, so not sure what you want. But, if you wish to display a default URL to visit if the url is empty, just echo an anchor with an HREF. Something like:
[php]

if(!empty($_POST[‘bild’])) {
//Here the code for the url will be that will be posted if url input is not filled out.
echo “URL missing, use this link for Google!”;
}

[/php]
Is that what you need??

Sponsor our Newsletter | Privacy Policy | Terms of Service