need help about


Posted on 16th Feb 2014 07:03 pm by admin

i store the value of my select statement result to an array and stored it to a variable named $fname the i used it as the value of:

<input type='text' name='fname' value=<?php echo $fname ?> />

but when $fname's value is more than 1 word it only displays the first word, but when i:

echo $fname;

i get the right result. What is the problem with this?

Need help. ASAP.

Thanks

No comments posted yet

Your Answer:

Login to answer
85 Like 7 Dislike
Previous forums Next forums
Other forums

Mastering Regular Expressions, Third Edition, is available.
The Third Edition of Mastering Regular Expressions is available.

QuoteThis third edition is 5

how can we add data from dynamic fields to mysql db in php
i have a script which i found on the internet. i modify that script according to my needs. what is i

Preg_match unknown modifyer
Hello,

Im trying to write a little script for my forums i need to get the reply from my forum

disable all input buttons
Hello Friends,

suppose i do have a file ( file.php ) has a submit button

Code: [Sele

session variables not working anymore
hello,
i use sessions to handle authentication within my site. my host has been changing a lot of

Onclick problem in Firefox
Hi,
I am using a . It doesn't seem to

Adding meta tags under Zend FW
Hello there, recently has come to my hands the FTP of a website which is running under Zend, I would

php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu

Showing selected item at top of list
Hi,

I've got a list of names which i am fetching from database like this:
$qry = db_query

mod_rewrite.c on windows ??
why it's not working on windows while it's working on other hosts???

this is the code i got

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash