Jump to content

MDCode

Members
  • Posts

    640
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MDCode

  1. Please explain as to what you mean by "objects."
  2. Around 200 users assuming you keep it at 5GB and don't use much space for the website itself.
  3. Congratulations
  4. What part are you having trouble with?
  5. What exactly is "not working out for me."
  6. I assume it is actually http://domain.com/up...hp?providerID=1 <input type="text" value="<?php echo htmlspecialchars($_GET['providerID']); ?>">
  7. You could just use &pound;
  8. I'm not too sure about your second paragraph but, for your first, if you are using anything located in the url in a query, make sure you use mysql_real_escape_string($_GET['whatever']); (or mysqli/PDO) Then it should be safe.
  9. $query .= "item='" .${'item_'.$i}."' WHERE Code ='".${'codeID_'.$i}.'","; $query = "UPDATE db2 SET availability='Stage 1' WHERE Code ='".${'codeID_'.$i}.'","; $query = "UPDATE db2 SET availability='Stage 3' WHERE Code ='".${'codeID_'.$i}.'","; Look at your quotation placement in your query after their WHERE clauses
  10. php mail() function does not require www. I suggest checking your logs to see why it failed.
  11. Well all you have to do is match the search term to their session <?php if($searchTerm == $_SESSION['variable'] && $searchTerm2 == $_SESSION['other']) { echo " boo you cant search for yourself"; } else { // process request } ?>
  12. You are querying with $_GET['providerID']. Is provider ID already in the url when you are querying? if not, that is where your error is coming from
  13. You are already using php to echo so using php inside the echo will not work. change the apostrope in that echo to a quotation: " because variables will not be parsed single quoted. Remove the php tags and it will work
  14. Use an if(isset($_POST['name of submit button'])) I would also highly suggesting organizing your queries as suggested above. Move php processing above any html and use the form normally
  15. It's not going to help if you take information out of your page
  16. 1. Remove your connection details. 2. There is no where that you are using an update query so...won't get very far
  17. Post the code where you are setting your session variables
  18. Most blogs us simplicity with html php and css. You could make it fancier by using jquery and/or ajax so the page does not refresh; but seems a bit pointless. If you are going to allow any entry that needs to be displayed on a page (comments, blog entries, etc.) which is what I assume, you will need php/mysql.
  19. There is a topic that will explain everything needed here
  20. I believe what you are looking for is just html? <a href="index.php"><img src="/path/to/image"></a>
  21. Single quoted variables do not get parsed. Do you have error reporting on?
  22. Do you have a question?
×
×
  • 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.