/    Sign up×
Community /Pin to ProfileBookmark

please, am new to PHP, I want my submit button to select and show data from database in table form when click ,
I have form where i can input a “subject code”
a tables
table “room” with room_id and room as attributes
and table “subject” with subject_id,subject_code and subject_title as attributes
a form with “submit” button
thanks

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@benanamenApr 14.2018 — What have you tried?
Copy linkTweet thisAlerts:
@ginerjmApr 14.2018 — Are you also new to SQL and HTML? You are first going to have to write a valid form with the appropriate tags to collect your input. You may have done this from what I can read. Next you need to define your db properly and learn how to write the correct query using properly screened input values. Then you need to use php (finally) to fetch the query result rows and to output the proper html table to display it. And finally you need to output all of the html that you produce from this.
Copy linkTweet thisAlerts:
@rootApr 15.2018 — This is not a request site, what you posted as needing to do is IMHO a "feature request list" and not asking for help with your code as you would have posted the code that is causing you a problem.

If you want a script written for you, then go to the forum and advertise what you want and see if you have any offers, or you are going to have to provide code you are currently using and get help and guidance on what you need to do to improve and iron out the wrinkles in your HTML and server-side code. What are you using on the server? ASP or PHP?
×

Success!

Help @irumale 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...