-
getURL without http:// ?
hi. i dont know what the final adress of site will be, so i would like to use adress like ./rejestracja/index.php
ive made some buttons and i would like to make action getURL
Code:
on (release)
{
getURL('./rejestracja/index.php?adres=news.php', '_blank');
}
gives me error "expecting a >>}<<". so how can i use getURL without http:// ?
-
You probably did something else wrong because the code you posted doesn't generate an error when I try it.
-
1 Attachment(s)
hm... everything looks good - there isnt antything to do wrong :)
-
I thought you used a button object but it's a button component you used.
You have to use the button component without the on (release). Use only the getURL and it should work fine.
Code:
getURL('./rejestracja/index.php?adres=news.php', '_blank');
-
yes, this works. Thans brants :]