10,325 Topics
![]() | |
I have a search script that searches my database for a particular property address, but I have a problem displaying all the records ... my script is displaying only one record no matter how many records exist in the database with the same property address. I have two tables in … ![]() | |
I am attemping to paginate for a public salaries database I am building for my newspaper. I have the code figuring out that it should only display X rows, however, each page displays the same rows. I also have noticed that clicking the links I've created for Previous/Next Page only … | |
i got following error in my php program error: Parse error: syntax error, unexpected $end in D:\xampp\htdocs\php\project\sample\upload.php on line 85 <?php /** * Upload an image to mysql database. * * * * @author Mr. Vivek Chaurasia * @copyright www.techshri.com * @license LGPL */ // Check for post data. if … ![]() | |
HI guys, I wonder if any could help with this. In my daily job I often find myself picking up code written by other developers and making additions to it. Now, this is often a problem because if I change a css rule I might end up breaking the layout … | |
this is my html and javascript coding. how to do contenteditable div onkeyup calculation. i tried it but i doesn't work... <td><div class="inputclass" id="quantity1" contenteditable> </div></td> <td><div class="inputclass" id="unitprice1" onkeyup="maths();" contenteditable> </div></td> <td><div class="inputclass" id="total1" contenteditable> </div></td> function maths() { var qt = document.getElementById("quantity1").value; var up = document.getElementById("unitprice1").value; qtup = … | |
Sir, I have following codes <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="language" content="english"> <meta http-equiv="Content-Style-Type" content="text/css"> <title>Numeric Textbox</title> <style type="text/css"> body { margin-top:220px; } #bc { background-color:#FFE4B5; } #ft { font-family: "verdana"; font-size:14; font-weight: bolder; color: green; } .bt { width:100px; … | |
With the new changes to make it mobile friendly and the removal of the menu bar that moves down with you, is it possible for us to have a "Back to Top" or similar functional button on the header that will return us to the top of the page so … | |
Hey, there isn't really a general forum that I was trying to post this is, so I've had to stick it in the "most" relevant forum that is avaialble. I've been at uni for two years now and I still haven't found something that I'm particularly good at. I thought … | |
This is my php & html code for show numbers in words. this works correctly `<input type="text" value="<?php include("number_words.php"); echo convert_number_to_words(123); ?>" size="70" readonly="readonly" />` this is my final total amount html code `<input type="text" name="totalamount" id="totalamount" size="8" readonly="readonly" />`. here i am doing convert numbers into words. but i … | |
Hi Guys and to all programmers, I have a website wherein my header appears on all pages of my website. Did a test by disabling the display; however, the header was gone on all pages of my website so I turned the display back on. My question is, is there … | |
Hello, My question is a bit theoreric at the moment. I have a XML file that contains some data, i would like to know if it is possible to write a PHP page that reads the XML file, and if he recognizes a spesific string in the XML file, he … ![]() | |
Hello, I am trying to create admin login page. This is what I try so far: controllers/admin/clogin.php <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* Author: Jorge Torres * Description: Login controller class */ class Clogin extends CI_Controller{ function __construct(){ parent::__construct(); } public function index(){ // Load … | |
Hi, I am looking for when you select a value from dropdown and submit. The results has to show in the same page with percentage. It is like voting. Thanks in advance. | |
Hi, I like to scroll all the scroll bar at the time.first scroll is working fine.but other scroll not working anyone have idea <html> <title></title> <head> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script> $(document).ready(function(){ $('.box').each(function(){ $(this).bind('scroll',function(){ var leftPos = $('.box').scrollLeft(); var leftPos = $('.box').scrollLeft(leftPos); }); }); }); </script> <style> .box{ width:500px; overflow-x:scroll; } .clear … | |
Hello, We uploaded some videos in the back to YouTube and they reproduce perfectly on our webpage. The thing is, with mobile becoming more and more intresting, playing them in a HTML5 video player would be more universal. How can we make this change? | |
I'm having problem on my fixed background during transition. I have 2 panels, the panel-1 has 2 images which will animate from left to right and from right to left respectively, basically it will just add a class 'animate' to trigger the transition. During the transition, the panel-2 (which has … | |
So I am trying to create a text editor for php, html, css an JS. I have a tab function that creates a new tab, and inserts a new richtextbox ready to type code. My problem is this, how do I select only the text from the currently selected tab … | |
hello folks I'm a greenhorn in PHP so excuse me if i'm being dumb. I have set up a page that is pulling records out of a database table, the user viewing the page is intended the choose a number of the records on the page (using checkboxes) and download … | |
If we have something in a `div` block , how come it can flow out of the `div` block as if nothing's even there ? For example , here : <!DOCTYPE html> <html> <head> <link type="text/css" rel="stylesheet" href="box.css"/> <title>Result</title> </head> <body> <div> <p>one</p> <p>two</p> <p>one</p> <p>two</p> <p>one</p> <p>two</p> </div> </body> … | |
Hi all. I am designing a HTML website that only runs on smartphones. When I test the website on my smartphone it cuts off the words right at the bottom... It only allows the user to scroll down with +- 2mm or 1cm. I've put in underneath the styles.css a … | |
I want to sum the values of the 'countryamt' column and echo it out. The inputs are coming from the 'matconfirmation.php'. I stored all the inputs in an array, but i dont know how to sum the values up. The bold part of the code was what i tried doing, … ![]() | |
Dear friends i have developed a report using php/html/css. i have included @media print css style using div tag for page break because i want to print on different pages. each and everyting is working fine but only problem is delaying during printing..the printer print one page and sleep for … ![]() | |
I am trying to let my website create a cookie on the user's system so that it will know if the user is logged in or out. But it doesnt seem to work. Here is my javascript cookie code: function createCookies() { // Creates a cookie on the user's computer … | |
hi i am new in the development field i want a little guide line about the WYSIWYG editor i have website and i want to integrate a wix html 5 type http://www.wix.com/ editor in it i try to edit the tinymce editor but i does not found it flexible as … ![]() | |
Dear Sir, please see what is wrong with my 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=iso-8859-1" /> <title>Bismillah Cotton</title> <style type="text/css"> .foramt { border-color:green; border-width:2px; border-style:solid; width:200px; height:50px; color:red; font-family:verdana; font-size:14px; font-style:italic; text-align:center; } </style> </head> <body> <div class="format"><p>How are you?</p></div> … | |
Hi guys. for several weeks i can t make my mind whether to go and learn php or should i stick with my C# knowledge and learn ASP.net. I ve started to programming in C# 2 years ago, learned sql and databases and learned html css when i was still … | |
I am interested in using the webgl-globe tool which I have downloaded [Here](https://github.com/dataarts/webgl-globe). I have basic experience using CSS and HTML but I am unsure of which files from the repository are necessary for using the platform and how they should be included into one webpage as each folder seems … ![]() | |
Hi guys, i need help with modal popup, i have already create modal pop up, but what i want is that tha modal page to show up just for 5 seconds than automatically to be removed. Heres My code... <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD … | |
Hello guys. I have a small problem with the following code: main.html <html> <head> <link rel="style" href="main.css" > </head> <body> <ul> <li>Home</li> <li>About</li> <li> Portfolio <ul> <li>Web Design</li> <li>Web Development</li> <li>Illustrations</li> </ul> </li> <li>Blog</li> <li>Contact</li> </ul> </body> </html> main.css body { font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif; padding: … | |
1. You need a text editor i suggest notepad++ ( http://notepad-plus-plus.org/ ) 2. You need a color picker i sugest pixie by Nattyware ( http://www.nattyware.com/pixie.php ) 3. Learn how to code at w3chools.com i suggest you start with the html tutorial (http://www.w3schools.com/html/ ) and the css tutorial at ( http://www.w3schools.com/css/ … | |
does anyone know how to make a website that has a background that changes every time you go to the home page just like the tumblr home page. | |
Hi friends, In my web site, I have added Google Translator. From the moment I add Google Translator my some div elements are not working properly. I have set header div 0px from the top. (See the attachment 01 or http://i40.tinypic.com/2lcbcef.jpg) But after I adding GT (Google Translator) header section … | |
Hello, I have tried to create login page with CI. This is the codes that I have: views/login.php <html> <link href="<?php echo $logincss; ?>" rel="stylesheet" type="text/css" media="screen"> <div id="logoadmin"></div> <div id="loginbox"> <img src="<?php echo $logo2; ?>" width="150"> <br><br> <div id="username"> <br><br> <div id="position"> <?php echo form_open('clogin/process'); echo form_label('Username:  ', 'username'); $dataUsername … | |
Hi I am studying html5 and have a hard time understanding exactly how those tags function.Maybe I am used to the old div tags and cannot figure out what is going on. For example I look at a page made with html5 and css3.In the page there are 3 article … | |
I have a login scrip (downloaded from the internet) that I have adapted to my database. I However have a problem with linking from the login to a page in my system with details of the user that has logged in. The users table on which the login system is … | |
hey guys, I am really new to UI design and I am trying to finish building a simple website to include on my resume. My problem is that I have a login page with a radio button asking the user if they are an existing customer. If they are they … | |
Hello I want to have a drop down menu showing small thumbnail pictures and text in a "smartphone like" grid. What can I use to accomplish this? Thank you | |
Hello, I basically trying to create a login form that works that will carry me to the admin page after login. This is what I did so far: models/admin/login_model.php <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* Author: Jorge Torres * Description: Login model class */ class … ![]() | |
I have an HTML table which displays records from a database. The data are stored in sql database and the records are retrieved as a JSON object and then appended to the table. Rather than loading all the data in the table, I have a button which allows the user … ![]() | |
I need a help in my css.., i am using an [Isotope](http://isotope.metafizzy.co) for my portfolio, I want my grid to be responsive but I have a problem with the grid look in 960px below size browser. here's the screenshot: [IMG]http://i.imgur.com/LGvVPrQ.png[/IMG] it looks like after the first row, the divs are … | |
controllers/admin/clogin.php <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* Author: Jorge Torres * Description: Login controller class */ class Clogin extends CI_Controller{ function __construct(){ parent::__construct(); } public function index(){ // Load our view to be displayed // to the user $this->data['assets'] = array('logincss' => base_url().'assets/css/login.css', 'logo2' => … | |
**EDIT I FOUND THE PROBLEM BUT I STILL WANT TO BE ABLE TO FIX IT. THE PROBLEM IS THAT AD BLOCK BLOCKS THE .INFO CLASS. WHY DOES IT DO THAT? DOES ANYONE KNOW THE FIX?  ** I recently downloaded a web template from http://www.freewebsitetemplates.com/ and it seems to … | |
I need a way to store x y height and width in 4 jquery variables I was thinkink about the jquery ajax get but don't know how to achive this. This is my code <?php $result = $pdo->query('SELECT * FROM figures'); foreach ($result as $row=>$value) { echo '<li>'."My value is" … | |
Does anyone know the safe tags to use on a website or know where I may be able to find a list of them? Thank you. | |
I think Big website like Daniweb should be responsive. So users can discuss in the mobile platform. Yeah,having a mobile app would increase use activity. So, is it build a responsive website is difficult ? putting @import media screen only codes can make website responsive | |
Hello everyone again, I'm trying to do some web studies here and of course, digging deeper into responsive web design. Recently I came across this web page: http://kumanimedia.com/portfolio You will notice when you rescale your browser window, the boxes fluxuate based on it's size. On that, I inspected the element … | |
| |
I'm new to these forums, but not to html and css. Currently learning Python, with PHP next on my to do list, and I'm looking for some advice from fellow web developers on what would be the best programming and scripting languages to learn. I come from the graphic design/web … | |
The file is being copied the problem is all the file is getting copied like its going through the whole loop again <?php function copyfile($src,$dest){ copy($src,$dest); } ?> <!DOCTYPE html> <html> <head> <title>Menu</title> <link rel="stylesheet" type="text/css" href="menu.css"> </head> <body background="D:\Web\images\goo.jpg"> <div class="header"> <div id="logo"> <img src="D:\Web\images\the-library-white.png"> </div> </div> <div class="items"> … | |
Kindly suggest me some good books to set my foothold on html&css. Recently i got a book "Head first to html & css"but it contains lots of silly exercises and jokes and kinda repetative. Is the missing manual series good to go by? HTML4 or 5 ? There are a … |
The End.