10,325 Topics

Member Avatar for
Member Avatar for amrak

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' …

Member Avatar for amrak
0
1K
Member Avatar for Shaziahussain

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 { …

Member Avatar for UK-1991
0
214
Member Avatar for berserk

I am in need of help on this one :( i cannot seem to figure out what i have done wrong, i set up my code just like in teh examples i read and i dont really see anything wrong with the logic (as far as i can tell) but …

Member Avatar for berserk
0
326
Member Avatar for newbi11

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 { …

Member Avatar for alisajjad160
0
5K
Member Avatar for suneet.pant

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 -------- [ …

Member Avatar for vishal_isharani
0
366
Member Avatar for tqmd1

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 …

Member Avatar for JorgeM
0
196
Member Avatar for Gl753
Member Avatar for almostbob
0
419
Member Avatar for Brilliant_1

<?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> …

Member Avatar for DaveAmour
0
297
Member Avatar for Khan2014

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> …

Member Avatar for Khan2014
0
2K
Member Avatar for daz_omega

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 …

Member Avatar for gentlemedia
0
399
Member Avatar for Wojciech_1

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 …

Member Avatar for Gribouillis
-2
442
Member Avatar for mark103

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 …

Member Avatar for DaveAmour
0
203
Member Avatar for Kent55

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 …

Member Avatar for DaveAmour
0
352
Member Avatar for Shaziahussain

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 …

Member Avatar for JorgeM
0
154
Member Avatar for mattster

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 …

Member Avatar for pritaeas
2
1K
Member Avatar for mattyd

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, …

Member Avatar for DaveAmour
0
472
Member Avatar for tqmd1

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> …

Member Avatar for cereal
0
130
Member Avatar for spud91

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> …

Member Avatar for jj.dcruz
0
266
Member Avatar for tqmd1

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 …

Member Avatar for DaveAmour
0
114
Member Avatar for ramsiva

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 …

Member Avatar for Makara
0
320
Member Avatar for chaitu11

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 …

Member Avatar for chaitu11
0
4K
Member Avatar for Light_2

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 …

Member Avatar for Heanre
0
139
Member Avatar for ramsiva

<?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 …

Member Avatar for diafol
0
551
Member Avatar for tqmd1

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 …

Member Avatar for gentlemedia
0
219
Member Avatar for jovstudios

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 …

Member Avatar for Amit_27
0
9K
Member Avatar for mattyd

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 …

Member Avatar for Troy III
0
339
Member Avatar for James_43

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 …

Member Avatar for James_43
0
252
Member Avatar for berserk

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 …

0
322
Member Avatar for rchawdhari

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.

Member Avatar for rchawdhari
0
95
Member Avatar for Suresh_9

[ $("#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"; } }); …

0
119
Member Avatar for spud91

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 …

Member Avatar for spud91
0
343
Member Avatar for mark103

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 …

Member Avatar for edbr
0
223
Member Avatar for Makara

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 …

Member Avatar for Makara
0
2K
Member Avatar for AllanSS

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 …

Member Avatar for diafol
0
2K
Member Avatar for berserk

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) …

Member Avatar for diafol
0
2K
Member Avatar for Helder_1

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 …

Member Avatar for lps
0
781
Member Avatar for rpv_sen

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" …

Member Avatar for rpv_sen
0
2K
Member Avatar for spud91

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 …

Member Avatar for spud91
0
10K
Member Avatar for chrisschristou

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 …

Member Avatar for tdrosiadis
0
136
Member Avatar for stokie-rich

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 = …

Member Avatar for stokie-rich
0
395
Member Avatar for Behseini

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 …

Member Avatar for Gangadharbc
0
300
Member Avatar for mattyd

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. …

Member Avatar for annya
0
229
Member Avatar for Dani

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 …

Member Avatar for Dani
0
254
Member Avatar for stokie-rich

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 …

Member Avatar for stokie-rich
0
345
Member Avatar for PixelandtheWolf

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 …

Member Avatar for PixelandtheWolf
0
343
Member Avatar for Robert_30

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" …

Member Avatar for diafol
0
407
Member Avatar for spud91

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 …

Member Avatar for spud91
0
2K
Member Avatar for berserk

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 …

Member Avatar for JorgeM
0
862
Member Avatar for NuGG

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 …

Member Avatar for NuGG
0
239
Member Avatar for renierdbruyn

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 += …

Member Avatar for Schol-R-LEA
0
357

The End.