ref id in mysql/php
Hi I have a table with id auto increment , I have another field is ref_id, i want to add same numeric data in this field for every 5 row & after every 5 row it will auto crease the no#. Is this possible, if yes how can I do this? Here below , what I want to do? Mysql-table id---ref_id 1----55 2----5...
POST not selecting inputs from js added row(s)
A table initializes with one row, four cols, input type button(first row button adds a row, subsequent row buttons delete that row),input type text name Titles[], input type number name ExpYears[], input type number name ExpMonths[]. The user can add one or more rows via a button (JavaScript). I add...
best practices when setting sizes and spacing
In a previous question, I was advised against using set pixel sizes for height, width, text, etc. I was also advised against using the "align" attribute. I'm still lea ing a lot about html/css, so I want to make sure I lea what is considered best practices, and not just self teach myself a bunch of ...
Question about free teamplates!
Hello guys i am new as web development :) I know its a stupid question but there are some free teamplates out there that can be used even for commercial use,like "www.tooplate.com" . This means it gives you css and html for free to use, then u change some content and images and u ready to give on! S...
Slideshow URL Help
I am having an issue setting the url path for the slideshow. I have up to 5 slides that run on my homepage. www.nsbar.org I want the slide to be hyperlinked, not just the Register Now Button. Currently the slides are defaulted at <a href="#"><img src="<?php echo $image_path ?>"></a> <?php if ($rows)...
Why are my tmp files vanishing before I can move them?
Hi! I do not understand what is going on here. I upload a few files from an HTML form (no php) and the action is to a page upload.php This is upload.php PHP Code: <?phpconst ICON_UNZIP_DIR = 'C:/Temp/icons/';echo "<pre>";print_r($_FILES);echo "</pre>";$filesTotal = count($_FILES['upload']['name']);e...
if statement is true , but its not working in PHP
Please see below code, when if statement is true then its showing the result of else statement. Code:         <?php                 include 'db_co ection.php';                 include 'reader.php';                          &nb
Simple Switch Statement help
I am lea ing php, and i am having problem with a switch statement tutorial, I am getting this error: Code: Notice: Undefined variable: day in /opt/lampp/htdocs/test/zzz.php on line 34 This is my code: Code: <!DOCTYPE html> <html> <head> <title>Excercies</title> </head> <body>                  
Why jquery code doesn't affect html?
Hi I'm starting with Jquery. I need to change the background-color from my navbar, mouseover. I've tried a lot of tutorials. I guess there is some small detail missing. I would appreciate your help. Code: // A $( document ).ready() block. $( document ).ready(function() {     $("h1").text("It works!"...
Redirect if not logged in
I am using the following PHP to validate a login and set a session variable (named id) to the retu ed ID value that was queried: PHP Code: if(password_verify($_POST['password'], $row['password'])) {  // Assign the session [id] to the use ame's id  $_SESSION['id'] = $row['id'&#9
Page load effect
Hello, I am working on a project and I am looking to obtain a similar page load effect as this website: https://web.archive.org/web/20170624...sors.com/about How it works: If you scroll to the bottom of the page and click on the footer it will then expand to a new page. Does anyone know of a plugin ...
Automatically Updating Policy Pages
Hi, All! I hope you can help with this. :) My current role as a web developer involved me developing and maintaining multiple websites under the same trust of schools. This means it is one "trust" that has around 10 different websites. The new CEO of the trust has asked if we can develop a system wh...
Visual Basic Program
Hello, I new to work with visual BASIC and i want make a program that i have two buttons and when i click the button the ligth of the other button tur on and iff i click again the ligth tu off. Someone can help me?
Pop-up dialog box with buttons and timestamp?
Hello everyone. I'm by no means a developer and have been assigned some light development work regardless. I can usually take pre-existing code and manipulate it to suite my needs but after googling around quite a bit I can't really get going on what I would like to accomplish. For the background of...
Search box problem.
I made a search box for my website. The text box and button lines up right in chrome but firefox and ie it does not line up. Code: /****************************************************************************************************************************************** searchbar*/ .tftextinput4{ ba...