Jump to content
Killersites Forums

gilbertsavier

Member
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About gilbertsavier

  • Rank
    New member
  1. Hi, Going to try to explain this as best I can. I have a bunch of stuff in a database and I need to display this info within a table. This isn't a problem at all but, I need it to only display 3 td tags per line and then move on to the row. so i need it to do : code: My First Row My First Row 2 My First Row 3 My Second Row My Second Row 2 My Second Row 3 and continue to do this through every entry in the database table. so I have something like this that will display the info: code: for ($i = 1; $i <= $num; $i++){ $chairArray = mysql_fe
  2. Hi, Now we can create our upload.php file. To start we'll check that the file upload is safe by setting a list of allowed filetypes and disallowing all other file uploads. This will prevent people from uploading malicious files. Then we will check the filesize to prevent large files from being uploaded. <?php // Configuration - Your Options $allowed_filetypes = array('.jpg','.gif','.bmp','.png'); // These will be the types of file that will pass the validation. $max_filesize = 524288; // Maximum filesize in BYTES (currently 0.5MB). $upload_path = './files/'; //
  3. Hi, I have a form that asks the applicant for previous involvement. They have the option of entering up to three rows and after they press submit the computer needs to enter possible multiple rows. Here is my form code: Other involvement during high school, college (clubs, sports, work, volunteer, etc.): Activity Position Start Date End Date Here is the insert1.php file <?php $con = mysql_connect("localhost","Application","*******"); if (!$con) { die('Could not connect: ' . mysql_erro
  4. Dear fellow web developer, Whether you are a JavaScript novice or a seasoned professional, JavaScript Editor turns your website into the real magnet for your visitors - and gives you the edge to set you miles apart from your competitors. If you are like me, you are probably using Dreamweaver, Front Page or some other visual HTML editor for your web design. They do a great job in many ways, but have you ever tried to use them to do any of the following: * Add rollover multilevel menu to your pages * Make sure people enter a valid email * Hide your email from spam
  5. Hi, I am trying to validate a form, and am getting the error messages as needed, but it submits the form anyway. Here is the Java: function validate (form){ var returnValue = true; var email = CSLavRequestForm.email.value; var phone = CSLavRequestForm.phoneNumber.value; var groupName = CSLavRequestForm.workshopName.value; if (email.length < 6){ returnValue = false; alert("Please Enter Valid email"); CSLavRequestForm.email.focus(); } if (phone.length < 10){ returnValue = false; alert("Please Enter Valid Phone Number"); CSLavRequestForm.phone.focus(); } if
×
×
  • Create New...