10,325 Topics

Member Avatar for
Member Avatar for Athirah Yusri

I need to create a system that requires the process to add, edit, delete, and view. I have some problems with editStaff.php, I can edit the data, but it does not display the data in the database when doing the process. Do you know why? index.php <?php include("authenticationStaff.php"); include ("dbase.php"); …

Member Avatar for Athirah Yusri
0
187
Member Avatar for SimonIoa
Member Avatar for SimonIoa
0
231
Member Avatar for lloydsbackyard

i have an html textbox use for searching and when I type on the textbox the field in database will appear as dropdown...pls..help.thanks

Member Avatar for lloydsbackyard
0
279
Member Avatar for rolluu

<!DOCTYPE HTML> <html> <?php $style=isset( $_GET['color'] ) ? $_GET['color'] : ''; $text=$_GET['text']; ?> <head> <title>Test!</title> <style type="text/css"> div { text-align:center; margin:0 auto; } </style> </head> <body> <div> <form action="index.php" method="GET"> <input type="text" name="text"><br> <input type="radio" name="color" value="blue">Синий<br> <input type="radio" name="color" value="red" >Красный<br> <input type="radio" name="color" value="green">Зеленый<br> <input type="radio" name="color" value="black">Черный<br> …

Member Avatar for diafol
0
199
Member Avatar for mutahirpirzada

hp $mysql_hostname = "localhost"; $mysql_user = "root"; $mysql_password = ""; $mysql_database = "farm_house"; $prefix = ""; $bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Could not connect database"); mysql_select_db($mysql_database, $bd) or die("Could not select database"); $myysql= "SELECT customerinformation.CustomerFullName, customerinformation.CustomerID, customerinformation.Housenumber, customerinformation.Sector, customerinformation.StreetNumber, customerconsumption.MilkDelieveredCow, milkrate.CowMilkRate, (customerconsumption.MilkDelieveredCow*milkrate.CowMilkRate) AS t_amount_cow, customerconsumption.MilkDeliveredBuffalow, milkrate.BuffaloMilkRate, (customerconsumption.MilkDeliveredBuffalow*milkrate.BuffaloMilkRate) AS t_amount_buff, …

Member Avatar for Bin_2
0
5K
Member Avatar for Josefo1

I want to load database tables in dropdown list and display selected table in grid view. I am trying to convert the following code into asp. Net. I am getting error as, Variable conflicts with property adapter Private adapter As New OleDbDataAdapter(String.Empty, Me.con) DisplayMember' is not a member of 'System.Web.UI.WebControls.DropDownList' …

Member Avatar for Josefo1
0
261
Member Avatar for iwin

Hi everybody, we are an computer retailer with an onlineshop that is active in 8 countries and we are looking for a way to build HTML5 display ads, because they also run on mobile devices. it looks like that everybody is moving from Flash to HTML5 nowadays, but when i …

Member Avatar for jameswarner
0
275
Member Avatar for knish

As seen in image, I need a copy of the remove selected ( marked in red ) to be available as a button down. ( it will remove the top item + send mail to next ). How is it possible to have a button point to same code. http://imgur.com/5bFC4dT

Member Avatar for hericles
0
155
Member Avatar for anitg

I have a page where it allows my users to upload their videos through an html5 file upload form and a PHP script that saves file in a folder on server. All works fine. But when it is displayed using video tag, it simply does not play ! I do …

Member Avatar for veedeoo
0
986
Member Avatar for jay.barnes

I'm working on implementing CSS on my site, and have a problem with using a background image. When I use the background image inline in the PHP file, as below: <style> html{ background: url(images/bgimage.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } body{ font-family:"Trebuchet MS", …

Member Avatar for webdesignindia2
0
4K
Member Avatar for khurram123

Hi, How ru guys.why we need to give max and min width both in media queries. I use only max-width and it works fine for me. Is there any specific reason for using the max-width and min-width at same time. Do i need to use both when i define media …

Member Avatar for samuelmac
0
195
Member Avatar for garyjohnson

I have a div that has an image as its background. But the image only covers up about 80% of the screen. I want to make the extra 20% of the screen to be black but its only coming up as white. How can I set the background images and …

Member Avatar for shophiarajan47
0
428
Member Avatar for james6754

