Solved

php esquivalent of <%=test%> in asp

Posted on 2014-12-18
2
100 Views
Last Modified: 2014-12-18
I have this code in my asp script:

<input type="hidden" value=<%=test%> name="test">

I need te equivalent in php

Any ideas?
0
Comment
Question by:robrodp
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40508491
<?php
$test="something";
?>
<input type="hidden" value="<?=$test?>" name="test">

Open in new window

0
 

Author Closing Comment

by:robrodp
ID: 40508493
As usual. Great...
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now