Quantcast
Channel: Adobe Community : All Content - PHP Application Development (read only)
Viewing all articles
Browse latest Browse all 107

php acting like text.

$
0
0

My php code is not being treated like code. 

 

This line in my html     <input type='text' name='k' size='70' value='<?php echo $_get['k']; ?>' />

 

Returns an input field with the text    <?php echo $_get[    inside of it.

 

 

The   '<?php echo $_get['k']; ?>'  is supposed to return the result of a php echo function to put the text typed into the box back into the box after the Search button is pressed.

 

I have installed MAMP and created a "localhost" with my site on it.


Viewing all articles
Browse latest Browse all 107

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>