Jump to content

PHP Help - final Year Project


pak4eva

Recommended Posts

Hi guys

 

Im new to this forum. Currently I am studying at uni and am in my final year. As part of my project I need to design a website using php and sql. My project is based on the periodic table (chemistry).

 

I've done both website and sql side of my project but am really struggling with php since i have never done php before. I currently have one simple script that connects to the database and displays the information for one element only (basically its been hard coded), for example if i click on the element H then it will return the information for H from the database.

 

However, my main headach is I need to use the same script for all elements instead of writing individually i.e. elements such as H, He, O etc... should have the same code but depending on what i click on it should return that information only....

 

I've been told that to do this i may need to use functions but since i have very little php knowledge i dont have a clue where to begin and time is running out for my as i have 3-4 weeks left for the deadline.

 

Can someone please advise me what to do? Your help will be much appreciated....

 

Thanks in advance...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.