/    Sign up×
Community /Pin to ProfileBookmark

php display database

hi,m a begginer in php.as m working on display database in html page.i got a question ..

i am able to display database table in html..but i want to change name

for eg. the 1st row contains id,name,department.mobile no.

and i want to put that name into textbox in that display..can anyone help?

to post a comment
PHP

9 Comments(s)

Copy linkTweet thisAlerts:
@ginerjmSep 17.2014 — Are you asking how to create column headings in an html table? Why not google an html resource?
Copy linkTweet thisAlerts:
@simar71authorSep 17.2014 — am asking. i put a display button which shows the database table in html page. and in that displayed table i put a edit button which

its like this just an eg.

id | name| password | mobile no. | edit.

now i want when i press that edit button. the name will replace with text box in that displayed table and contains name which was there before replacing.r u getting me?
Copy linkTweet thisAlerts:
@ginerjmSep 17.2014 — Why not put it there to begin with and then just use the edit button as an 'update' button to trigger the next php script that will do an update?
Copy linkTweet thisAlerts:
@jedaisoulSep 17.2014 — Are you just wanting to change the display (which seems pointless) or do you want to update the database (which you have not said, but would make sense). Oh and why do you just want one field (the name) to be editable?
Copy linkTweet thisAlerts:
@simar71authorSep 17.2014 — yes i want to change database in display table.not only name..but all that row.my instructor gave me this assignment.for tommorow.i want to replace a row with textbox which contains the same value before ..and yeah then i can put any value in it and can update.
Copy linkTweet thisAlerts:
@ginerjmSep 17.2014 — Your instructor probably planned on you solving this problem yourself. So - that's what I am going to let you do.


People - HE'S DOING HOMEWORK. LET HIM BE!!
Copy linkTweet thisAlerts:
@simar71authorSep 17.2014 — lol...thnx...i am trying ..its been 5 hours working. m stuck on this...thats y i posted here.. i managed toput a textbox in display database.but it shows right along with the original data in row..its not replacing it...but anyways for your time....i really appreciate.....now its past midnight n feeling sleepy..see u soonagain i hope so..

<php

echo "please simle";


?>
Copy linkTweet thisAlerts:
@jedaisoulSep 17.2014 — Well, one problem has been the poor description you gave of the task you were set.
Copy linkTweet thisAlerts:
@ginerjmSep 17.2014 — I think he's in trouble and wants us to bail him out. Says it's due tomorrow and it's already midnight. He's going to miss his deadline. Oh, well..... Not our problem.
×

Success!

Help @simar71 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...