Jump to content

PHP code help


Histeric

Recommended Posts

Hello. I'm pretty new around here, and pretty new to PHP. So...i need some help.

 

I've got a website. It promotes free music. I've made it in HTML, but i've got a lot of albums to post, and someone suggested i should work in php. my question is : can i create a file, such as albums.php, and another one, posting.php, and when i access posting.php and add album data in the lines i create in posting.php (album name, artist name, tracklist, cover and download link), to automatically generate a page for that album, with links in albums.php pointing to it? like albums.php/id=xxxxx?

 

Sorry for my bad english, it's not my native language. Thank you.

Link to comment
https://forums.phpfreaks.com/topic/212004-php-code-help/
Share on other sites

Yes, this is exactly what PHP is for. Before you begin you should first familiarise yourself with the PHP language. Reading this free ebook will help you getting started with PHP.

 

Once you have gotten the basics you'll want to search for some tutorials for creating some basic content management scripts, such as a news management script, a blog, guestbooks etc. From learning how to create these you should be able to make your music management site.

 

Note: When learning PHP or developing a site it is best to install what is known as an AMP stack (Apache (http server), PHP and MySQL (database)) locally on your computer. You can either install these separately or install WAMPServer (for Windows) or XAMPP (for Windows, Mac and Linux).

Link to comment
https://forums.phpfreaks.com/topic/212004-php-code-help/#findComment-1104870
Share on other sites

Thank you. I'm using a free web host with PHP and mySQL support. I already have a forum on it, so i guess i don't need to install the AMP stack. Thanks a lot!

It is up to you really. I prefer to develop my scripts locally. Then upload them to my host once they are completed. Development is a lot quicker this way, saves you from having to upload/download each file every time you make a change.

Link to comment
https://forums.phpfreaks.com/topic/212004-php-code-help/#findComment-1104874
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.