Jump to content

Nyuszer

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Everything posted by Nyuszer

  1. i told you, just try to delete the 3. line in style.css i did that in chrome (with inspect element) ant it worked after...
  2. just delete the 3. line: font: normal 22px Tahoma, Arial; there is something wrong with this line, but you can set font with seperate properties (font-weight, font-family, font-size etc)
  3. 1. http://php.net/stripslashes 2. are you using html <br /> tags for the new line or simple pressing enter? 3. this is because you are passing the message in the url, and if php gets in url ... &message=some_text&some_text1&security_code ..., $some_text1 will be a seperate variable in $_GET. you have to replace every & with stomething else in your javascript and change back to & in the php code
  4. are you sure you used session_start() everywhere you use the student's session?
  5. you are trying to update columns that does not exist. $needsSet=$result['camperGroupID']; returns the value of camperGroupID from the current row. so your update query is something like this: UPDATE CamperMedicationInfo SET 3=2 WHERE 4=2 you have to use: $update=mysql_query("UPDATE CamperMedicationInfo SET camperGroupID=2 WHERE campGroupID=2");
  6. you should use mktime() to convert your date to unix timestamp $due = mktime(0,0,0,$month,$day); print date("M j", $due);
  7. line 101: echo"email already used"; if you get parse error, always check the line mentioned in the error and the line before that
  8. line 46 if ($email != $email1) {
  9. just use echo $sql; and check that the query is ok also make sure that the user and pass for login is the same as that is in the mysql table for learning: http://w3schools.com/php/default.asp
  10. for debugging try to print out the $sql var
  11. echo '<option value="'.$row['klant_id'].'">'.$row['naamKlant'].'</option>'; edit: omg, i'm too slow
  12. change <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <?php require_once "index.php"; ?> <head> to <?php require_once "index.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> session id is stored client side in cookies and php can't send any cookie after any html code
  13. Use global $your_array;[/cods] at the beginning of the function
  14. Hi. I want to run a console app in browser. So i want that the app runs online, but the client can write to it's input and get back the output. For example i have a console program that reads in the user's name, and writes to the client "Hi, {name}". Can anyone tell me how can i realise this?
×
×
  • 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.