Hi, I have just started php. I have a contact form on my website and am using the is_numeric function to check that the phone number entered is a number. What I want to do is, if the phone number is not a number to output a message just underneath …

Member Avatar for stekmil
0
2K
Member Avatar for junaid_5

First drop down menu to auto change the options of a second dropdown, when you select 2nd it changes the 3rd . <select name="types"> <option value="">---- Select job ----</option> <option value="1">Job1</option> <option value="2" >Job2</option> <option value="3">Job3</option> </select> <select name="gender" > <option value="" >---- Select Gender----</option> <option value="male" selected>Male</option> <option value="female">Female</option> …

Member Avatar for tapananand
0
550
Member Avatar for zzmrzz

Hello fellow coders. I am trying to make a Minecraft Hosting Company (Danish Company) And i need a "Loading screen" for my Login popup. I found this: HTML: <div id="outer-barG"> <div id="front-barG" class="bar-animationG"> <div id="barG_1" class="bar-lineG"> </div> <div id="barG_2" class="bar-lineG"> </div> <div id="barG_3" class="bar-lineG"> </div> </div> </div> And this CSS: …

Member Avatar for tapananand
0
200
Member Avatar for Ketsuekiame

Not sure if it's just me but the home page doesn't work. It's just presenting the background colour but no content. The following is received by the browser: <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en-US" lang="en-US"> <head> <!-- CSS --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" …

Member Avatar for Dani
1
425
Member Avatar for marvil

Hi guys, I'm new to ASP.Net. I'm building a page which consists of a dropdownlist, a gridview and a save button below the gridview. I want to populate the gridview based on the values selected from the dropdownlist. My first problem is that the gridview does not display when the …

Member Avatar for BMXDad
0
395
Member Avatar for dimitris4463

Hello all! I have the following code for a drop down menu, I need some help now to make the hover link to have an arrow bellow the blue box, and the active link to look the same. HTML: <ul> <li><a href="<?php echo url('/'); ?>">Home</a></li> <li><a href="<?php echo url('/about'); ?>">About</a></li> …

Member Avatar for dimitris4463
0
406
Member Avatar for Taras20

Hi everyone, I need help creating html helper that replaces all this code: <div class="col-xs-4 form-group"> @*@Html.LabelWithHelpTextFor(m => m.DataTitle.blabla) @Html.EditorFor(m => m.DataTitle.blabla)*@ <label for="blabla" class="control-label">blabla</label> @Html.TextBoxFor(m => m.DataTitle.blabla, new { @class = "form-control", autocomplete = "off" }) @Html.ValidationMessageFor(m => m.DataTitle.blabla) </div> I want this helper to get class of the …

0
93
Member Avatar for nadiam

hello. i have a contact page that has a table populated by data from database. when a user clicks on a name a popup appears with that names data so user can edit/update. in that popup there is one drop down named salutations. say that drop down is not edited …

Member Avatar for nadiam
0
409
Member Avatar for wrathyimp

Hi All web experts, I have a Archive file folder, and it have few categories which is divided in years, and the files are named as month-date (eg. 07-26.pdf). There are old scanned documents mostly in PDFs, and doc files.These are available in a shared folder on our file server. …

Member Avatar for almostbob
0
261
Member Avatar for Jory_1

I have a couple child divs nested inside a parent div, and the children expand on hovering. Problem is that the neighbor div of the parent gets over-lapped by the children. I could just account for the size when the children are open and resize the parent div to that …

Member Avatar for Jory_1
0
2K
Member Avatar for chaze

I cannot for the life of me get this menu to line up tot he right it will only align to the left. http://webhost.pro/why-us.html http://webhost.pro/blog/wp-content/uploads//2014/06/wh.jpg It's the top menu where 24/7 is pulled to the left, I am trying to have it pull to the right. I have added text-align: …

Member Avatar for hericles
0
221
Member Avatar for azapovjednik

Hello, I need to make a script that will generate a spiral html table.. user should be able to enter number of rows and columns... and a spiral should appear... and I havent a clue... can someone give me some hints? some ideas? PLEASE! thanks

Member Avatar for [NOPE]FOREVER
0
152
Member Avatar for markii.borabon

