Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. You would need to create a link that requests your php script. eg; <a href="/yourscript.php?id=10"><img src="foo.png" /></a> Then in yourscript.php the id will be within $_GET['id'].
  2. A few things wrong here: You execute your query outside of the loop. This means it will only ever execute the last query. Where exactly are $id and $value defined? It's not real clear what your actually trying to do.
  3. I'm not sure it could be dumbed down much further. REQUEST_URI returns the uri that was used to access the page.
  4. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=347767.0
  5. Where exactly is this html coming from? Your going to need to post some relevant code.
  6. I'm not going to write the code for you. Where are you stuck?
  7. This: $query = '$query = ' . '"' . $query . '"'; Is making the query invalid.
  8. This topic has been moved to Other. http://www.phpfreaks.com/forums/index.php?topic=347646.0
  9. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=347729.0
  10. Anything is possible. Probably not the simplest of things to implement but hey. Have you tried breaking the problem down into achievable parts? What have you tried?
  11. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=347725.0
  12. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=347726.0
  13. You must have misread the documentation. An example of what headers look like taken directly from the documentation I linked you to is: $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); Yours contain someones name, department, email and phone number all concatenated together in one continuous string that I imagine would look some thing like: thorpedeveloperthorpe@phpfreaks.com0243677098 I would start by leaving the header argument out all together as not all servers are going to require it. Be aware though, that without valid headers, allot of mail will go to the trash.
  14. No one is going to install some framework just to test your code. You might want to actually describe the issue your having.
  15. Awesome, I'm sure your clients will be happy to hear you have finally decided to start to figure out what your doing.
  16. This topic has been moved to Microsoft SQL - MSSQL. http://www.phpfreaks.com/forums/index.php?topic=347695.0
  17. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=347719.0
  18. Unless your header.php, nav.php or footer.php file incude your index.php file there is nothing in your code that could do what your describing.
  19. This topic has been moved to Installation in Windows. http://www.phpfreaks.com/forums/index.php?topic=347714.0
  20. Have you tried going to the link in the error message?
×
×
  • 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.