Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Turn error reporting on. PHP will point out your errors.
  2. Care to a link to a page that actually has an example of your issue then?
  3. To show all you would simply remove the like clause from your query.
  4. Indeed you can change the url. You do so with the history object's pushState() method. Google it. Also, check out the fantastic library history.js https://github.com/balupton/History.js
  5. Though they are many and varied, PSR-1 has become the defacto. See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md You might also want to take it further and implement PSR-2 See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
  6. Have you looked at the functions suggested then?
  7. Start rewriting. Not that it's not possible, just that it makes more sense to do so.
  8. You need to seriously look at using SQL joins. I don't want to be harsh, but, that is probably the worst code I have seen in a few years. You might also want to look at recursion (in php) to provide an easy solution to your problem.
  9. Um, isn't this what this board is for?
  10. The explanation of your issue leaves a lot to be desired. It also seems unrelated to this boards topic. I suggest you try again, maybe even with some code.
  11. Codeignitor is an absolute dogs breakfast from a design standpoint.
  12. Take a look at Vagrant. http://www.vagrantup.com Virtualisation is king, and vagrant makes it easy.
  13. yeah, I missed the fact that you had it within double quotes.
  14. Your going to need to be a lot clearer in your explanation.
  15. There is nothing special about a $ sign. Do you have an actual problem?
  16. You forgot to post a question.
  17. Sounds like a job for Ajax. You use Javascript to send a request to your server when an image is clicked. Along with this request you send the id (or some data that identifies what image was clicked) of the image. You then need a php script which processes these requests, and saves the click into the database.
  18. Its pretty unclear what your asking. You want to display a different image based on data from a database?
  19. The simple answer is: Each time you hit a submit button your making a new request to the server. Variables do not persist across requests.
  20. Your going to need to clarify your issue. Mysql is a *database* server.
×
×
  • 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.