grim1208
Members-
Posts
89 -
Joined
-
Last visited
Never
Everything posted by grim1208
-
PHP login form with odbc connection toms access
grim1208 replied to timmykins02's topic in PHP Coding Help
you don't have your <form> tag closed. see if that helps out -
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.
-
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.
-
this looks legit. what's the name of the plugin? are there any errors coming from your mail server? or logs?
-
winner. what project is this for?
-
PHP login form with odbc connection toms access
grim1208 replied to timmykins02's topic in PHP Coding Help
It would be helpful to us if you could point out what issues you are having. -
mysql_fetch_assoc() returns an associative array. $project_result_num should be an int though ...
-
My friend, here's a quick tutorial using jQuery to accomplish what you're looking for. http://webcloud.se/code/jQuery-Collapse/
-
<? = short tag .... <?php = correct way, even though <? is not incorrect
-
var exp = "/^[a-zA-z]$/"; var mystring = "Apple"; if(!(mystring.match(exp))) { return false; } else { return true; } code not tested
-
welcome to the forums bhi0308. do you have any goals in mind as you are learning php?
-
no one on these forums has ever customized a mass mailing application? no advice here? ... lol
-
myString.match(/your_expression/)
-
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; } ?>
-
Learning jQuery --
-
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.
-
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'; } }
-
you were close, try this if (($q001 == "right") || ($q001 == "right2")) { $q001score = 1; } else { $q001score = 0; }
-
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
-
google php $_SESSION and php login script
-
google - javascript popup fit size
-
I need to replace a spaces between quotes with +
grim1208 replied to langemarkdesign's topic in PHP Coding Help
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? -
I need to replace a spaces between quotes with +
grim1208 replied to langemarkdesign's topic in PHP Coding Help
my last post does just that