Jump to content

How can you hide PHP tags?


Recommended Posts

Lets say I have a php field, that displays the particular users username.

So in designer view, it has the square box with PHP written on it. If I want to make a table smaller, it doesn't allow me to, being as it goes as big as the PHP tag. Is there anyway, to hide that?

 

so that I can make the table or field smaller than the tag.

 

 

Link to comment
https://forums.phpfreaks.com/topic/155388-how-can-you-hide-php-tags/
Share on other sites

I use dreamweaver to view in designer view, as I develope my layouts in there.

 

<?php 
  $req_user_info = $database->getUserInfo($req_user);
  
  /* Display Username */
echo "".$req_user_info['username']; ?>

 

That for example, in designer view would display a square box, yellowish, with PHP written in it.

The design view of dreamweaver will not allow you to see the code generated by PHP so you need some indication that there should be output or a script there.  I don't know that there is a way to hide that. CS4 I believe has a live preview that may fix that.

The design view of dreamweaver will not allow you to see the code generated by PHP so you need some indication that there should be output or a script there.  I don't know that there is a way to hide that. CS4 I believe has a live preview that may fix that.

 

yeah but you have to have a testing server running to parse it.  Which is a pain IMO

The design view of dreamweaver will not allow you to see the code generated by PHP so you need some indication that there should be output or a script there.  I don't know that there is a way to hide that. CS4 I believe has a live preview that may fix that.

 

yeah but you have to have a testing server running to parse it.  Which is a pain IMO

 

How is that a pain, you don't have some form of *amp stack on your development box?

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.