kimi2k
-
Posts
9 -
Joined
-
Last visited
Posts posted by kimi2k
-
-
Show your query and database structure
-
maybe you have empty query, or this columns no available...
make for test:
while($far = mysql_fetch_array($query)){
var_dump($far);
break;
...
-
mysqli_stmt::bind_param
http://php.net/manua....bind-param.php =>
Binds variables to a prepared statement as parameters -
Try to experiment with .mouseout() http://api.jquery.com/mouseout/ or .mouseleave() http://api.jquery.com/mouseleave/
-
Really, you send to mail so much parameters, read the documentation for mail().
also try phpmailer...
-
Nice game, but font realy annoying
-
function "getSelectedText " - return text from selected option...
if you whant full sentences, do this:
<script type="text/javascript"> function getSelectedText(elementId) { var elt = document.getElementById(elementId); if (elt.selectedIndex == -1) return null; return elt.options[elt.selectedIndex].text; } function change() { var text = getSelectedText('sel') document.getElementById('tex').innerHTML= 'SSS'+text; } </script> <select name="godel" onchange ="change();" id="sel"> <option value="NUM1" >first line</option> <option value="NUM2" >second line</option> <option value="NUM3" >etc...</option> </select>
-
Try this:
<html> <head> </head> <body> <script type="text/javascript"> function getSelectedText(elementId) { var elt = document.getElementById(elementId); if (elt.selectedIndex == -1) return null; return elt.options[elt.selectedIndex].text; } function change(num) { var text = getSelectedText('sel') document.getElementById('tex').innerHTML= 'SSS'+text[1]; } </script> <select name="godel" onchange ="change('a');" id="sel"> <option value="NUM1" >aa</option> <option value="NUM2" >bb</option> <option value="NUM3" >cc</option> </select> <br/> <div id='tex'> </div> </body> </html>
tested in Chromium 22.0.1229.94
-
Greetings all at this forum! I'm working with php about three years and I'll be glad to exchange of experience
I need help to insert some data in mysql
in PHP Coding Help
Posted · Edited by kimi2k
You're foreget bracket in your query: