hii,
I am storing form data into database and later i gve admin the option of editing the content of it by means of a form ..there is a small problem with ' .ie when ever there is a date like test's in database....whi le fetching its fetches properly but while displaying its giving a prob like it just prints test and nothing after it the ' is giving a prob.
this is the php command ...any change needs to be make here
[PHP]print("<td><inp ut name='Descripti on' type=text size=80 value='" . $test[$nr][Description] . "'></td>");[/PHP]
this displays only test
but if i give print_r($test[$nr][Description]);
its displays full test's
wht changes need to be made in print statement..
Thanks,
pradeep
I am storing form data into database and later i gve admin the option of editing the content of it by means of a form ..there is a small problem with ' .ie when ever there is a date like test's in database....whi le fetching its fetches properly but while displaying its giving a prob like it just prints test and nothing after it the ' is giving a prob.
this is the php command ...any change needs to be make here
[PHP]print("<td><inp ut name='Descripti on' type=text size=80 value='" . $test[$nr][Description] . "'></td>");[/PHP]
this displays only test
but if i give print_r($test[$nr][Description]);
its displays full test's
wht changes need to be made in print statement..
Thanks,
pradeep
Comment