Jump to content

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?

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.