Jump to content

[SOLVED] PHP Echo HTML with Both " and ' ?


maxudaskin

Recommended Posts

Is it possible?

 

{if($colourbare == 1){
  echo '';
  $colour = '#F2F2F2';
  }else{
  $colour = '#E2E2E2';
  echo '';
  }
  ?>
  <tr style='background-color:<?php $colour; ?>' onMouseOver='this.style.backgroundColor:#EFF4FB' onMouseOut='this.style.backgroundColor:<?php $colour; ?>'>;

Link to comment
https://forums.phpfreaks.com/topic/88504-solved-php-echo-html-with-both-and/
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.