Jump to content

coleby58

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

coleby58's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you both of these helped, I just needed to know where to start researching. I have been using dreamweaver to design this page and I will look into using the spry check boxes and validation features I never even thought of doing it that way. Thank you!
  2. Hello everyone first let me just say I have not actually started this script I have been confused on how to go about doing this and what would be easy and efficient. I have a webpage that has multiple div boxes, each with a unique id (b1, b2, etc) and the same class ("box"). The idea is that people try to pick the right boxes out of all of them. So I need a script where users can click on ten different boxes (or links in the box) and then the script should check if those are the right boxes then either return with you win or you don't win. My questions are: Can this be done using php? Should there be two scripts? (one that inserts the box value into a form & one that checks the form values with the winning values) Is their a script already made that would work for this? Thank you for checking this out, I’m not asking anyone to do all the hard work for me or hold my hand through it I just simply need to know where to start or get a basic idea of what the script would look like. All help is appreciated, any questions or need more information just ask.
  3. Hello there I'm sorry if this has already been solved somewhere I have looked for a while. I have a website where a user submits information in a form on a page then on submit the next page displays there info. What I need is when there info reaches a certain length in the DIV on the display page I need it to go drop to the next line and indent 5 spaces. All my pages refer to my css page so it would be nice if I could put one code in that page instead of on 100 pages. here is an example of how I have the display page set up: <html> <head> <title>Example</title> <link rel="stylesheet" type="text/css" href="example.css"/> <script type="text/javascript" src="example.js"></script> </head> <body> <center> <div id="logo"> <a href="index.php"> <img border="0" src="example.JPG"> </a> </div></center> <div id="example"> <?php $info = $_POST['info']; if ($info=="") echo ""; else echo "$info"; ?> </div> </body> </html> ---------------------------------------------------------- As you can see there info is displayed with php. I'm still a begginer so I'm sorry if css is not the solution to my problem.
  4. Haha total noob mistake. I restarted my server and it works like a champ! Thanks!
  5. I finally found the right php.ini (apparently there are two in XAMPP) and set both of them to magic_quotes_gpc = Off and it didn't change anything
  6. Hello everyone, sorry if and issue like this has already been solved I have looked for a while now. I am designing a page on my web site where a user types in something and clicks submit and then they go to a new page where there text is displayed here is my code on the page they type it: <div id="inputform"> <form method="post" action="inputform.php"> <table width="0%"> <tr> <td width="50%"> Type a Sentence: </td> <td width="50%"> <input width="200" type="text" name="userinput"> </td> </tr> <tr> <td> <center><input type="submit" value="submit" /></center> </td> </tr> and on the page it is displayed on (inputform.php) I have: <?php echo $_POST['userinput']; ?> this seems to work great except say they user types "I like bob's bike" the next page will display "I like bob\'s bike" For some reason it places "\" before any quotes used in the users input how can I fix this? Thanks! (sorry this was a long entry)
×
×
  • 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.