6,558 Topics
| |
I'm trying to use this code to populate my drop down menu from a mysql table: <select name="fileselect"> <?php $pdo = new PDO('mysql:host=localhost;dbname=contisec_portal', 'root', ''); $stmt = $pdo->prepare("SELECT dateid FROM date_header"); $stmt = $pdo->execute(); while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { echo "<option value='" . $row['dateid'] . "'>" . $row['dateid'] . "</option>"; … | |
Hi, I have a string "<div width=200 height=700 rowheader="true" columnsize=4></div> I want to extract widht, height, rowheader & columnsize value from above string through C#.net I tried to load the above string in XMLdocument, but I used to receive an exception. Please suggest me to proceed this. Thanks in Advance. | |
| basically i am using xpath for a search query, the results display like this Array ( [0] => SimpleXMLElement Object ( [TITLE] => Empire Burlesque [ARTIST] => Bob Dylan [COUNTRY] => USA [COMPANY] => Columbia [PRICE] => 10.90 [YEAR] => 1985 ) [1] => SimpleXMLElement Object ( [TITLE] => Greatest … |
http://mondaymorning.nitrkl.ac.in/ This is my institute's website.The problem here is while initial loaading,the content("Headlines") on the left overlap making it look ugly.But once loading is complete,the elements are able to position themseleves accurately.What I have done so far is inspected the elements relating to that area,but I can't understand what's actually … | |
hi i am working on a smallproject to display images from Xml to HTML page..It Works great on IE and FireFox But Not on Google Chrome this is my XML COde <Data> <Details> <Id> 1 </Id> <Photo><![CDATA[<img src=../Seceret/photos/download.jpg width=150 height=150>]]></Photo> <Mindet> Hi one </Mindet> <Maxdet> Hi I am 1 </Maxdet> … | |
I have this problem specifically on phones and tablets is that the misaligned blue search icon on the top left. Not sure how to fix this. www.talkjesus.com is where it happens. Works on desktop, but not phone or tablet. screenshot http://i48.tinypic.com/a3o1l1.jpg | |
Simply show hide div Using css.. a popdiv visible when hover on download link same with other links. but in ie7 there is some Z-index problem My code is below (please be kind, I know I'm not very good at this), any help is appreciated. `<table width="100%" border="0" cellspacing="0" cellpadding="0" … | |
Hello... I stumbled upon a template created using html 5 and css3 and was wondering if it could be used as a master page... I know the normal method where we will have a css file and one index.html file whose code should be copied under ,aster page.. the css … | |
Okay first hi people in back from the dead lol :) I've got this problem u see I'm using class As I'm making a navigation bar . but the problem is the bar is not being formatted here's my code : | |
Hi i have a registration form .. somewhere in my form i have an image(registration is written) btw div tag: <div id="test"> <img src="..."/></div> <label>username:</label> ....... .... ... <div><label onclick=Onchange(1)>Login</label></div> Now i have an option :login" on this form if user has already registered. When click on "login" the image … | |
Hello, I have created a custom CSS file for WebKit which I have attached to my browser. I am using webkits -webkit-transform: scale(2) to webpages which works exactly how I wanted it too. However for some reason when this css is attached to my browser and I go to skydrive.com … | |
Hello, I am following this series http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-5/ and everything ws fine when was working with just javascrtript and html. But now I want to put it together with php fraework and I cannnot get it to work. It does not draw select box first of all. And does not draw … | |
Hi, new to the forum. Im building a site where articles can be created by staff. So is it better to save articles as html files on the server with PHP's file access methods or simply store the whole source code with all the tags in a database (MySQL). It … | |
Problem: There is space gap between the rows, in its output: Goal: I want to reduce the gap, so it will show the normal format /* CSS */ .spantxt{ display: table-cell;} .dotuline{ display: table-cell; border-bottom-style: dotted; border-bottom-width:2px; } .box{ width:700px;height:700px;padding:30px;border:1px solid black;margin:1px;display:table;} <div class="box" align="left"> <table width="100%" border="0" > <tr> … | |
Hello, I want to ask about better practice. lets look at example function this.get_active_group = function() { var active = ''; if ($('#dogs_bet_window #first_row').hasClass('listening_keyboard')) { active = 'first_row'; } else if ($('#dogs_bet_window #second_row').hasClass('listening_keyboard')) { active = 'second_row'; } else if ($('#dogs_bet_window #special_offer').hasClass('listening_keyboard')) { active = 'special_offer'; } else if ($('#dogs_bet_window … | |
My code so far: $message = '<html> <head> <title><?php echo $subject; ?></title> </head> <body> <?php echo '<table align="center" cellspacing="3" cellpadding="3" width="100"> <tr> <th align="left"><b>Player Name<b></td> <th align="left"><b>Number of Goals<b></td> </tr>'; while($row_GetCurMonthPlayerGoals = mysql_fetch_assoc($GetCurMonthPlayerGoals)) { echo '<tr> <td align="left">' .$row_GetCurMonthPlayerGoals['FRName']. '</td> <td align="left">' .$row_GetCurMonthPlayerrGoals['Sales']. '</td> </tr>'; } // Close the table: … | |
loop through javascript show and hide div | |
Hi all, I am having a few problems with a css. Basically in my conditional css I need to target IE9 and below (IE9 included). Now, I have this: <!--[if IE 9]> ... <![endif]--> and <!--[if lt IE 9]> ... <![endif]--> Can I combine them together somehow? thanks | |
Hi, I have a mysql database with some student info records. I am trying to Update a record in the db using a html form and a php script however it wont update. It doesnt give me any errors. Can anyone assit me please. Here is the code. **editingRecord.php** <?php … | |
hi guys, im using this CSS code to create a page like an A4 size paper .box { width:700px; height:700px; padding:30px; border:1px solid black; margin:1px; display:table; } my problem is: when i print preview, even if i set settings of printer to reduce and fit, still it makes 2 pages, … | |
I want to translate a string using Google Translator with HtmlAgilityPack; . I want to use HTML Agility Pack to parse HTML documents. I tried this: using HtmlAgilityPack; ............. var webGet = new HtmlWeb(); var document = webGet.Load( "http://translate.google.com/#en/bn/this%20is%20my%20string"); var node = document.DocumentNode.SelectNodes( "//span[@class='short_text' and @id='result_box']"); if (node != null) … | |
I'm building a C++ applicaiton and have very little to do with HTML in the past. I'm using wxwidgets at the moment but want to try to use HTML. Is that realistic? With HTML can I build a GUI and use it like a normal GUI or am I missing … | |
I have a search form with only one text field. The problem is that the width of that `text field` is not same. the style is form#index-table-form input[type="text"] { width: 106px; height: 24px; position: absolute; outline: none; right: 0; top: 6px; border: 1px solid #3772af; padding-left: 6px; padding-right: 24px; font-family: … | |
How to fixed the layout of page for ALL screens? I mean to say on "ANY" size of COMPUTER SCREEN, Page-layout should be the same. In fact, i would like to put width:100% ONLY for header and footer. I would be more than happy IF i can have small EXAMPLE … | |
hello i am trying to make one of my original pages open up in the centre of my website (as all the other pages do). when clicking on the Boarding House Reform button on the right hand side of the page, it opens up without the frame around it. No … | |
How do you create a html input form that can receive an infinite amount of text, and that necessarily has a fixed size on the webpage but scrolls with additional input that goes past the bottom of the box? And would this be a potential denial of service hole in … | |
How to make HTML Page Full screen?? With "full screen" I mean that it should take all the space of user's screen,just like when we watch a video with the full screen model. I do not want the task bar/menu bar of the browser window display. Any suggestions?? | |
| Hi all, I've got a sprite with a few icons on it that I'm trying to implement on my site. They are used in multiple places on the page and need to have different properties. Sounds simple enough, but I'm having trouble finding the right selectors to get this to … |
Hello I want to extract content of a website found between some specific html tags.How can i achieve that with php. For e.g consider viewing google.com soure code.I want to extract data with <title> </title> tags and store it in a variable(its "Google" in this case) Bascially script navigates to … | |
Hi guys, I'm once again stuck on something that is probably simple to solve, but I cant figure it for the life of me! Basically, I'm trying to make my website look as fluid as possible. I dont want it to look all boxed and hyper organised, but I want … |
The End.