Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
71% Quality Score
Upvotes Received
21
Posts with Upvotes
21
Upvoting Members
15
Downvotes Received
8
Posts with Downvotes
8
Downvoting Members
7
7 Commented Posts
4 Endorsements
Ranked #396
Ranked #265
~137.91K People Reached
Favorite Tags
Member Avatar for danielbala

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, …

Member Avatar for 3.15127E+11
0
10K
Member Avatar for fobos

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 …

Member Avatar for diafol
0
2K
Member Avatar for sowmya.murthy

Google is a really useful tool. http://www.w3schools.com/js/js_form_validation.asp

Member Avatar for ankti
0
398
Member Avatar for klemme

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 } ?>

Member Avatar for Caio_1
0
7K
Member Avatar for sundeep.gurroby

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.

Member Avatar for sundeep.gurroby
0
611
Member Avatar for fobos

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.

Member Avatar for Hiroshe
0
191
Member Avatar for SimonIoa
Member Avatar for SimonIoa

@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 …

Member Avatar for fobos
0
341
Member Avatar for MeixiuLin
Member Avatar for fobos

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. …

Member Avatar for diafol
0
186
Member Avatar for shrikanthnk
Member Avatar for shrikanthnk
0
544
Member Avatar for Gloak

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

Member Avatar for Gloak
0
387
Member Avatar for dinhunzvi

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 …

Member Avatar for dinhunzvi
0
193
Member Avatar for PF2G
Member Avatar for LastMitch
0
288
Member Avatar for shasha821110

- 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 …

Member Avatar for VR4Creativity
0
187
Member Avatar for vivek221

Here you go [w3schools.com](http://www.w3schools.com/php/func_mail_mail.asp)

Member Avatar for AARTI SHRIVAS
0
156
Member Avatar for HasNor

When i run this statement, it works fine for me. What does the error say? $sw11 = "hi"; $symp39=$sw11.";"; echo $symp39;

Member Avatar for HasNor
0
212
Member Avatar for abhi10kumar
Member Avatar for broj1
0
152
Member Avatar for ganges

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.

Member Avatar for Sadun89
1
186
Member Avatar for Setvir
Member Avatar for fobos
0
164
Member Avatar for jrosh

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.

Member Avatar for stbuchok
0
262
Member Avatar for bradly.spicer

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?

Member Avatar for bradly.spicer
0
163
Member Avatar for venkyb47

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"); }

Member Avatar for venkyb47
0
228
Member Avatar for garyjohnson

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 …

Member Avatar for garyjohnson
0
526
Member Avatar for archie.herbias

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 …

Member Avatar for webjack
0
208
Member Avatar for itsmeurdude

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.

Member Avatar for veedeoo
0
360
Member Avatar for hwoarang69

This is a really good website that i learned from. [W3Schools](http://www.w3schools.com/ajax/default.asp)

Member Avatar for hwoarang69
0
130
Member Avatar for wolfgangcs

you could try this to detect the browser. if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) { // some code.. }

Member Avatar for wolfgangcs
0
226
Member Avatar for GraficRegret

Ibrahim Hossain, dont hijack this post. If you have a problem, start your own thread, otherwise delete your comment.

Member Avatar for GraficRegret
0
100
Member Avatar for missy_mi

Can you please post your php code, because this is a problem with your mysql statement. Thanks

Member Avatar for broj1
0
178