Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sjaakdelul

    strip_slashes

    This code works: $diagnose = $_POST['diagnose']; $_POST['diagnose'] = ereg_replace("\"",""",stripslashes($diagnose)); Now, I want to add these one: $_POST['diagnose'] = ereg_replace("\'","´",stripslashes($diagnose)) How can i use...
  2. sjaakdelul

    strip_slashes

    OK, "hey" becomes \\\\\\\"hey\\\\\\\" but, 'hey becomes So, when the user use ' in the inputfiled, the data gets lost! Is the any solution and answer for this problem?
  3. sjaakdelul

    strip_slashes

    I've this form: <html> <head> </head> <body> <? switch ($target) { case &quot;&quot;: stap3(); break; case &quot;stap31&quot;: stap31(); break; case &quot;stap310&quot;: stap310(); break; case &quot;stap4&quot;: stap4(); break; } function stap3() {...
  4. sjaakdelul

    resolutions

    Sorry, the url is: http://members.rott.chello.nl/jmolegraaf/GOT/index.html Thx
  5. sjaakdelul

    resolutions

    I've create a background image. My website is create within 5 frames, one top, nbottum, main, left and right frame ... The image should be as one background-image at all the frames. I've sliced the images and saved the parts for the different frames. At each frame, I've set the right part of the...
  6. sjaakdelul

    Hey, At home I had a mysql serve

    Can another version of apache or php be the reason for the problem?
  7. sjaakdelul

    Hey, At home I had a mysql serve

    Hey, At home I had a mysql server (3.23), PHP (4.2.2)and an apache server ... until the big crash :( Now, I've saved my files at a server of a friend. But when I run the scripts, I get the follow error: &quot;Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result...
  8. sjaakdelul

    Updating variables

    This is the goodone: //Execute query $result = mysql_query(&quot; SELECT * from cijferlijst WHERE 1 AND vak = '&quot;. $vakkeuze1 . &quot;' &quot;); Thx 4 all
  9. sjaakdelul

    I am using php4.2.2 and the newest

    I am using php4.2.2 and the newest version of mysql. The database CREATE TABLE cijferlijst ( Kwartaal int(1) default NULL, vak varchar(5) default NULL, cijfer1 varchar(4) default NULL, cijfer2 varchar(4) default '-', cijfer3 varchar(4) default '-', cijfer4 varchar(4) default '-'...
  10. sjaakdelul

    Updating variables

    It didn't worked ... I've tried 10 other variants, but use a variable in the update or select line still didn't worked ... Anyone knows more about this problem?
  11. sjaakdelul

    Updating variables

    Ok, now I've this select line: //Execute query $sql = 'SELECT * FROM `cijferlijst` WHERE 1 AND `vak` = \'Proj1\' LIMIT 0, 30'; $result = mysql_query($sql); Phpmyadmin advise me to use a variable in the line like this: $sql = 'SELECT * FROM `cijferlijst` WHERE 1 AND `vak` =...
  12. sjaakdelul

    Updating variables

    Hmmz...disapointed, it didn't work I create another file to test the update line. This works and I copy and past it into update2.php: <?php if ( $_POST[vakkeuze]>A ) { $vakkeuze1=$_POST[vakkeuze]; echo &quot;$vakkeuze1<br>&quot;; } else { echo &quot;Voer de juiste vakafkorting...
  13. sjaakdelul

    Updating variables

    Ok, thx, I'll try it tomorrow :-)
  14. sjaakdelul

    Updating variables

    I am using php4.2.2 and the newest version of mysql. Database: CREATE TABLE cijferlijst ( Kwartaal int(1) default NULL, vak varchar(5) default NULL, cijfer1 varchar(4) default NULL, cijfer2 varchar(4) default '-', cijfer3 varchar(4) default '-', cijfer4 varchar(4) default '-'...
  15. sjaakdelul

    Apache and PHP

    Ok, it's working now. I forgot to remove the php.ini file in the php directory ... This file was conflicting with the php.ini file in the directory windows. Thx 4 all
  16. sjaakdelul

    Apache and PHP

    In the post above, IE6 explorer siad he couldn't find the file. But it was there ... Now, I've setup httpd.conf again and install php as module instead of cgi in the post above... The changes are: Added/changed the lines: # # ScriptAlias: This controls which directories contain server...
  17. sjaakdelul

    Apache and PHP

    Hey, I've installed apache and php. Apache is working very good, but php not ... I hope you can help me to configure it to a good way. I've done the follow steps: In apache: ServernameAdmin = themarti_m@hotmail.com ServerName = 213.93.xxx.xx (my ip-adress) Added/changed the lines...
  18. sjaakdelul

    JDK. JSE and SDK

    Short question: I've always used JDK1.1.8, now I want to update to jdk 1.2.2. So I went to http://java.sun.com/ and opened the download page. But I can only download JDK1.1.8, and JSE en SDK? What's the difference between them, and which file is the new JDK-software?
  19. sjaakdelul

    Positive numbers

    Ok, I know how to read some numbers in java, for example with the 'MyInput' methode... But how can java decide if the numbers are positief (or negative) and which of the (5) numbers is the bigest number of them? I don't expect a whole code, but just a few words, which can help me to make the...
  20. sjaakdelul

    relative path

    ok, stupid of me ... the code is: '..\index.html' site = http://www.techcorps.org/webteacher/winexp/navigate/path.html Close this thread and sorry for posting it ...

Part and Inventory Search

Back
Top