Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

database

Featured Replies

Hello all

 

I would like to ask for your help.

 

I am having trouble on what is the best way to make a website acessing a database.

I will give an example of what i am planning to do.

 

So, to go to medicine, a student must finish high school, lets say, with A in Chemestry, Biology and Physics or Mathematics. But a A student in this subjects can also study other courses in Uni.

 

In the first page of the website all the subjects from high school would be presented in a simple list with 2 columns, the course and grade column

 

1st page

 

Subject: Grade:

 

Biology A

Chemestry A

English B

Physics A

Mathmatics B

 

The 1st is fixed and on the second one the student puts what grades he have to the various subjects..

After all grades are inserted, the student would press "ENTER" and the following page would give the results, lets say in a simple hyper link text.

 

2nd page

 

Medicine

Biology

...

 

So a student with A to Biology Chemestry and Physics would have x results redirecting him to the database explaining him where he can study "whatever" and what "whatever" is about etc..

 

I hope you understand what i am looking for.

 

I am having problems with the 1st page (the columns page), i dont know how to creat this simple column page "investigating" a database and showing only the right results.

If you can direct me somewhere where i can study about this, or give me one or two hints on how to do this so i can get started it would be great !

 

Thank youuu !

$mysqli = mysqli->connect("host","user","pass","name") or die (mysqli->error);

Edited by Fractal Fragger

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.