10,325 Topics
![]() | |
Hi all, I am trying to create a multiple drop down list in my codeigniter project with the following hierarchy Dzongkhag(District)->Geog(Town) ->village. I am unable to get any display in the town and village drop down list. The following are the snippets from my project. //controllers/form.php $data['dzongkhags'] = array( 'Bumtang' … | |
Sir I am trying to create dropdown menu, so i have these codes <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <style type="text/css"> #box1 { width:350px; height:150px; padding:5px; border:1px solid blue; margin:50px auto; overflow:auto; } #menu ul li { … | |
Hi everyone Please I would really appreciate if someone could help with a code on how to add an image to a footer using css: Here's is my footer code: CSS: #footer { width:920px; margin:0 auto; background:url(../../images/footer.png) } .footer-cities { padding:15px 10px 10px 20px; border-bottom:1px dotted #fff } .footer-cities-holder { … | |
hi there, for the last one week I am deliberately trying to solve my problem. **Pls help me** For your better understanding, Layout of my page is something like this : Part -A -------- [ Dropdown list ] [ TextBox ] [ Table -1 ] Part - B -------- [ … | |
Sir I have these codes <!DOCTYPE HTML> <html> <head> <title>Untitled 1</title> <style type="text/css"> #box1 { width:400px; height:60px; padding:5px; border:1px solid blue; margin:50px auto; overflow:auto; } #menu ul li { display:inline; margin:2px; background:khaki; width:150px; height:50px; color:blue; font-size:14px; font-weight: bold; padding: 10px; border-radius: 10px 10px 0 0; } #menu ul li a:hover … | |
Can a navbar created in PhotoShop be converted to a drop down list via CSS / JavaScript in DreamWeaver? | |
<?php ob_start(); header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); include "admin/include/config.php"; include "temp_config.php"; //session_start(); $tmp = $_SESSION['tmp_id']; $cartsql = mysql_query("SELECT * FROM `cart` WHERE `temp_id` = '$tmp'"); $cartnum = mysql_num_rows($cartsql); // For Check the cart is empty or not... ob_end_flush(); ?> <!DOCtype html> <html lang="en"> <head> … | |
trying to display four images in row. html code` <section class ="selection-meals"> <ul class="meal-showcase"> <li> <figure class="meal-photo"> <img src="resources/css/imgs/1.jpg" alt="meal1"> </figure> </li> <li> <figure class="meal-photo"> <img src="resources/css/imgs/2.jpg" alt="meal2"> </figure> </li> <li> <figure class="meal-photo"> <img src="resources/css/imgs/3.jpg" alt="meal3"> </figure> </li> <li> <figure class="meal-photo"> <img src="resources/css/imgs/4.jpg" alt="meal4"> </figure> </li> </ul> <ul class="meal-showcase"> <li> … | |
Hi, I have an unusual problem, I am developing within a wordpress environment and using a plugin. To futureproof the plugin I do not want to edit the code that is generated to include HTML tags, because when the plugin is updated it will overwrite my change. I am looking … | |
When creating new item (post/article or whatever you call it), there is dropdown called Type of Article where you can select different types of article/post. While I understand the idea behind it, I dont understand what changes when user selects each option available there? At least change is not visible … | |
Hi guys I'm using the script `add_address.php` to output a list of email addresses from the `message` box to allowed me to split the email addresses to add to each comma. I want to output the email addresses from the `message` box to the `text` box in the `send.php` script … | |
I am making a game where a user has to move a character around a grid and collect passengers. I have managed to construct this grid using some CSS and jQuery however I now need to add a player to the grid and have them move one square at at … | |
Hello Experts I have following codes <html> <head> <style type=text/css> #box1{ margin:0 auto; border:1px solid green; width:400px; height:70px; color:blue; padding:10px; overflow:hidden; background-image:url(images/DREAM.JPG); background-size:100% 100%; background-repeat:no-repeat; } #logo { width:120px; height:70px; background-image:url("images/asia.png"); background-repeat:no-repeat; background-size:contain; float:left; } .bg{ height:100%;width:100%; } </style> </head> <body> <div id="box1"> <div id="logo"></div> <div style=float:left;><p style=font-weight:bolder;color:blue;font- size:20px;margin-top:10px;>How to … | |
I was looking for something similar myself a few days ago, and found the odd example of a CSS based monopoly-type game board. To be honest, they were all shabby examples made with code that left my eyes bleeding. I decided to make my own board and get it right … | |
I am issues involving the CSS for my HTML index page. I will be honest, I did not write all of the mark-up/code so now I am in discovery/repair mode and find myself a bit lost in regards to the external CSS file. I have gone over and over it, … | |
Sir I have these codes <html> <head> <title>untitled</title> <style type="text/css"> #box5{ margin:10px; width:250px; height:250px; border:1px solid green; overflow:auto; float:left; background-size:50%; background: url(https://developer.mozilla.org/media/img/mdn-logo.png); background-repeat:no-repeat; background-position:center; padding:20px; opacity: 0.2; } #box5 p{ opacity:1; color:red; font-size:18; font-weight:bolder; } </style> </head> <body> <div id="box5"> <p>This text is normat text over opacity background</p> </div> </body> … | |
Hi guys! I have a database which holds a table called users. in there i have a balance column which contains a numeric value. I have the following code and for some reason it doesnt work: <?php session_start(); include_once("config.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search</title> … | |
Sir I am using these codes <html> <head> <title>untitled</title> <style type="text/css"> #boxA{ float:left; } #boxB{ float:left; } #boxC{ clear:left; } #boxD{ float:left; } #boxA, #boxB, #boxC, #boxD{ border:1px solid green; text-align:center; line-height:100px; margin:10px; width:100px; height:100px; } </style> </head> <body> <p>First Row</p> <div id="boxA">Box A</div> <div id="boxB">Box B</div> <p>Second Row</p> <div … | |
Any body help me But i am not getting values when clicking button "getValue" my code is <html> <head> <title>jQuery add / remove textbox example</title> <script src="jquery.min.js"></script> <style type="text/css"> div{ padding:8px; } </style> </head> <body> <h1>jQuery add / remove textbox example</h1> <script type="text/javascript"> $(document).ready(function() { var max_fields = 10; //maximum … | |
I am using codeigniter if ($this->form_validation->run() ) always returns false. please help me out with this Here is my controller and view page as shown bellow This is controller admin.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Admin extends CI_Controller { public function index() { $this->login(); } public … | |
unlike most people who ask this question i have quite a good programing background mainly in python HTML CSS .bat bash and Java but i raily made gui games i would like to learn a new language that is both powerful and good at making games in beaing able to … | |
<?php include("include/connect.php"); ?> <?php if(isset($_REQUEST['submitform1'])) { $timepicker1=$_REQUEST['timepicker1']; $timepicker2=$_REQUEST['timepicker2']; echo $timepicker1; echo $timepicker2; $timepick1=explode(":",$timepicker1); $timepick2=explode(":",$timepicker2); array_pop($timepick1); array_pop($timepick2); array_push($timepick1,"00"); array_push($timepick2,"00"); $time1=implode(":",$timepick1); $time2=implode(":",$timepick2); $timeone=preg_replace('/\s+/', '', $time1); $timetwo=preg_replace('/\s+/', '', $time2); $start_date = new DateTime($timeone); $since_start = $start_date->diff(new DateTime($timetwo)); $diff=$since_start->i; echo $diff; exit; } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Bootstrap Template</title> <meta … ![]() | |
Sir I am using these codes <html> <head> <title>Center dive</title> <style type="text/css"> html body{ margin:0 atuo; margin-top:20px; } #main { margin: 0 auto; background-color: lightgreen; overflow: auto; text-align:center; height:400px; width:400px; color:blue; } #box { display:table-cell; vertical-align: middle height: 200px; width: 200px; background-color:#FFA500; border:1px solid silver; color:blue; font-weight:bolder; font-size:24px; padding:10px; margin:0 … | |
Hello guys. I Found some code Dynamically Add/Remove Rows In HTML Table Using JavaScript and I found Here : http://viralpatel.net/blogs/dynamically-add-remove-rows-in-html-table-using-javascript/ then i copy and paste and run it in my browser . its successful ok. but when i Add A Little codes is not succesfful ok. because when i click … | |
Hello. I am having a small problem involving a text label not displaying correctly over a field. It was fine until about a week ago; I believe I must have changed something and now I do not remember what I did that is causing this error. The State text label … | |
Hi there, I have the following code to define the first article on the website I'm developing Strong-Links.org <article id="me" class="panel"> <img src="/images/Strong-Links.png"> <a href="#work" class="jumplink pic"> <span class="arrow icon fa-chevron-right"><span>See my work</span></span> <img src="images/me.jpg" alt="" /> </a> </article> This basically just places two images on the page, with me.jpg … | |
I have been working with this table for some time now and i cannot figure out how to get the nested feature working correctly, when i try to insert the nested table into the original table is admitidly does go in but it removes all the formatting from my previous … | |
when i run select on temporary table in mysql it gives all records. But when i tried in my php page it give blank reason. Please help me out. | |
[ $("#flowchart22").click(function() { var xml = "\n"; $("li").each(function() { var cells = $("li", this); if (cells.length > 0) { xml += "\n"; for (var i = 0; i < cells.length; ++i) { xml += "\t<" + cells.eq(i).text() + "> </" + cells.eq(i).text() + ">\n"; } xml += "\n"; } }); … | |
Hi Guys! i have the following code: <?php session_start(); include_once("config.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>View shopping cart</title> <link href="style/style.css" rel="stylesheet" type="text/css"></head> <body> <br> <div id="books-wrapper"> <!-- #content to center the menu --> <div id="content"> <!-- This is the actual menu --> <ul id="darkmenu"> <li><a … | |
Hi guys, I need your help, I want to close a page when a button is pressed. I'm using the script `add_address.php` to output a list of email addresses from the `message` box and I want to output the email addresses to the `text` box in the `send.php` script Here … | |
Hello. I have displayed data from SQL Table in the HTML form and I want to use this same form to update COMMENT field in the sql. I have already coded my page as follows; <?php // Connect to server and select databse. $con=mysql_connect("localhost", "root", "")or die("cannot connect"); mysql_select_db("ison",$con)or die("cannot … | |
I have news pages generated dynamically using page news.php taking data that is input into a MySql table and would like to have the page title to be the same as the news headline of each page. I'm searching internet and although there is lots of info on this subject … ![]() | |
OKAY i have been working on this for a little while and i feel i am getting close but there are a few things i can't seem to find on the internet that are good examples/tutorials/reading materials. 1. i need my table to expand and collapse (got that figured out) … ![]() | |
I am posting this doubt already as a last resort. I want to insert 0 or 1 into the Boolean / TINYINT. I used var_dump and I see that html always passes as False (0). I will post part of the code of html, php and mysql. Any help will … | |
Hi I collected the code from internet. i am trying to use dependent dropdown in the popup screen. i can able to display first dropdown in a popup but i am unable to display the second dropdown. can any please help me to fix that issue. **test.php** <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" … | |
Hi Guys! I have the following code: <?php session_start(); include_once("config.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>View shopping cart</title> <link href="style/style.css" rel="stylesheet" type="text/css"></head> <body> <br> <div id="books-wrapper"> <!-- #content to center the menu --> <div id="content"> <!-- This is the actual menu --> <ul id="darkmenu"> <li><a … | |
hello friend, i have a div content and a sidebar content take 60% and sidebar take around 40% the thsi my css #sidebar { clear: none; float: left; margin-left: 1.4492%; width: 34.7826%; display: block; } #content { clear: both; float: left; margin-left: 0; width: 63.7681%; display: block; } so in … | |
Hi guys, creating a log in script so my users can login to my website. This is the code so far <!DOCTYPE html> <html> <head> <title>Richard Hemmings </title> <meta name="viewpoint" content="width=device-width, intail-scale=1.0"> <link href = "css/bootstrap.min.css"rel = "stylesheet"> <link href = "css/stylesheet.css" rel = "stlesheet"> </head> <body> <div class = … | |
Hi I have a header div which includes two divs inside as #logo and #social.Please visit this link in JSFIDDLE: [Here ](http://jsfiddle.net/Behseini/2jPrD/1/) now I have to problem to present the page 1- I would like to position the social div (right div) at the bottom of the header(parent div).can you … | |
Hello. I am attempting to add a Google reCaptcha to my form. This form is located on an .html page, but I am reading documentation that states I should rename the page with a .php suffix. I did this and reloaded the page and, obviously, nothing was displayed at all. … | |
Hi, I hope someone out there can help me. Envision this ... an accounts receivable / accounts payable super simple spreadsheet, to ultimately be maintained by someone who is not computer literate. It needs to be accessible from within the cloud (Google Spreadsheet, some other free SaaS product, etc) with … | |
Hi guys, I'm creating a register page for my website. I have got things sorted now, when i try and test the page and try and register a user the data is not been inserted into the database I'm not getting any error messages at all so I dont know … | |
One of my websites is based off of the HTML5 Big Picture Template: [iamepic.today](http://www.iamepic.today) Within this design, I am noticing two interesting effects taking place, one within Internet Explorer 11 and the Other Being Safari 5.1.7. Within Internet Explorer 11, when you scroll through the different sections from top to … | |
I have a dropdown list populated with files pulled from a directory using the PHP listed below that then gets displayed onto a form and am trying to figure out how I can delete them using a delete button in the form when they're selected and displayed. <input type="hidden" name="Action" … ![]() | |
Hi Guys, im creating a shopping cart as part of my website however whenever i try to empty my cart i get the error: `( ! ) Notice: Undefined index: login_user in C:\wamp\www\catalogue.php on line 32` login_user refers to a session that gets created when the user logs in. Line … | |
I have this dilemma where I need to make my sub-menus hover over the other content on my page but I cannot seem to do this, I have searched and searched but to no avail. I am to the point where I just need a little bit of guidance on … | |
I have been trying to figure out how to populate a html template with data from a multi dimensional array, but i cant figure it out. The template is taken from MySQL. This is what I have: $template=addslashes($row['content']); eval("\$body=\"$template\";"); print($body); Now the template is as follows: $row['content'] = "<html><p>array item … | |
I need to submit a form on which there is a group of inputs(that can be dynamically generated) that needs to be an array of objects(list of dictionaries). I Dynamically generate the following item when a button is clicked on the form: var count = 0 $("#add-order-item").on("click", function(){ count += … |
The End.