Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. I've attempted to use CI, and I've successfully used CakePHP, Symfony and Yii. If you need a framework, pick Symfony or Yii. NOT CI.
  2. If the div inside is floated, you'll need to add a clearing element right after them (within the container div) A br with clear:both usually works
  3. Since we still don't have images on mobile view I will have to "like" this via a quote. *liked*
  4. Do you understand what I wrote? Because it was pretty much a statement of fact, not anything to do with anyone's emotions.
  5. What you posted isn't even valid code.
  6. I'll bet you A. Don't have error reporting turned on. and B. Just copy and pasted that, without thinking about what $string needs to be.
  7. Also this is OVER abstracted. All of that data should be in one table anyway.
  8. You didn't post what you have tried, so you're asking someone to write it for you.
  9. The function parameter is $dbo. Then you look for $db.
  10. The substr is superfluous, you can use trim with a second parameter. Or even better use an array and implode.
  11. Everything is a big secret? What on earth does that mean? A. The path of least resistance is don't upgrade PHP. B. The best way to handle sending mail is to use a mailing class or service. There's PHP Mailer, Swift Mailer, etc etc.
  12. How is that unusual?? It's for exactly what you described. I personally can't believe you did any research and didn't find it. The PHP manual is your friend.
  13. You clearly didn't read the forums rules.
  14. I did explain to you. Logically, if you don't have an error, then you were successful. Otherwise, you need to define what successful means. As for echoing it as a "message" instead of a "page", are you saying you want the form to always display after submission?
  15. @kicken:
  16. The 2nd and 3rd are because of the 1st. Did you check the permissions of the online_users.txt file?
  17. Jessica

    php error

    You should post the entire line of code, as that's not anywhere near valid PHP. But I can assume that's part of an SQL query string. A. you should not use $_POST variables directly in the string. B. You should really switch to using prepared statements via mysqli/PDO. C. You also need single quotes for each array key. $_POST['Email Address'] is valid. You'll need to study up on string concatenation, interpolation, and escaping quotes to make that string work. D. You're also missing a single quote at the beginning of the set.
  18. Either you need to use the $_POST array, or you're trying to ask how to do chained selects using AJAX.
  19. He said No as in they are not "used to reduce memory consumption". He backed that up by showing the manual which says "The reference is merely a means of creating another variable for the same content; a reference. Its not a pointer and "they are not actual memory addresses" Your reply talked about memory addresses. Which it specifically says a reference IS NOT. You said "correct me if I'm wrong:" - You're wrong.
  20. @mostafatalebi - Did you read this?
×
×
  • 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.