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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.