Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. IMO to get a good start with PHP you need to learn in a more linear manor than what jumping from tutorial to tutorial can provide. Books are good because they start you at a good starting level and slowly introduce more and more complexities. There is a link in my signature (Hudzilla) to a good free online book. If you where to read this from start to end you would have a good enough understanding of PHP to not likely need any further tutorials.
  2. We are not here to do peoples homework, where exactly are you stuck?
  3. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=337890.0
  4. The syntax is the easy part.
  5. You could, but I probably wouldn't recommend it. You need a decent understanding of OOP (on top of PHP) to get up and running with Zend.
  6. C# (.net) uses Ajax in the background to make requests between the client and server. PHP won't hold your hand like that. You will need to develop both the client side & server side code to make the Ajax requests yourself. Using a framework like jQuery on the client side makes these things pretty simple though so I'm not sure what the issue is.
  7. PHP executes server-side, so you need to make a request to the server in order to execute PHP. You might look into Ajax.
  8. Pass the $database into the object using a __construct() method. And please, next time, use tags.
  9. Put your command into a string first and echo it so you can actually see what it looks like.
  10. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=337876.0
  11. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=337796.0
  12. That is your OS's root, not necessarily your web servers though. You will need to check your Apache config (usually httpd.conf) file (assuming your using Apache).
  13. Do you have a call to session_start() in compose.php?
  14. You could always check property_exists.
  15. What exactly is the problem with your JSON?
  16. The Location header should be passed a url, not a relative path like it appears you are doing.
  17. Calling require_once within a function will bring your template into that functions scope, you need to capture that and return it. This can be easily enough done using output buffering.
  18. Care to at least attempt to help us help you? What error are you getting? You do have error reporting on don't you?
  19. Could be any number of things, you will need to provide more information. Can you execute the script form the command line? Do you even have Perl installed?
×
×
  • 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.