I got a simple problem here. what I want is when I recieve message from the user the links must be color blue, then if I read it it must change into a color red, then when they reply again, there message must turn into un-visited again or the message …

Member Avatar for Tpojka
0
114
Member Avatar for boney

I have created my own template and am able to list all the posts on the index page. I want to be able to have some space after each post. Like a blank height of 5px. I created a class in css called blank5 => .blank5 {height:5px;} but it doesn't …

Member Avatar for boney
0
170
Member Avatar for SimonIoa

Hello i have a textarea on a form when i submit it it returns [object HTMLTextAreaElement] so does on the field of the table. WHat can i do to fix it?

Member Avatar for SimonIoa
0
755
Member Avatar for My question

I am using **name** field to get the option in dropdown from database datas in my database id name 1 Resham 2 Rukshana 3 Resham 4 sindya how to write a php code for displaying the name only once in dropdown and if the option *Resham* is choosen then my …

Member Avatar for My question
0
220
Member Avatar for Ritesh_4

Hello Am using the window.print function on a page, but it does not print the background color which I've set in my stylesheet for table cells. Any way to fix this issue?

Member Avatar for almostbob
0
2K
Member Avatar for My question

I am chosing an option from database using the field named as "name". since i have the name "supriya" 3 times in my database, it displays 3 times in my dropdown. How do i restrict it by displaying the name only one time and once it is choosen, then it …

Member Avatar for pritaeas
0
167
Member Avatar for BogdanCov

