TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ajit N
NA
352
72k
How to display session value in textbox ?
Oct 22 2019 2:39 AM
Hello, I want to display session value in text box ,i tried some code but i didn't get output.
Here is my code....
<?php
session_start();
$pname
=
$_SESSION
[
"pname"
];
$rs
=
$_SESSION
[
"rs"
];
if
(
$_SESSION
[
"pname"
]==TRUE){
}
else
{
}
?>
and the HTML code
<
input
type
=
"text"
class
=
"form-control"
name
=
"name"
placeholder
=
""
required
=
""
value
=
"<?php echo $pname?>"
>
and i got this below output...
So help me how can i solve this ?
Reply
Answers (
4
)
calling stored procedure file using mysqli in php file
display line number after reading excel file