472,143 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

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 54104
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.