6,559 Topics

Member Avatar for
Member Avatar for frrf

For a couple of months now I've been working on a community website; however I haven't got past the registaration because MYSQL can't connect to my HTML and PHP codes.Also my laptop treats .PHP documents as text documents and I can't open them, is this related? Thanks in advance :D.

Member Avatar for smantscheff
0
166
Member Avatar for pxalpine

Hello, I'm manipulating large quantities of HTML files (about 2000). I'm new with Python, and would appreciate any help. For example, I want to delete the lines that contain "embed_music" in all the files, or change all instances of the word "Paragraph" to "Absatz". This is my pseudo-code: [CODE] open …

Member Avatar for ihatehippies
0
163
Member Avatar for jsa005

Hello! On my website I'm looking to create a dynamic HTML table from the contents of a MySQL database. I have no idea how many rows there will be, and I need it to look a bit like an iPhone home screen. Here is some code: v1: // Make a …

Member Avatar for diafol
0
1K
Member Avatar for subrata_ushasi

Hi all, I have dropdown in html consisting value country name. Instead of entering country name one by one into the mysql table I want to transfer by php programming . Is it possible ? If so ,any one can suggest....... Thanks in advance. Subrata

Member Avatar for subrata_ushasi
0
145
Member Avatar for asif49

Hi I'm trying to have a search facility on my site which performs search without refreshing the page. The only problem I have encountered is to be able to take the input which is typed in a search box and associate an onClick event with it that passes that value …

Member Avatar for Airshow
0
153
Member Avatar for SolidSolutions

How can I get an image to have it's own hyperlink that is inside of a clickable div? [CODE]<div id="clickable" onclick="window.open('http://www.daniweb.com');return false;"> <p>I love clickable images!</p> <a href="http://www.google.com"><img src="someimage.png" /></a> <p>too bad they don't click in a clickable div</p> </div>[/CODE] If I try the above then the DIV is always …

Member Avatar for SolidSolutions
0
357
Member Avatar for Aamit

Hi, I need some deep knowledge Regex Vs Dom. Is Regex much faster then Dom or not? Like processing speed, reliable or not . If any one share link or article it helpful for me.

Member Avatar for pritaeas
0
174
Member Avatar for cambridge77

Hi, Am trying to get away from flash + new to jquery. I know there is an obvious problem in the Css or js but the more I change things around the worse it gets. I want the gallery up next to the right of the nav column. Sick of …

Member Avatar for ctaylo21
0
178
Member Avatar for SmokeOp

I would like to use the front end to send info to a program built in python 2.7/3.2(not sure which yet but most likely 2.7). That program would then send data back over to the front end and create new buttons (the number of buttons will be arbitrary). I have …

Member Avatar for jackbauer24
0
79
Member Avatar for Aung Myat

Hi all, I just started learning Python and Beautiful Soup. I am developing a script to look for particular text "Running" in the HTML. If that text "Running" exits, I would like to print out the keyword "QSAJK". Please see the attached image to visualize. If there is one or …

Member Avatar for tomstratton
0
4K
Member Avatar for Virangya

hi, i'm trying to add a background color to a element which is positioned before the identified tag. for example, i know the class of one elment and i have a list like below. [CODE] <ul id="one"> <li><a href='#'>text0</a></li> <li><a href='#'>text1</a> <ul> <li><a href='#'>text2</a></li> <li><a href='#'>text3</a> <ul> <li class="item-1"><a href='#' …

Member Avatar for Virangya
0
124
Member Avatar for abhijeet P

Hello all, I am new to both HTML and CSS i am using a code where u can drag and drop elements from left into the grid. i want to put the images in the left with same effect as the one where I am dropping the image. Also on …

0
169
Member Avatar for softDeveloper

Hi All, I'm copying a long text from word and pasting into a html textarea and from here I send it to MySQL database. If the submited text is too long nothing happens. Any ideas on how to submit a large amount of text from a webpage to a MySQL …

Member Avatar for stultuske
0
198
Member Avatar for skorm909

Hey, I was about to get started just making a simple text game and was wondering how to make it so the game came up in a different window other than the CMD? Like how can I make it come up in say.. A 400x200 Window? Where I could customize …

Member Avatar for DeanMSands3
0
97
Member Avatar for Que336

Hi guys We have been asked to create a sudoku game using some type of CSS grid framework. I can't find any good explanations as to what a grid framework is. Someone please explain or direct me to an explanation. Regards

Member Avatar for pritaeas
0
70
Member Avatar for davy_yg

page-about.php [CODE] <div id="AboutNav"> <h3>About</h3> <p style="border-bottom: 1px dotted #787878; width: 200px;"></p><br /> <a href="https://localhost/wordpress/about/about-vision.php">Vision & Mission</a><br /> <a href="https://localhost/wordpress/about/about-history.php">History</a><br /> <a href="https://localhost/wordpress/about/about-client.php">Client</a><br /> <a href="https://localhost/wordpress/about/about-people.php">People</a><br /> </ul> <br> </div><br /> [/CODE] style.css [CODE] #AboutNav h3 { margin: 20px 0 0 0; } #AboutNav a:link{ background: url('images/About/AboutNav2.png') 0 0; width: …

