using global variables inside a function

I used the global declaration and it works. You have to pass it to the function:

or declare it global:

If the variable isn’t

Read more

Remembering form values after submit

Text field: <input type=”text” name=”Fname” value=”<?php echo isset($_POST[‘Fname’]) ? $_POST[‘Fname’] : ” ?>” > Radio button: <input type=”radio” value=”Fvalue” name=”field_name” <?php if(isset($_POST[‘field_name’]) && $_POST[‘field_name’] == ‘Fvalue’)

Read more

Table with background images – round corners with shadow

Code: <style> table td, table th, table tr{ padding:0px;border:0px; } </style> <table cellspacing=”0″ cellpadding=”0″ > <tr><td background=”/ogdan/wp-content/uploads/2014/bg-images/top-left.gif” width=”45″ height=”38″></td><td background=”/ogdan/wp-content/uploads/2014/bg-images/top-center.gif”></td><td background=”/ogdan/wp-content/uploads/2014/bg-images/top-right.gif” width=”45″ height=”38″></td></tr> <tr><td background=”/ogdan/wp-content/uploads/2014/bg-images/middle-left.gif”></td><td

Read more

Tools for tracking where competitors advertise

https://www.whatrunswhere.com/features.php http://www.adgooroo.com/for-advertisers/advertiser-features/ http://www.similarweb.com gives you the “not provided keywords” based on 60 million users gathering information. Read this blog post – http://blog.similarweb.com/similarweb-pro-reveals-your-true-traffic-data-with-not-provided-keywords/ http://www.spyfu.com/  well known, somewhat

Read more

Advanced CSS selectors

> means “is a child element of“. So body > *:not(.toolbar) matches *:not(.toolbar) that is a child of body. *:not(.toolbar) matches any element that does not have the class .toolbar. *[selected=”true”] matches any element

Read more

CSS – element.classname

<style> a.ex1:hover,a.ex1:active {color:red;} a.ex2:hover,a.ex2:active {font-size:150%;} a.ex3:hover,a.ex3:active {background:red;} a.ex4:hover,a.ex4:active {font-family:monospace;} a.ex5:visited,a.ex5:link {text-decoration:none;} a.ex5:hover,a.ex5:active {text-decoration:underline;} </style> </head> <body> <p>Mouse over the links to see them change layout.</p>

Read more