Jump to content

grim1208

Members
  • Posts

    89
  • Joined

  • Last visited

    Never

Everything posted by grim1208

  1. you don't have your <form> tag closed. see if that helps out
  2. that shouldn't be an issue. i'll look closer at this toward the end of the day if someone else hasn't picked this up and helped you out. i suggest going through your loop where you're querying the data and inide of it build your nodes.
  3. As shown, the plugin name is: WP Pending Post Notifier I am not receiving any errors on the mail. my bad. i'm testing this on my server to see if i can help you fix this.
  4. this looks legit. what's the name of the plugin? are there any errors coming from your mail server? or logs?
  5. It would be helpful to us if you could point out what issues you are having.
  6. mysql_fetch_assoc() returns an associative array. $project_result_num should be an int though ...
  7. My friend, here's a quick tutorial using jQuery to accomplish what you're looking for. http://webcloud.se/code/jQuery-Collapse/
  8. <? = short tag .... <?php = correct way, even though <? is not incorrect
  9. var exp = "/^[a-zA-z]$/"; var mystring = "Apple"; if(!(mystring.match(exp))) { return false; } else { return true; } code not tested
  10. welcome to the forums bhi0308. do you have any goals in mind as you are learning php?
  11. no one on these forums has ever customized a mass mailing application? no advice here? ... lol
  12. myString.match(/your_expression/)
  13. try defining username outside of the function. making code look like this <? $username = $_POST['username']; // defines username validUsername($username); // this calls the function function validUsername($username) { $sql = "SELECT * FROM tableA WHERE username = '$_POST[username]' "; $sql_result = mysql_query($sql); if (mysql_num_rows($sql_result) !=0) { $isValid = true; } else { $isValid = false; } return $isValid; } ?>
  14. name and id should be the same in your form tag. javascript can be picky at times and I have found this to solve a lot of annoying bugs. so give document.select_comments.submit() a shot (assuming that's the name you went with rather than trying to submit with the ID element.
  15. edit your javascript function to look something like this. function showHide(div) { if(document.getElementById(div).style.display == 'none') { document.getElementById(div).style.display = 'block'; document.getElementById('status').innerHTML = 'open'; } else { document.getElementById(div).style.display = 'none'; document.getElementById('status').innerHTML = 'close'; } }
  16. you were close, try this if (($q001 == "right") || ($q001 == "right2")) { $q001score = 1; } else { $q001score = 0; }
  17. document.selected_comments.submit(); <-- this is calling the 'name' no the 'id', calling the id would be document.getElementById('selected_comments').submit(); you have your form name select_comments and the id selected_comments. show that line above should be document.select_comments.submit() instead, or the form name should be selected_comments, instead of select_comments
  18. google php $_SESSION and php login script
  19. google - javascript popup fit size
  20. dumb question but you are certain testpage.html doesn't have any errors or does exist for that matter?
  21. preg_replace() even str_replace() will help you with what you are looking for take the code example i gave you, and integrate it into your search query. i can't write out the code for you, don't know what you have placed already or what your variable setup is or anything. do you have script you can provide as to be more helpful?
×
×
  • 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.