Solved

php esquivalent of <%=test%> in asp

Posted on 2014-12-18
2
103 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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 …

726 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