Jump to content

Recommended Posts

Hi Guys, 

Just in the process of learning PHP and I am wandering if I need to learn more when finished to complete a certain process. 

I apologise if this explanation is pretty naff but I cant think of how to word it, but here goes: 

So what I am looking at doing with a script is creating a place to display information about games, 

So what I am thinking is there will be a backend where I can kind of add a new game then inside there I can add news articles, videos, images etc. 

The one thing I cant wrap my head around is if I were to display like trophies for the games like the PS4 trophies, how this would work. 

So I imaging the backend to be like 'add a game button' then when I click that I get a setup page where I can enter the title, developer, age rating and so on. With the trophies obviously what I am thinking is a text are that will say how many trophies does the game have? 

So in there I enter let's say 20 then this will add me 20 slots in which I can enter the trophy title, description and points. So my question is when you are creating a form like this where it works off an action like me entering 20 and it producing 20 slots can all this be done with PHP or do I need to be using other code also? 

Hope that explanation is decent enough. 

Huge thank you for any advice in advance. 

Link to comment
https://forums.phpfreaks.com/topic/308360-creating-setup/
Share on other sites

It sounds more like you are asking about data storage than php programming. 

Not sure I understand this "trophy" conversation but it sounds like you are talking about awards won by the game's designers and you want to list them to let your viewers know about them.  So - for each game I would link that record to another table that has individual records for each game's awards/trophies.  Of course - if these awards are actually won by multiple games then you may want to just have a table of "trophies" and link those records to each game that has won one.  Two different schemes but very similar.

  • Like 1
Link to comment
https://forums.phpfreaks.com/topic/308360-creating-setup/#findComment-1564653
Share on other sites

37 minutes ago, gally06 said:

So in there I enter let's say 20 then this will add me 20 slots in which I can enter the trophy title, description and points. So my question is when you are creating a form like this where it works off an action like me entering 20 and it producing 20 slots can all this be done with PHP or do I need to be using other code also? 

You could do it with PHP, but the more you learn and advance with web development the more you're going to need to know Javascript and understand things like AJAX.

One step at a time. Get the rest of your idea in place, the stuff you already know how to handle, then when you get to the trophies you can think about how to use the opportunity to expand your skillset.

  • Like 1
Link to comment
https://forums.phpfreaks.com/topic/308360-creating-setup/#findComment-1564654
Share on other sites

13 hours ago, requinix said:

You could do it with PHP, but the more you learn and advance with web development the more you're going to need to know Javascript and understand things like AJAX.

One step at a time. Get the rest of your idea in place, the stuff you already know how to handle, then when you get to the trophies you can think about how to use the opportunity to expand your skillset.

Thank you so much for your reply, just so keen to learn and keep progressing and think I am being mighty ambitious with this project lol, but we all gotta have aims right. 

Link to comment
https://forums.phpfreaks.com/topic/308360-creating-setup/#findComment-1564667
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.