Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. http://php.net/mysqli & http://php.net/pdo
  2. json_decode returns an array. You need to loop through that array to insert it into d database.
  3. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=347131.0
  4. Try searching Google. There is no definitive answer to this question.
  5. I never mentioned anything about sending mail to gmail only. I said, you could use gmail as your mail server if you wished.
  6. There is always room for code to be improved.
  7. Why do you insist on adding extra quotes that are simply not needed? $_SESSION['order']['cartcontenttext'] = 'Small: '.$content['sizes'].' Medium: '.$content['sizem'].' Large: '.$content['sizel'].' Extra large: '.$content['sizexl']; What do you think the quotes on the end of your last post are actually for? They do nothing.
  8. You have an extra quote on the end, otherwise: Define 'not working'.
  9. I have given you what I consider to be the most appropriate suggestion. It's not my fault if you won't listen too the advice.
  10. Not really. At this point, you really need to learn some basic php and there are plenty of books around that will teach you that.
  11. You seem to missing the absolute basics. If statements do not return values, just like foreach statements do not return any value. I think you should get yourself a book and read it from start to end.
  12. Obviously you missed the part about not needing echo. And please, drop the goto's!
  13. Sorry, but I really don't see why there would be an issue.
  14. You need to call session_start on any page that uses the $_SESSION array.
  15. If you already have an FTP server running on port 21 yes it will prevent uploading of files via FTP. IS there particular reason your receiving the data on port 21? And no, if you don't have control over Apache you will not be able to configure it to listen to an uncommon port.
  16. What version of php are you using and is your data in UTF-8?
  17. Yes, but there is no need for echo or all the unnecessary quoting. $_SESSION['order']['cartcontenttext'] .= echo 'Small: ' . $content['sizes'];
  18. You will indeed need to setup a server to listen on port 21. You could easily use Apache for this.
  19. What exactly are you trying to do?
×
×
  • 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.