Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. $values = mtgox_query('0/getFunds.php'); echo "USDS: ".$values['usds'].' BTCS: '.$values['btcs'];
  2. No, you just said you want it like this forum's system. Hotmail is an email service. That is real email. You use an email address like name@hotmail.com. When you send someone a PM on this forum, you don't use their email address. You use their username and click a link and go write your message. The forum may forward that TO your email, which is completely different. That is just like sending any other mail using PHP. Again. Explain WHAT you want. Be specific. Use the correct terminology.
  3. That's not email. It's private messaging.
  4. Do you actually mean email like soandso@domain.com, or do you MEAN private messaging?
  5. That answer makes no sense. So you created your own forum? You coded in PHP? Yet you have NO IDEA where to start to create a PM system?
  6. If you've created a forum, what is confusing about creating a private message system, to the point that you don't know where to start? Or is this a third-party forum? What forum software doesn't come with PMs?
  7. 1. Use code tags. 2. Go change your username and password. It doesn't matter that you hid some of the characters. Go do it now. 3. Post the RELEVANT sections and explain your problem. In more than one vague sentence.
  8. Add a third option to the list. Write code that checks if the value submitted is equal to whatever you have named the third option. If the value is equal, then don't add the column inex to the query. If it is NOT that third option, add that column with the chosen option. Try to write some code and then we can help you fix it if it still doesn't work. Post the code you've written, including the part that creates the query.
  9. Whatever you want. You'll have to write logic that controls whether or not the column is included in the query. Your logic will check that value. It's not automatic, you have to actually write the code yourself.
  10. In that case, you'll want to fix the database entries, but if you're happy with it I guess it's not a huge deal. *shrug*. You're welcome.
  11. Are you seriously asking how to add a THIRD OPTION to this list?
  12. Like I said...add an option for both, then check for it. Logic. It works.
  13. You're welcome ma'am. You should find the source of where the tags are being converted to entities and fix it there, FYI.
  14. What's the output of the var_dump? If the <p> tags are showing up on your page, rather than in the source, then the text has already been run through htmlentities. Try doing html_entity_decode on it before removing it. Otherwise, show us exactly what you see. Also, that code doesn't echo anything. Show us the code that echo's the string.
  15. Remove Region: $key from the echo? Seriously.
  16. What is the problem? You don't have a third value in the dropdown, just add one, then check for that value and if it is set to "both" or whatever you choose, then don't include that column in the query.
  17. Right. I guess I was just confused because his first query returns the same results because he doesn't have any without 'chester' in them? *shrug*
  18. Look at the source of the page. Is there anything? Any whitespace? Do you still have that print_r($array); in there? Did you add the echo $sql part? Post the updated code.
  19. It means there is an error being printed to your screen. You can switch to logging errors or what I would usually do for a quick debug is comment out the line that generates the PDF to the screen, ($pdf->Output('Customer Information.pdf', 'I') and put a die() there, then just read the errors.
  20. If you want advice on the general idea, this belongs in Application Design. If you want code, it belongs in Freelance. If you need help with code you've written, post it and explain the problem.
  21. Barand, I'm a little confused what your example is supposed to show?
  22. You only store the times that are scheduled - start and end times. If nothing is scheduled during a "block", there won't be a row that has those times.
  23. I've moved this to MySQL. The simple answer is that LIKE works using wildcards, and can only find matches where the search term is within the result. So LIKE('%Chester%') would match 'Chester City', but LIKE('%Chester City%') will not match 'Chester'.
  24. Put the form elements (inputs) inside your form tags. Then capture the data in the $_POST array.
  25. 1. Your method doesn't accept any arguments, so it's useless to pass it one. 2. At that point in the code, $type is undefined. Yes.
×
×
  • 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.