Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Is there a different post type for multiple photos than the "photo" one? If not, you'll have to add some logic in the first case there to check for multiple photos.
  2. So you've explained your specifications now. Messages are either read or unread. When someone looks at a message, you would change it to read. Where are you stuck??? What have you done? You're acting like it's some kind of magic system - you need to write the code. To write the code you need to be able to say what the code should do. It sounds like you have said what the code should do - now do it...
  3. You need to explain what you think you mean by "read/unread system". As I explained when you originally posted about the inbox system, you need to be clear about what you're trying to do, rather than assuming we can read your mind. What exactly do you want to accomplish? If you can explain it in plain english, you can probably figure out how to do it in PHP/MySQL.
  4. Not if you use the plain text editor. function test(){ echo 'hello world'; } I c&p that from my text editor into the plain text here.
  5. Turn on error reporting - you have multiple syntax errors. You need to escape the quotes within your strings. For a large block like this you should probably use HEREDOC syntax. You also are trying to use PHP outside of your PHP tags, if I'm reading your code right.
  6. Hey stupido. Look it up in the manual. Give it like, 5 minutes of your own time and try to learn it. Also this isn't twitter, and my name is Jessica.
  7. You didn't post using the code tags. You apparently didn't read the entire second sentence, because it explains what's wrong with your code. I'm guessing you don't understand what .= and = do.
  8. Post your updated code. In code tags. Use the plain text editor if you need to. If you changed it EVERYWHERE and not just the first time you try to use that variable, that won't work. Think about it.
  9. Please use the code tags and indent your code. Within your function, $select is not defined. You probably want to just create it the first time, rather than trying to append to it. $select = "<select... rather than $select .= "<select...
  10. That doesn't check if the image actually exists. You just set $image1, it will always evaluate to true. If you want to check for the file with that name, use file_exists
  11. So now it's harder to read and process.... What's wrong with <?php if ($webpage != null) { echo '<div><a href= "'.$webpage.'" >Visit Website!</a></div>'; } ?>
  12. I've got a really simple DB that I just need to have a decent simple CRUD interface for. I was looking at Yii, but I got stuck at the generating stuff in the windows command line, and decided to try Code Igniter - but this doesn't seem to be saving me any time at all, I have to keep creating all these controllers and models, I could do this myself... Anyone have a suggestion for a framework to do the CRUD stuff, that will work on WampServer?
  13. If you know HTML, then you know how to put in an image. What is the problem?
  14. If you couldn't teach someone in several hours what a variable is, maybe the teacher is the problem.
  15. Jessica

    Word Filler

    Look into zebra striping. Seriously, don't use periods.
  16. I'd love to see how you've gotten PHP to display the time analog.
  17. Jessica

    Word Filler

    Don't, just use a table - why would you want the dots?
  18. Yes, it's possible.
  19. You really should fix the structure of the tables. Google normalization
  20. Jessica

    Word Filler

    This is what HTML tables are for, this is tabular data.
  21. That's what Javascript DOES. If you want the server time you need to use PHP.
  22. Javascript is client side. That means your computer, not the server.
  23. Look at the SOURCE in your browser. What is rendered. Also your code keeps changing from 1 to 2 - what is the actual code? When do you define $image2?
  24. Do you know how to work with them? If the answer is no, go read the manual.
×
×
  • 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.