Hello. I have a button on a web page and when the mouse is over it becomes larger (don't ask why). .buton { /* some code here*/ height:50px; width:100px; text-decoration:none; text-align:center; text-shadow:1px 1px 0px #ffffff; transition:width 0.5s, height 0.5s; } .buton:hover { width:200px; height:200px; } In body is this code: …

Member Avatar for BogdanCov
0
218
Member Avatar for My question

How do i write php code for getting field from mysql as dropdown in php, and, also to display the related records of selected option in dropdown from database

Member Avatar for fireburner29
0
424
Member Avatar for My question

I am trying to retrive value from database in dropdown and to display the datas related to the selected option. I am new to php, Please Help me to write php code for the above .

Member Avatar for My question
0
297
Member Avatar for silverdust

I'm using a jquery plugin that requires me to have inline styles. This is ok if I'm having styles for single viewport. In my case, I'm on a responsive design with media queries for different viewports which means the element style changes on each viewport. I want to pick the …

Member Avatar for EvolutionFallen
0
259
Member Avatar for seotheo

Hi, Im having issues with a drop down menu in wordpress, when hovering over the top level it displays the first child as well as any child links within them. I need it to only display the child links when the parent is hovered over just as any other drop …

Member Avatar for seotheo
0
293
Member Avatar for davecoventry

Hi, I have a #header class and a #menu class. <body> <div id="page"> <header id="masthead"> <hgroup> <h1 class="site-title"> <a href="#" >Demo</a> </h1> </hgroup> <nav class="site-navigation"> <h1 class="menu-text"> </h1> <div class="menu-text skip-link"> <a href="#content">Home</a> </div> </nav><!-- .site-navigation .main-navigation --> </header><!-- #masthead .site-header --> <div id="primary" class="content-area"> &lt;div id="primary" class="content-area"&gt; <div id="content" …

Member Avatar for davecoventry
0
396
Member Avatar for david.roun.7

Ok, so here is the CSS code in an external sheet: #header{ position:fixed; width:100%; height:15%; } #hedr{ position:fixed; height:5%; width:6%; top:5%; left:30%;} #nme{ position:fixed; font-size:400%; top:3%; left:10%; } Here is the php document: <!DOCTYPE HTML> <html> <head> <meta name="keywords" content="Roun, David Roun, Rounsworld, Heather Roun"> <meta name="description" content="Personal website"> <meta …

Member Avatar for david.roun.7
0
2K
Member Avatar for vishalonne

I have 2 drop down. In 2nd drop down items are added dynamically based on 1st drop down selection. Now I want selected value of 5th subject to store in MySQL table. I am not able to get the value of option which is selected in 2nd drop down. How …

Member Avatar for DJBirdi
0
293
Member Avatar for [NOPE]FOREVER

I have a php/mysql project and I am currently trying to display a table into an html table through PHP how ever Only the headers are getting returned not the actual table data, here is my query plus html table <?php $result = mysql_query("SELECT * FROM store"); echo"<table border = …

Member Avatar for [NOPE]FOREVER
7
192
Member Avatar for zzmrzz

Hi there follow coders! I just found this awesome login hover menu...Thing. But can anyone make a code, to me, that shows me how to make that kind of hover... The website i know they use it is: http://www.badlion.net/ It is a Minecraft server website, if you wonder. Please put …

Member Avatar for JorgeM
0
263
Member Avatar for billionair

I have four list items in my <nav> bar: Home, Projects, Resume, Contact Projects item has further five list items. When I hover on "Projects", these items appear as a drop down block, but they are not aligned with the parent element. /*Display Nav elements in row*/ nav > ul …

Member Avatar for <M/>
0
309
Member Avatar for Mz. Jackee

I need to make a Web page form to input the name (First, Last, MI), address (full), home Phone, work Phone, department, position and base salary. This is what I have come up with: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns= "http//www.w3.org/1999/xhtml" xml:lang:="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for mattskills
0
178
Member Avatar for kojo.acquah.79

I want the field entries to be posted to a new row on the table on the same page [without refreshing] but I have no idea what to do. Please help. <!DOCTYPE HTML> <HEAD> <style type="text/css"> body { background-image:url('http://s3.amazonaws.com/br-cdn/temp_images/2014/03/03/bcada532fad70fea292c3dfacdd14e7b.gif?1393878752'); background-repeat:repeat; width:750pt; margin:0 auto;} p {font-size:12pt; font-family:Trebuchet MS;} form {font-size:12pt; color:blue; …

Member Avatar for diafol
0
162
Member Avatar for Jory_1

[Click Here](http://pastebin.com/jstBrkaM ) [Click Here](http://www.pastebin.com/bAESQkSX) You should be looking at the "#Partition_Left_Wrapper" id in the CSS code. It's the third one down. I am following a tutorial, but the guy does not use a external stylesheet. Not sure if this affects css3 syntax/layout (relatively new here), but I can't seem …

Member Avatar for Jory_1
0
375
Member Avatar for nagarajfloret

Hi, I need free API or Plugins using php for converting Webpage to Image. i.e. Jpg or png format I've tried api's like 1.webthumbnail.org 2.http://www.w3snapshot.com/support.php

Member Avatar for veedeoo
0
219
Member Avatar for <M/>

This is a pretty darn simple snippet that I learned from a site (don't remember the name). This is just the working Javascript which i managed to "easily" replicate :P Hopefully this will be useful for you guys. Note, this won't graph anything unless you have the html/css (i didn't …

Member Avatar for <M/>
0
216
Member Avatar for garyjohnson

I have a link that once clicked is suppose to make a div visible. So far it does but it only makes the div visible for a second then it returns to being invisible. I gave the div the value `display:none;` in Css and the javascript gives it the value …

Member Avatar for hericles
0
1K
Member Avatar for kannan mangalar

in this table how to extract table data and mainly get value after the <b> tag like email id, tel, address <table width="100%" cellspacing="0" cellpadding="10" border="0" class="text"> <tbody> <tr valign="top" onmouseout="this.className = 'pa-nor'" onmouseover="this.className = 'pa-row-highlight'" class="pa-nor"> <td width="50%"> <span class="text1"> School name</span><br> <font color="#cococo"><i>Secondary School</i></font><br> <b>Principal Name:</b> kannan<br> <b>Name …

Member Avatar for diafol
0
343
Member Avatar for dhani09

I'm working on a website with a sign-up form. I've been able to perform validation without page reload, printing appropriate error messages.However i'm trying to implement an interface i've seen on a couple of websites, where a user is guided to fill certain fields like password that come with restrictions, …

Member Avatar for dhani09
0
163
Member Avatar for phoenix_2000

Heya all, I'm trying to render a histogram of relative frequencies using D3 in combination with AJAX. Now i'm getting all my data correctly, but when i try to draw my chart, the first 2 bars are missing. The only error i'm getting on both firefox's and chrome's javascript console …

Member Avatar for phoenix_2000
0
3K

The End.