Jump to content

DeanWhitehouse

Members
  • Posts

    2,527
  • Joined

  • Last visited

Everything posted by DeanWhitehouse

  1. Use .htaccess so that when someone requests mysite.com/productname it actually loads mysite.com/product.php?product=productname_or_id
  2. Try google
  3. No problem, you might want to look into some database tutorials to help get your head around some db stuff.
  4. Because they are images and will go to the next line depending on image size i believe.
  5. I would do something like $array = array("quote1","quote2"); shuffle($array); echo $array[rand(0,count($array))]; Edit: If you are getting the quotes from a db then use ORDER BY RAND() in your query
  6. Stop being lazy and try it, stealing script you don't understand wont get you anywhere.
  7. Might be your or die statement running, put error_reporting(E_ALL); at the top of the page
  8. Yes the best way to this is to have one query which will get the process (use a while loop to loop through each process) then in the loop you will have two queries (or one joined query) to get the inputs and outputs, then use php to echo them or create an image using them
  9. Or meta refresh http://www.i18nguy.com/markup/metatags.html
  10. It won't have an exact tutorial on their for that but does have all the parts required. http://www.tizag.com/phpT/forms.php http://www.tizag.com/mysqlTutorial/mysqldelete.php
  11. to change a type from checkbox to text it would be <input type[b/]="text"> not style Also the checkbox is actually within the form tags yes?
  12. So if i am getting it correct, you have a table with inputs? And one with outputs? Or are they both in one table, and you want to loop through each input and find the process and then the outputs for that process?
  13. Yes except session_register is deprecated, so it should now be $_SESSION['session_name'] = $session_value; And try to use <?php instead of <? just better coding practice
  14. Where the hell did you get that idea from, the name box[] just means the data is added to the array called box, it is not a literal name.
  15. Are you in any way using ini_set and changing the SMTP settings ?
  16. We are not here to make your site bit by bit for you, please try and work it out on your own. http://tizag.com and http://w3schools.com are great places to learn php
  17. This line is causing them to be converted to HTML characters i believe return rawurlencode($newstring); Try changing it to return $newstring;
  18. No, i suggest you read better, i asked if you know mysql, you didn't state that you didn't in your post.
  19. If you tell us exactly what you need to do then i will be able to advise you on how to do it.
  20. I meant in the code you posted as it has syntax highlighting.
  21. Please use php tags. Code doesn't need to look pretty and escaping characters is fine. But if you don't want to then you can do $var = <<something stuff something>> that would allow you to insert html without the need of escaping. Or similar, one of the other members may know
  22. No it shouldn't, you can't run a loop through a variable, each loop is run separately.
  23. Have you heard of Google? Do you even know mysql?
  24. That will only loop through the rows in $query1, have you check how many row are in their ?
  25. No, that is not what i meant when you use it in links and/or submit them as pages in your site map it can make the search engine believe it is a directory and in effect come up with a 404
×
×
  • 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.