Jump to content

jazzman1

Staff Alumni
  • Posts

    2,713
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by jazzman1

  1. Okay, try to find yourself the error I'm a beginner too, but if I want to post an answer I have to be sure a 100% that does make sense and without errors.
  2. if ($_POST['submit']) to be if(isset($_POST['submit']) Immediately after this if statement add : echo '<pre>'.print_r($_POST, true).'</pre>'; exit; Post out the result please.
  3. @hakim, please, don't post wrong solutions.
  4. surely iam abit confused with chr() can you give me some ways of using it if you dont mind. @hakim everything is math in the computer's world and in the real life too, I think.. Did you see the examples of php.net ? There is a lot of tutorials and good explanations about ASCII in the web, just google it.
  5. What an error did you get ?
  6. Psycho told you why ? Just wrap 0 up with single quotes.
  7. If you're not English, you will get a problem http://php.net/manual/en/function.chr.php
  8. Really ? $a = 'Z'; for ($i=0; $i<26; $i++) echo $a--; $a = 26; for ($i=0; $i<26; $i++) echo $a--;
  9. Be careful when you're using "&": http://htmlhelp.com/tools/validator/problems.html <!-- This is invalid! --> <a href="foo.cgi?chapter=1&section=2&copy=3&lang=en">...</a> If you want to use "&" instead of "&", this url won't work in javascript: http://jazzman.com?ajax=_1243564780&lang=EN You could use "&" in js, to wrap it up a CDATA code.
  10. Have you ever read this topic -> http://forums.phpfreaks.com/index.php?topic=37442.0
  11. You have two errors. Do you use any IDE ? <?php if (is_page('Contact')) { // Disable Main Menu } else { ?> <ul class="sf-menu"> <?php if (has_nav_menu('primary-menu')) { ?> <?php wp_nav_menu(array('container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary-menu', 'items_wrap' => '%3$s')); ?> <?php } else { ?> <?php wp_list_pages('title_li=&depth=3' . bp_dtheme_page_on_front()); ?> <?php } ?> </ul> <?php } ?>
  12. Your form, please.
  13. You need a different script to use BCC. Take a look at here: http://forums.phpfreaks.com/index.php?action=profile;u=128305;area=showposts;start=135 http://forums.phpfreaks.com/index.php?topic=362994.msg1718064#msg1718064
  14. Try, $header .= (!empty ($_POST['option1'])) ? "Bcc:$bcc_email\r\n" : null;
  15. Ok, I think that you have an logically error. You use in the same if statement mysqli_num_rows and after that inside in this statement you called mysqli_affected_rows. There is nothing unusual Why did you use mysqli_num_rows and mysqli_affected_rows ?
  16. But.... this one is not true, right ?
  17. it seems like everything is ok. What error message did you get ?
  18. You have a error here -> $result_verify_mobileno = mysqli_query($dbc, $query_verify_mobileno); What's $dbc ? Post out database_connection.php, too ?
  19. Could you explain this variable - $dbc ?
  20. There are a ton of errors in your code Did you make any debugging and do you know what is this ?
  21. First of all, you have to check the statement. This statement must be true: $dealercards<17
  22. @off absolutely right
  23. Delete all users from database, if you don't need it. Keep only "root localhost ..... ", and replace "testuser % " with " testuser localhost" or "testuser 127.0.0.1".
  24. WHY DIDN'T YOU TRY DOING THIS? I smell a troll at this point. Or...., he/she doesn't understand EN very well.
×
×
  • 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.