Solved

value of the text box

Posted on 2016-11-01
2
37 Views
Last Modified: 2016-11-01
I select data from my database and put it into textbox in oder to update the data inside the textbox. But when I write it like this, it reads only the first word of my variable which is $urun
my textbox is : <input type=text name=urun  value=$urun />
what should I do?
0
Comment
Question by:Braveheartli
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 31

Accepted Solution

by:
Marco Gasi earned 500 total points
ID: 41868020
Use
<input type=text name=urun  value=<?php echo $urun; ?> />

Open in new window

or
<input type=text name=urun  value=<?=$urun ?>/>

Open in new window

1
 
LVL 1

Author Closing Comment

by:Braveheartli
ID: 41868021
Thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

756 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