Jump to content

[SOLVED] Tables from HTML IN PHP


ali_2kool2002

Recommended Posts

Hi im not sure how to change this line of code in html so that i can use it for my tables to change color when a user puts their mouse curser on. This code below works in html but when iv tried to use it in php but doesnt work...? can someone help me convert the html to pho

 

HTML CODE WORKIN IN <TD> TAG

<td>onMouseover="this.bgColor='lightgrey'" onMouseout="this.bgColor='#FFFFFF'"</td>

 

I need to somehow use the above to work on this PHP line below which has a variable in the table

 

<td align="center">' . $results['driver_status'] . '</td>

 

Thanks for anyone who can crack it in php thanks!!

 

 

Link to comment
https://forums.phpfreaks.com/topic/44782-solved-tables-from-html-in-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.