Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Basically what you're saying is there are two forms, and you want to consolidate them into one? Let me take a look at the files and see what the deal is. Edit: both of the forms go back to index.php - We'd need to see that, and I have a feeling it's a whomper of a file. This code doesn't sanitize any user data, it suppresses errors and doesn't check for them... What is it? Like, what did you buy the site for, what does it do?
  2. isset is for checking if any variable is set. What is the actual problem here?
  3. I assume it's in the attached file. You should ask the programmers who wrote it for some support.
  4. If you show us some of the code or a link to the site we can help better.
  5. So you're trying to set headers after you've output text to the browser. You have to do your setcookie BEFORE printing that HTML.
  6. $birthdate = $year.'/'.$month.'/'.$day; To help any more we'd need to see CODE.
  7. $arr = $_POST['alsolike']; print_r($arr);
  8. headers already sent by (output started at /www/cida.ge/doc/index.php:42 What is line 42?
  9. Make the name alsolike[] - this will $_POST an array of the values selected.
  10. Does anyone use a PHP Documentation Generator? I'm trying to decide which one I should use, if any. Any comments on which ones you prefer would help
  11. You need to post your code within the code tags, so we can see what is really going on there. And keep proper indentation.
  12. $member LIKE ('alpha%')
  13. If the name is a string, it needs to be in quotes in your sql. $schoolname = $_POST['school']; $school = mysql_query("SELECT school_id FROM tbl_school WHERE schoolname = '$schoolname'");
  14. Knowledge is so scary, I can see why you'd want to avoid basic knowledge on a technology you're using at ALL COSTS. Good choice. Cumbersome and messy: <cfif Request.ID IS "47"> vs if($_REQUEST['id'] == 47){ I can see how they're so confusingly different and PHP's version is incredibly hard and just makes no sense at all.
  15. Post the new code. A blank screen likely means you have an error. Turn on error_reporting.
  16. You could just print it instead of using an input, that way they won't even try to edit it.
  17. Well there you go, it's called desil, not test... Are you actually selecting any?
  18. I think you need to read some basic tutorials and perhaps pick up a teach-yourself book so you can learn the basics.
  19. echo 'You selected ',$n ,'<br />'; You need . not ,
  20. You can only return one variable. Try putting them all into an array, and return that array.
  21. I don't know what the appropriate js is to remove tags. I'd use ajax to power the character counter.
  22. I think artacus's way is best. You can have the script redirect to itself passing the next number to start at, so it's constantly refreshing with progress.
×
×
  • 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.