Jump to content

Q695

Members
  • Posts

    783
  • Joined

  • Last visited

Everything posted by Q695

  1. Essentially you do this: <?php print_r($_GET); $variable_name=$_GET['get_array_variable_name']; ?>
  2. think of a *.jpg that only has 10 colors in it being created by a table, and MySQL, then telling the server to take a snapshot of it for use somewhere else.
  3. Actually the 625 images would be image locations with 10 different images total being downloaded like an image pixel with 10 options that are about 20 px X 20 px grid.
  4. The output buffer is going to take a long time to process the content, because it's a 25X25 table with an image in each square. I am using a form submit that renders a map output behind the scenes, then displays it to the folder with other maping images. It's a server side trigger for an image capture after everything being grabbed is displayed to the server.
  5. How do I capture an image on the server side, if the user doesn't get to see the output of a page, until after it's completed (in a minute, or more)?
  6. All items to be voted on should be opened, but instead it eliminates the last option available.
  7. One more little tweak issue: The pull wasn't pulling the vote based upon unique users SELECT v.* FROM votes v LEFT JOIN user_votes uv ON v.poll_id = uv.vote_poll_id WHERE v.user_id != $id // the one who owns the item being voted on (working) AND uv.voter_id = $id // unique voter that is not the owner (stops all outputs) AND uv.vote_poll_id IS NULL ORDER BY RAND() LIMIT 1 Ignore the comments, as they're just footnotes for troubleshooting help. I renamed the column name to "voter_id", because it appeared to be used a second time in the other table.
  8. Why can you abbreviate the table as UV, and V for future reference?
  9. Seems odd the author says you just drop the ile, and you need to either: add 2 files to the pathway lower the path 2 levels to plug it in
  10. So if you're taking someone elses framework for something like a captcha, and plug it into your own code, it doesn't get called a plug_in, not to be confused with a plugin?
  11. user_votes has a new insert performed.
  12. user_votes has "vote_poll_id", and votes has "poll_id".
  13. There are 5 tables having data pulled, not 3 due to the byte/switch operator I have being used.
  14. I pull the data based upon the user_votes table, which tells me what database to query, because I have a byte operator in the user_votes table tied into a switch statement. The data displays properly. The elimination tables I'm having trouble with are: user_votes //this table vote_poll_id user_id Vote and votes //eliminates options from this table poll_id user_id type item_id yes no by `votes`.`poll_id` = `user_votes`.`vote_poll_id` AND `user_votes`.`user_id`='$user' Problem: the elimination table works fine with the data when it's matched up, but not telling me the options that aren't matching up, if there are any.
  15. Is there a good video tutorial on how to write the pull that I need to do, or can you tell me how to write it in syntax?
  16. I'm struggling with the syntax. Why do I need a third table, when I have different displays based on 'type'? user_votes: vote_poll_id user_id Vote votes poll_id user_id type item_id yes no
  17. I know this works: SELECT * FROM votes, user_votes WHERE `votes`.`poll_id` = `user_votes`.`vote_poll_id` AND `user_votes`.`user_id`='1' limit 1 what other errors do I have from post 1?
  18. PlugPHP - plug ins that you can find written by others online to plug into your own php applications.
  19. I hear do you know word press from everyone, so I was thinking it was a simple word press feature to plug into my site, like PlugPHP.
  20. I'm stumped on how to get this join to work: Statement: SELECT * FROM votes WHERE NOT EXISTS (`votes`.`poll_id` = `user_votes`.`vote_poll_id` AND `user_votes`.`user_id`='1') limit 1 order by rand() Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`votes`.`poll_id` = `user_votes`.`vote_poll_id`) limit 1 order by rand()' at line 3 Possibly, but doubt it: the table is completely blank. Goal: Find all the entries that the user hasn't voted on as of yet, then submit them randomly to the user.
  21. I'm looking for a WYSIWYG text editor for a profile of whatever user that logs in can use to edit their own user profile. I have the section fully built, but I want to quickly add a new feature to the page to make the profile editor part better.
  22. A profile editor for a game. The principles are the same for a a blog post as a profile editor.
  23. The word press file has almost everything that looks foreign to me on the javascript/php/html knowledge that I have.
  24. I've never used word press, so I don't know how to integrate anything from it. I'm a BasePHP user. Is there an easy integration video?
  25. We all have those.
×
×
  • 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.