phpAdsNew | ![]() |
5.1.2 | Inserting variables | |||||||
|
||||||||
If you use multiple random variables inside your HTML banner they will all be replaced with the same random string. There is an exception however: if you specify random variable of a different lenght than the previous random variable a new random number will be generated.
The variable will be replaced with the correct code to log the click and redirect the browser to the URL you specified in the 'Linked to URL' field. If you specify this variable multiple times it will redirect to the url specified in the 'Linked to URL' field every time.
The variable will be replaced with the correct code to log the click and redirect the browser to the url you specified inside the variable, in this case www.foobar.com. You can specify this variable multiple times inside the same HTML code, even if your HTML code includes multiple links to different URLs. Every link will redirect to the URL specified and will log the click if the user decides to click on one of those links, for example:
|
||||||||
5.1.3 | Embedding PHP code | |||
|
||||
There are some exceptions: It is not possible to define function or classes and include or require other files. The print(), echo and printf() functions will still work and can be used to print strings to the HTML banner.
|
||||