469,894 Members | 2,159 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,894 developers. It's quick & easy.

PHP echo equivalent???

HI, is there a ASP.NET equivalent for PHP's echo command?
Or else is there a way to write on a web page without using a label or a textfield?

Thanks for any reply!!
Dec 20 '06 #1
2 53946
sashi
1,754 Expert 1GB
HI, is there a ASP.NET equivalent for PHP's echo command?
Or else is there a way to write on a web page without using a label or a textfield?

Thanks for any reply!!
Hi there,

Kindly refer to below sample code segment, hope it helps. Good luck & Take care.

Expand|Select|Wrap|Line Numbers
  1. <%
  2.   Response.Write "the_text_goes_here"
  3. %>
  4.  
Dec 21 '06 #2
Dimas
2
HI, is there a ASP.NET equivalent for PHP's echo command?
Or else is there a way to write on a web page without using a label or a textfield?

Thanks for any reply!!
If you want to display just a single variable you can break in with asp tags and display just the variable by
Expand|Select|Wrap|Line Numbers
  1. <%=varName%>
like in a table tag or something
Expand|Select|Wrap|Line Numbers
  1. <td><%=userName%></td>
Dec 21 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Marco | last post: by
9 posts views Thread by Domestos | last post: by
9 posts views Thread by windandwaves | last post: by
11 posts views Thread by Twayne | last post: by
32 posts views Thread by Request-1 | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.