I am trying to hide my affiliate url by using onmouseover="windowstatus= ' ' ;return true; " but I have it inside of a printf() and the I believe it it the double quotes that are causing the problem. I tried changing the double quotes to single quotes but it does not work. Here is the code before I enter the onmouseover statement.
while ($myrow = mysql_fetch_row($result)) {
/ assign array members to variable names /
$image=$myrow[0];
$cardname=$myrow[1];
$intro=$myrow[2];
$fee=$myrow[3];
$apr=$myrow[4];
$link=$myrow[5];
$tnc=$myrow[6];
/ Create body of table each array variable must have a corresponding %s to display the string /
printf("<tr><td[COLOR=Red]><a href='%s' [/COLOR] target='_blank'><Img src='%s' Alt='%s'></a></td><td>%s</td><td>%s</td><td>%s</td><td><a href='%s'target='_blank'>Apply Now</a></td><td><a href='%s'target='_blank'>Terms and Conditions</a></td></tr>\n", $link, $image, $cardname, $intro ,$fee, $apr, $link, $tnc );
I would like to insert the mouseover statement in front of where the red text is.
Can anybody tell me if this is possible and if so what is the proper syntax ?
So the way I tried would be like this, which does not work, because of the quotes I think. Other wise the code works great.
while ($myrow = mysql_fetch_row($result)) {
/ assign array members to variable names /
$image=$myrow[0];
$cardname=$myrow[1];
$intro=$myrow[2];
$fee=$myrow[3];
$apr=$myrow[4];
$link=$myrow[5];
$tnc=$myrow[6];
/ Create body of table each array variable must have a corresponding %s to display the string /
printf("<tr><td><a [COLOR=Red]onmouseover="windowstatus= ' ' ;return true;"[/COLOR] href='%s' target='_blank'><Img src='%s' Alt='%s'></a></td><td>%s</td><td>%s</td><td>%s</td><td><a href='%s'target='_blank'>Apply Now</a></td><td><a href='%s'target='_blank'>Terms and Conditions</a></td></tr>\n", $link, $image, $cardname, $intro ,$fee, $apr, $link, $tnc );