Jump to content

kbh43dz_u

Members
  • Posts

    96
  • Joined

  • Last visited

About kbh43dz_u

  • Birthday 12/11/1980

Profile Information

  • Gender
    Male
  • Location
    Basel, Schweiz

kbh43dz_u's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. please change my username to "kbh43dz_u". thx a lot!
  2. are your settings really saved? (do they still exist when you reopen the config file?) ...you should try restarting your webserver (software not hardware). If it's still OFF there must be another PHP.ini anywhere else.
  3. <div id="myDiv" style="display:none"></div> and when you pass something bigger to your javascript function it could do this to make it appear: document.getElementById("myDiv").style.display = "block";
  4. but this is still not php but javascript ... if you want php only there will be no way - except setting a timeout for the script (but the client will not get the result until the timeout is over)
  5. are you talking about javascript or java-server-pages (jsp)? your javascript has to be in javascript-tags like <script>function myFunction(){}</script> for more details we need your script.
  6. ... I just got it running ... the module .load and .conf were missing and incorrect.
  7. ...I would need it for debian etch! (but if it doesn't work i could change distribution)
  8. Hello! I need PHP6 (snapshot) installed for a project and it is just not working >.> Did anyone try to install it? I used 4 tutorials but I couldn't figure out how to get it working. I already managed to have it compiled completely but then the mudule-files (.so) were missing and I couldn't integrate it.... there must have been a lot wrong with my way to install it. Does anyone know more about, or have other tutorials.... or maybe someone could tell me how he installed it.... best regards! (used tutorials: http://blog.agoraproduction.com/index.php?/archives/19-Installing-PHP6-For-beginners.html http://www.v-nessa.net/2007/02/26/how-to-install-php6 http://www.bencornwell.com/2007/11/18/php-6-installation-guide-for-ubuntu-710-gutsy-gibbon/ http://www.journaldunet.com/developpeur/tutoriel/php/071106-php6-apache-ubuntu.shtml )
  9. Try ALTER TABLE tablename AUTO_INCREMENT = 1 It should set auto increment to the number of your last entry + 1. (Setting it to 0 when you have entries will not work ) I hope I could help you. edit: if you want to add an entry with an auto increment number which you deleted before you can use: SET insert_id = 8; INSERT INTO tablename VALUES (’field1’, '…'); (for example if you have entries from 0 to 10 but deleted entry number 8 )
  10. $domain = "xyz.com"; $entry = dns_get_record($domain, DNS_MX);
  11. ..> Your script (check music() should look like that: <script language="JavaScript" type="text/javascript"> <!-- function check_music() { if (document.getElementById('music_fan').checked && document.getElementById('musician_name').value == "") { alert( "error - but my script works." ); document.getElementById('musician_name').focus(); return false; } return true; } //--> </script> The Value of "Music_fan" is ALWAYS == 1 because you never change the value of it - you just select it or not (this is why it always alerts you). also if you select the other checkbox, the value of checkbox one doesn't change. You want to use ".checked" ... ask if it is checked. (you don't need the values of the checkboxes in your script.) In my example I'm calling the fields with "document.getElementById('musician_name')" so you will have tho add ID's for your fields - it's better because than your calls are unique. (I added id="music_fan" to checkbox 1; id="music_fan2" to checkbox 2 and id="musician_name" to the musician_name-field. If you also want to check for a selection in the drop-down field you have to extend this script)
  12. sorry, i missed that it's about Javascript
×
×
  • 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.