- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 21
- Posts with Upvotes
- 21
- Upvoting Members
- 15
- Downvotes Received
- 8
- Posts with Downvotes
- 8
- Downvoting Members
- 7
Re: first off, you cannot put session_start() at the top of a login page, because there is no session yet. I would just take out $_SERVER["REQUEST_METHOD"] == "POST") unless you know that the variables are being posted. Try this because i have a feeling you got this from another website.. Also, … | |
Hello all, i am stuck on this.. i want to be able to play a video from a mysql database. Currently i can upload the video to mysql (name, type, size, content) and download the file. i have a media player that shows a video, but i have to use … | |
Re: Google is a really useful tool. http://www.w3schools.com/js/js_form_validation.asp | |
Re: Try this. In this case, you already have the errors being posted in the div, so this will scroll to the div with the errors. <?php if(isset($_POST["myform"]) && !empty($errors)){?> $('html, body').animate({scrollTop: $("#error").offset().top}, 2000); <?php } ?> | |
| Re: Once you hash a password, it cannot be undon. Therefore, you cannot cross check a text password with a hashed one. If this was possible, no password woule be safe on the web. |
Hello all, i have a small question, i data dumped my torrent file and i forgot how to convert the date string to an actual date. Example. ["creation date"]=> float(1392057306) I havent worked with php in a while and im finally getting back into my project. Thanks for any support. | |
Re: @SimonIoa, the onfocus event will remove the "Search". With that being said, SimonIoa still has a point. You should have that in your input if you are asking to verify if its blank or not. Instead of calling a $_REQUEST, use $_POST instead. $_REQUEST is the default if you didnt … | |
Re: This post is dead, dont bring it back. Besides, dont hijack peoples post. | |
Hello all, im having some problem, i have a function call dbconn which i run after my session. i can successfully connect to the database and run the mysql statement outside of the function with no problems. However, when i put it in the function and return it, nothing happens. … | |
| |
Re: To display your form in an iframe, you must first put the form onto a page and save it.. let call it form.html. Then you must link that page to the iframe. <iframe id="something" border="0" width="500px" height="500px" src="form.html"></iframe> Hope this helps | |
Re: Have you tried calling the function with onblur then get the value to pass? <input type="text" name="txtSearchPolicyNumber" id="txtSearchPolicyNumber" onblur="showResults();" /> When you perform the "onBlur", it will call the function, get the value and check to see if its blank. function showResults() { var policynumber = document.getElementById("txtSearchPolicyNumber").value; if ( policynumber … | |
| |
Re: - ok, extract xampp (the .zip version) to a drive or directory (D: or C:) and it will create a folder. - Go into the folder and click on control(beta).exe and after that pops up, install the services for http and mysql and start the services. Installing the services will … | |
Re: Here you go [w3schools.com](http://www.w3schools.com/php/func_mail_mail.asp) | |
Re: When i run this statement, it works fine for me. What does the error say? $sw11 = "hi"; $symp39=$sw11.";"; echo $symp39; | |
Re: Have you tried putting session_start() at the top of the page? | |
Re: The only thing i can think of is, 1) your hardrive is spinning up, and 2) some programs have to get loaded, so its slowing down the time to get to the desktop. | |
Re: try this website, it will help you to use mime content type. Hope that helps | |
Re: Whats the code for the _partialview page? That will be better to look at than a 2 line code that no one can help you with. | |
Re: Well is the person running this page on his own server? Also, did he change "table1" to what ever the table name is, in the SQL statement? | |
Re: Try just comparing the two variables of the dates. var strtdate = document.getElementById("x_START_DATE").value; var enddate = document.getElementById("x_END_DATE").value; if(strtdate >= enddate) { window.scrollTo(0,0); alert("End date should not be less than start date."); return false; } else { alert("Good"); } | |
Re: in your select input, have an onchange function that will call a function that will reload the page (or direct to another) with the value in the url. <select name="cars" onchange="myfunction()"> then call for the redirect function. function myfunction(){ var sel = document.getElementById("cars").value; window.location = "yourpage.php?id="+sel; } Then use the … | |
Re: Do you have 4 ram slots (Channel A and B)? I think you have 4 slots. You have can up to 4GB total, but will only be able to utilize the 3GB rule. You must have either 2 or 4 ram sticks installed, but not have 2 in channel A … | |
Re: That because something is using port 80. in the control panel, there is a button called port check. It will tell you what program is using that port. | |
Re: This is a really good website that i learned from. [W3Schools](http://www.w3schools.com/ajax/default.asp) | |
Re: you could try this to detect the browser. if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) { // some code.. } | |
Re: Ibrahim Hossain, dont hijack this post. If you have a problem, start your own thread, otherwise delete your comment. | |
Re: Can you please post your php code, because this is a problem with your mysql statement. Thanks |