Jump to content

kimi2k

Members
  • Posts

    9
  • Joined

  • Last visited

kimi2k's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. You're foreget bracket in your query: mysql_query("INSERT INTO myDataBase (stringData) VALUES ('{$myString}')");
  2. Show your query and database structure
  3. maybe you have empty query, or this columns no available... make for test:
  4. mysqli_stmt::bind_param http://php.net/manua....bind-param.php =>
  5. Try to experiment with .mouseout() http://api.jquery.com/mouseout/ or .mouseleave() http://api.jquery.com/mouseleave/
  6. Really, you send to mail so much parameters, read the documentation for mail(). also try phpmailer...
  7. Nice game, but font realy annoying
  8. 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>
  9. 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
  10. kimi2k

    Hello

    Greetings all at this forum! I'm working with php about three years and I'll be glad to exchange of experience
×
×
  • 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.