Jump to content

Is there any way to encrypt html part of a php file?


ghurty

Recommended Posts

I tried:

<? echo "<img src="images/top01.jpg" height="345" width="800">";

?>

 

But that doesnt seem to work.

 

Thanks

 

You're placing double quotes within double quotes, escape them or use single quotes:

<?php
   echo '<img src="images/top01.jpg" height="345" width="800"/>'; 
?>

 

And note, this does not 'encrypt' anything, if that was your original question.

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.