Member Avatar for stultuske
0
276
Member Avatar for skygrrrl

Hi, I am trying to have my landing page center in the browser when it resizes, with css yet and I'm confused. Right now its all flush left and i want it to center in any browser if possible. Maybe could someone please add the code in red so i …

Member Avatar for drjohn
0
182
Member Avatar for jonow

I have a simple JavaScript question. I want a drop down selection so that when you select a certain option is shows the value of the option in a div. So for example: [CODE]<select> <option value="select-1">One</option> <option value="select-2">Two</option> <option value="select-3">Three</option> </select>[/CODE] So lets say that option one is selected, then …

Member Avatar for stultuske
0
222
Member Avatar for suavedesign

I am not a javascript coder, but I wanted to make pop windows on my webpage, without a separate window. I followed the instructions I found here:[URL="http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/"]http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/[/URL] It worked well. However, I want to make more than one popup on my webpage- I have thumbnail images that I want to …

Member Avatar for stultuske
0
176
Member Avatar for androidf

Hi, I need to create an html page to export some information. Currently, by using java, i've exported information to excel. But now, I need to export the information in HTML page using java.Is there any APIs I can use? Thanks.

Member Avatar for JamesCherrill
0
1K
Member Avatar for dijjio

Hi ^^ sorry, iframe! I am able to load an external website into an inline iframe I have on page1.php by adding target name to the hyperlink. However, what I can't seem to get working is making the URL load into the iframe through simply adding the link to the …

Member Avatar for dijjio
0
130
Member Avatar for dr_copper

Hi, I try to create a menu for the website of my friend. But I have a probleme with the reaction of event. My submenu close when i quit the section div. Someone can help me please? my code: [CODE] <html> <head> <title>test menu</title> <script language="javascript"> function ouvrir_menu(cible){ liens_cible="liens"+cible; document.getElementById(liens_cible).style.visibility="visible"; …

Member Avatar for dr_copper
0
210
Member Avatar for Martin C++

start_session() after <html> tags generates error, Can it be used there somehow? If so, then how ? If not then what are the alternatives cause I have a function that generates some part of my <head></head> in my themes. So the session_start() definately has to saty in that function (e.g …

Member Avatar for diafol
0
165
Member Avatar for davy_yg

page-about.php [CODE] <div id="AboutNav"> <h3>About</h3> <p style="border-bottom: 1px dotted #787878; width: 200px;"></p><br /> <ul> <li><a href="https://localhost/wordpress/about/">Vision & Mission</a><br /></li> <li><a href="https://localhost/wordpress/about/">History</a><br /></li> <li><a href="https://localhost/wordpress/about/">Client</a><br /></li> <li><a href="https://localhost/wordpress/about/">People</a><br /></li> </ul> <br> </div><br /> [/CODE] style.css [CODE] #AboutNav li a:link{ background: url(images/About/AboutNav2.png) 0 20px ; width: 100px; text-decoration: none; color: black; Arial, …

0
71
Member Avatar for theweirdone

Hi, I'm trying to extract certain things from a web page. The website is TVRage.com, and the example I'm using at the moment is [URL="http://www.tvrage.com/Warehouse_13/episode_list"]the Warehouse 13 episode list[/URL]. So far I've managed to get the title of the show using this code: [CODE]#!/usr/bin/env python import urllib def save_page(site="http://www.tvrage.com/Warehouse_13/episode_list"): mypath …

Member Avatar for Aung Myat
0
672
Member Avatar for tweets23

How to use macros in html . I do not want to re-write a part of html code in many pages. any way to use modular kind of programming in html. Thx in advance.

Member Avatar for drjohn
0
69
Member Avatar for kutchbhi

The situations: I have text in a var, that I am assigning to the innerhtml of a 'p' tag . The text has whitespace at the end. The problem: The last whitespace isn't rendered, by p tags. IT is ignored. Is there a tag other than the pre tag, that …

Member Avatar for Troy III
0
174
Member Avatar for pizzipie

Hi, I am generating a table for use as a revision form. The following line: [CODE] printf("<td><input type='text' name='%s' onfocus='showDisplayName($v[1], $v[2]);' id='%s' value='%s'></input></td></tr>\n", strtolower($key), strtolower($key), $value);[/CODE] has the php function showDisplayName() embedded in it. This function will not work. If I write the identical line in a pure HTML page …

Member Avatar for pizzipie
0
366
Member Avatar for bigjoke

I am trying to get a database created as per html5 web sql specs. [CODE]h**p://www.w3.org/TR/webdatabase/#sql[/CODE] I am using jquery/javascript to accomplish this. Here is a bit of simplified problem that i am facing. 1. User enters two fields on a html form 2. In background, i create a websql database …

Member Avatar for pritaeas
0
152
Member Avatar for varoluscu_prens

Hi There; I try to design a web site. There are many pages in my web site and I linked them altogether. But there are constant buttons must be existed in different pages. I mean there are buttons namely, "Home" , "About" .. vs in different HTML pages . I …

Member Avatar for ckchaudhary
0
120

The End.