Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Wrap all your current code within: if (isset($_POST['submit'])) { // your code here } You should always do this when dealing with $_POST & $_GET arrays anyway.
  2. Your array is nothing like what you have described your looking for. $movies = array( "SF" => array("Terminator", "Soylent Green", "I Robot", "frankenstein"), "horror" => array("exorcist", "IT", "frankenstein"), "comedy" => array("holy grail", "blazing saddles", "young frankenstein") );
  3. Firstly, you have posted your post in a part of the forum reserved for questions about applications written in php. Your issue seems unrelated. Secondly, your post leaves allot to be desired in the area of detail. I for one have no idea what you are talking about. Thirdly, the links you have provided to images are invalid.
  4. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=352249.0
  5. Javascript needs to go within a script tag. <script type="text/javascript"> // code in here </script>
  6. Have you got your javascript inside a script tag?
  7. Yes. Or at least have a look at what $_SERVER['DOCUMENT_ROOT'] holds.
  8. Why don't you actually query the database for the data you want in the first place?
  9. Your going to need to go through some type of service to get this to work at all. People like to be able toi compare products, and having a web site with 5 - 10 templates / scripts / stuff isn't really going to attract any attention.
  10. See $_SERVER['DOCUMENT_ROOT'] which will return the root of your virtualhost. Your BASE_URL will be the base url you use to access the site. You should know this yourself.
  11. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=352201.0
  12. Sorry, but do you really think something like this is going to be easily explained in a reply to a post in a forum? Learn PHP, then learn how to plan your projects.
  13. This topic has been moved to Application Frameworks. http://www.phpfreaks.com/forums/index.php?topic=352167.0
  14. Then I suggest learning php first. Once you understand how to program, it's just a matter of planning your project out.
  15. The use of global in your callback example could (and should) be avoided. print_r($live->getHttp("http://phplive.org")->getLinks()->each(function($link) use ($live) { $url_info = (object)parse_url($live->endingUrl); $domain = $url_info->scheme."://".$url_info->host; if(preg_match("/^\//", $link)){ return $domain.$link; }elseif(!preg_match("/^http/", $link)){ return $live->endingUrl."/".$link; } return $link; }));
  16. If you understand PHP, HTML Apache and SQL I don't see the problem. Where exactly are you stuck?
  17. Gmail itself doesn't have that type of functionality.
  18. What do you meen by in coming gmail emails exactly? Do you meen emails from Gmail? Or emails to Gmail? You could use fetchmail and procmail, but you would still need to run a cron.
  19. Why not make this enquiry with the people you purchased the domain form?
  20. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=352102.0
  21. Cool. Do you have a question?
  22. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=352099.0
  23. Seriously, most forum software out there is crap. If you have the time, skills and the inclination it wouldn't be too difficult. Having said that however, Debbie, how could we possibly know how difficult this would be for you? With an existing login system in place you could probably knock up a simple forum in a weekend. Of course it wouldn't be very feature rich but people could easily post new messages and have other users reply to the them.
  24. Looks like you can set the mysql.trace_mode via a call to ini_set. Does that help?
×
×
  • 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.