Jump to content

Q695

Members
  • Posts

    783
  • Joined

  • Last visited

Everything posted by Q695

  1. isset means does it exist.
  2. $sql = "INSERT INTO fooddiary (ID, Date, DayTime, FoodName, Calories) VALUES ('$clid', '$date', 'Breakfast', '$food', '$cal') ON DUPLICATE KEY UPDATE FoodName = '$food', Calories=$cal"; try the chance, then echo $sql
  3. Adapt these videos: http://www.youtube.com/watch?v=T0Uv3VeTMR8
  4. Almost every single variable is used by a database, and i'll tell it to do an exception if the error is being created.
  5. tie the back end into a database that populates the form based on numbers, and text. On the back end have it do a for each output, and hidden if the variables are filled in, but others are blank. I did one of those a few years ago.
  6. History would be a simple insert of the variables based on the site you were on.
  7. copy the insert line from phpmyadmin, and adapt it for what you need to do.
  8. or on the WAMP login screen.
  9. SHOW YOUR CODE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  10. What is $c?
  11. print_r($row) will output the query values
  12. do a while loop with the ."$priKeys=mysql_fetch_assoc($results)"
  13. do $_POST['send']!='' for all the variables.
  14. They do it on this website with something like each variable name is different, and it does urling based on what the variable name is.
  15. He forgot the while loop: <?php while ($row){ $f1=$row['f1']; $f6=$row['f6']; echo" <tr> <td><font face='Arial, Helvetica, sans-serif'> $f1</font></td> ... <td><font face='Arial, Helvetica, sans-serif'> $f6 </font></td> </tr>"; } ?>
  16. Do it on your frame layout, so it is on all pages by default.
  17. Am I missing anything for my variable security statement? foreach( $_GET as $key => $value){ $_GET["$key"]=mysql_real_escape_string($value) ; } foreach( $_POST as $key => $value){ $_POST["$key"]=mysql_real_escape_string($value) ; } How would I reverse it on the output side?
  18. Your file is missing/not pointed to the right name of the file.
  19. I know it was, so I was saying that the number could be a rational number also.
  20. Yes, page will be a rational number, and doing an include within an include, like 3.1, and 3.2 would be elements of 3. I was trying both ways, and displaying the code for the types of things I tried. It's still in the range.
  21. I'm stumped on how to convert the if statement to a case statement if ($page>=3 && $page<4) case (>='3' && <'4'): It's doing the block inside when the case variable isn't set.
  22. Q695

    tooltip

    I like it
  23. Q695

    tooltip

    Thanks, I'm a CSS nublet.
  24. Q695

    Ad Services

    Any other sources to pull ads from, or does adwords pay the best?
  25. Q695

    tooltip

    Why can't you put a HTML comment inside a style CSS tag
×
×
  • 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.