NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
html code insight in echo/print command


Joined: 03 Jun 2008
Posts: 75
Location: Bavaria, Germany
Reply with quote
Code insight for html attributes is great, thanks for that NuSphere Team!

But very often, html tags are used inside php echo/print command and there code insight for html fails.
Code:
echo "<img >\n";

Nothing happens and even hitting CTRL+Space doesn´t bring up correct html attributs.

Would be nice if this would work also.
View user's profileFind all posts by bitseekerSend private message


Joined: 28 May 2010
Posts: 10
Reply with quote
you could just do ?> to end the php and then do <img .....> and <?php to go back into php instead if you really need code insight for it.
View user's profileFind all posts by yareallySend private message


Joined: 03 Jun 2008
Posts: 75
Location: Bavaria, Germany
Reply with quote
@yareally: i'm aware of this, thanks. Of course i could open and close php tags over and over again, but that's not the point.
Why not implementing this feature sometimes, so you don't have to write out the html attributes the old fashioned way or piddle around with php open/close tags?
View user's profileFind all posts by bitseekerSend private message


Joined: 28 May 2010
Posts: 10
Reply with quote
I agree, it's a useful feature when you cant or dont want to stick it in a string (as a return value or something) or want to echo it out. I added the opening and closing of php just in case you weren't aware, which you are, it seems Smile
View user's profileFind all posts by yareallySend private message
html code insight in echo/print command
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic