10,325 Topics
![]() | |
I have a .php web page with these lines: [code]//gather all the comments $commentquery = mysql_query("SELECT * FROM comments WHERE tutorialid='$tutid' ORDER BY date DESC") or die(mysql_error()); //count all the comments for the total $commentNum = mysql_num_rows($commentquery);[/code] I want the value of $commentNum which is going to be a number, … ![]() | |
Hi all! I have started using pydoc and can not figure it all out... I have made packages in a structure like: pkg1 -__init__.py -pkg2 --__init__.py --module1 --module2 (supposed to look like a dir structure, hope you see what I mean) If my working dir is dir that contains pkg1 … | |
Hi I am new to php, I had a form in my page to upload image and some data. And that image filed is not mandatory. I had done that script well and working well. But the problem is it always need a image ( that is not mandatory in … | |
I am developing a website and am struggling to make sure that even if my web page is minimized a user can still see the entire content of the page without maximising the page, I believe thats achievable bcoz I have seen websites like that even this one, anyone knows … | |
After some years form the creation of my internet site I have decided to correct a little paging problem that i left unresolved for a lot of time (one time it wasn't so important...). The site is created in xhtml e css and the problem is to equalize the length … | |
My website when displayed locally in I.E 7 and Firefox has the layout output as I expected. However when rendered with Dreamweaver and Geocities web hosting the footer looks different than expected as it is intended to be the same size as the header. See page:- [URL="http://www.geocities.com/raisin_smiles/index.html"]http://www.geocities.com/raisin_smiles/index.html[/URL] The footer css … | |
HI, Below is the code for my page, and I'd like some suggestions so I can "stream line" my page. Here is a direct link: [url]www.myspace.com/djkonkerock[/url] Also, how would I insert a table in that blank space in between my top 8 and comment section? I would appreciate any help, … | |
Hi I am trying to put a Border around 6 links to other pages. I am using a ref from a stylesheet that i have created i made the border like this within my stylesheet [code=css]p4 { border: medium double #000000; }[/code] The text that i want to put the … | |
I have a site [URL="thewilliamsfamilytree.com"]thewilliamsfamilytree.com[/URL]. If you go to the site. You see a bunch of text links on the left side. My question is how do i change or control everything in that menu from one CSS file? I would like to use that menu on every page of … | |
![]() | If anyone can explain the behavior that I observed recently then they deserve a cookie for their knowledge of HTML and CSS... I observed this behavior in FireFox haven't tried this in another browser. Navigate to this website [URL="http://novemberborn.net/sifr3/r436"]http://novemberborn.net/sifr3/r436[/URL] and resize the browser window horizontally down to about 200px. Notice … |
HI, I am a beginner. I have designed a simple site in HTML. I want to add a login and register page. And I want to add a database to store the login and register informations. Can anyone help me with this? I am beginner in database. | |
Hi everyone! First post here. I've been programming for years but this xslt confuses the heck out of me. Can someone please tell me how to get this piece of code to work? It's a fragment reading in an rss feed and I'm trying to get it to only show … | |
Hello sir, I want to make a HTML page with the window splitted into two. In the left side i will give the html coding and the right side i want output for that coding(during runtime). | |
I have a question as to why Internet Explore won't read my webpage...yet Firefox and Opera read it just fine... To me, it seems that internet explore is disregarding my external CSS file...because when I launch the index.html file, IE reads it without the CSS file...I don't know why though...BUT...when … | |
Hello all, I looked around with google for a while and couldn't find an answer to my question. I'm trying to use php to get the name (or ID) of an html tag. I need to do this because I am creating a shopping cart which has a checkbox beside … | |
My blog on Blogger is [url]http://ennbaystestblog.blogspot.com/[/url]. My HTML isn't being accepted when I upload it. Here is exactly it: [code] <!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" xml:lang="en" lang="en"> <head> <!-- Created by Artisteer v{Version} Base template (without user's data) checked by http://validator.w3.org : "This page is … | |
Hey everyone! =) I'm starting an Application Development club at my college! However, there are a fair amount of programmers with multiple backgrounds who want to be a part of the club and partake in some of the Software we will create. Most of the people who are joining the … | |
Hello everyone, I ran into an issue that I could use a little help with. I need to search a large string, match certain parts of it, and replace a certain part of the certain part. The entire string is made up of spans, tables, and images, to build a … | |
I've been scratching my head trying to figure this out. Basically I am trying io impliment the CSS selector ":only-of-type" in XPath 1. The selector should only pick elements that have no other siblings of the same type. Its simple enough if I know the type ahead of time. e.g. … | |
Hi All, I am facing CPU utilization issue while iterating through HTML table rows. I am generating an HTML table dynamically using javascript which contains atleast 500 rows. After the creation of table, the table cells are assigned with some values from a JSON object. The sample code for assigning … | |
Hi! How can I include CSS styles in a PHP HTML Email? This is what I have so far- [code=php] <?php $msg='<html>This is a <em>test</em> message</html>'; mail('a@b.com', 'Test HTML Mail',$msg,"From: Santa Claus <santa@gmail.com>\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"); ?> [/code] | |
hi i need urgent help for this query related to seo i have query whether html files are best for seo. i have heard that they are crawled fast by search engines compared to dynamic files. we have started creating html files for all the listings on our site (its … | |
Hi All, I am new to .Net. I am converting a source which is in .net 1.1 to .net3.5. In 1.1 those people had used scritps for calendar popup. Let me show the sample code first In JSCalendar.aspx ---------------------------------- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="JSCalendar.aspx.cs" Inherits="JSCalendar" %> <!DOCTYPE html PUBLIC "-//W3C//DTD … | |
using PHP with mySQL, or ASP with msAccess 2000 on a win2000Server web server; also using a "rich text format" utility to allow formatting of text in a text area: when i use the mySQL command "UPDATE", and data from the textarea is written to the database, it adds erroneous … | |
I am having some problems with HTML and CSS, firstly with links in a li element, I have it set to display: block so that the it will highlight when the cursor is placed within the li area, but this is not working in IE 6 (I know this is … | |
I have used the following codes to build a layout for my website: [CODE] <!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" lang="fa"> <!-- Meta information --> <head> <meta content="fa" http-equiv="Content-Language" /> <meta name="keywords" content="" /> <meta name="discription" content="" /> <meta name="author" content="" /> <title> </title> <link rel="stylesheet" … | |
All hi, Is it possible to send messages (SENDMESSAGE/PostMessage...) to HTML controls such as Input Type Text or lists? I am able to get/set the url,title but I can't get to the document. Can it be done? Would you show me how? Your help would be appreciated. reallm, | |
Hello all, Wondering if someone can direct me to a regex component and some code that I can use to strip out certain links from an HTML file (loading in a StringList). Example: <a href="../foo/23134.htm">bar</a> The result I'm after is: bar I only want to strip the link here, but … | |
Hi, I am learning python CGI programming but got stuck with some issues. I would really appreciate if you could help me out. Problem: I have made a web page using Python CGI scripts; from one of the menu items on the web page, I am trying to call another … | |
Hello. Ive got this small script which caches a web page. It names the file with a unique ID which is all fine but I need it to name it with the unique ID but with a HTML extention. How would I do this? Heres my script... [code=php]<?php $page = … | |
hi everybody, i wan to develop web application by using python on mac os. i am trying to get a link between html and python code. can i give a link between them or not. if it is possible please send me your valuable suggeitions thank u | |
I don't know the proper term for this, but here is what I want to do: read data from an external .txt file or .doc file into html page. If the file is changed and re-saved, the website automatically changes as well. I know that css style sheets are similar … ![]() | |
Hi, When i click on submit button, javascript is going to check a particular textbox if it is empty. If it is then don't validate the form and make a text message visible from invisible. How can i do it? No CSS please. thanks [code] <form name="form1" method="post" action="a.html" onsubmit="return … | |
ok, I have a form that submits data to a database. data that is colected from things like dropdown boxes, textboxes, checkboxes etc. I want to put some conditions that prevent the user from submitting something that is missing important data. I found a little tutorial that dose that, but … | |
I'm designing a website for a school project, and I'm having some trouble with IE7. Here's the site: [url]http://caffeol.otherroaddesign.com/[/url] It shows fine in FF and Opera, but in IE7 the sidebar doesn't work. I can't figure it out. This project is due tomorrow, so please help me. Thanks! Here's the … | |
I've got a bit of a question regarding the <col> tag and how it takes style attributes in Firefox and Internet Explorer. Here's my code: [code=css] /* * This is the global style sheet for Humbug's test site. Every page will link to it. * Copyright Ben Ritter 2008 */ … | |
Hi, I'm trying to create an expandable content box for forum purpose, however the code I've come up doesn't work in IE, but it is valid HTML 4.01 Strict. Anyway, if I'm handling this problem the wrong way, please tell me how I should do it then. I have an … | |
i need help in a website i'm doing right now, i've done 80% of it already, only the last 20% are giving me touble, with the body and some effects that i need like tool tip...if u are a pro, contact me...and i'm willing to pay... xhtml, css, tableless | |
I need some help here please. I have a form that has a javascript slider bar to give one field's percentage. Unfortunately I can't get the value to pass to the hidden input. Here's the code: [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Slider test</title> <script type="text/javascript" … | |
One page on my website loads on all PCs but it doesn't load on most Macs...except for the newer ones at the Mac store. Is there something obvious wrong with my HTML or javascript below that a Mac wouldn't like? Sorry the code is so long, but I'm not sure … | |
Hi, I have created a HTML template for sending emails to the clients. I read the values from the database and fills them in the template. Now i want to read the contents of this HTML template. Can anybody suggest me how to do this? Thanks in advance Regards Exelio | |
Hi everyone, I am very new to use python scripting language. I am having a doubt that, [COLOR="Red"]how could we write the html programs on python for web applications ? [/COLOR] Please give quick response to my post. | |
Hi, I want to buy a JavaScript book to learn. What is the best book that should also have information about form validation, HTML DOM etc. with examples. Thanks | |
Can any one help with getting this script to work? Am i Missing something? [url]http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_114a.html[/url] When i try, I get the whole list opened all down left side of page, like normal link type page. any help much appreciated. Thanks, Trip | |
Happy Holidays! I have a one field form. Upon submission with the submit button, I wish to drive this field value into my SQL database table called MEMBERS and field called NAMES, thus adding a new record. Can this be done with an OnSubmit() call to a function, in the … | |
Hi; how can a predefined text be printed in a html page? it means, when the "print this page" button/link is clicked all the elements in the window is printed even the button. now is there any way to print just the texts & etc. without printing the buttons and … | |
Here is my demo.css [code] #sidebar {} #sidebar ul { list-style-image: url(images/bullet.gif); } ul { list-style-type: circle; } [/code] and demo.html [code] <html> <head> <link REL="StyleSheet" TYPE="text/css" HREF="demo.css"> </head> <body> <ul class="sidebar"> <li> Test1</li> <li> Test2</li> </ul> <ul> <li> Test3</li> <li> Test4</li> </ul> </body> </html> [/code] I would expect the … | |
hello I am new to this blogging thing and have decided to try it. I am also a Noob to JS and am late with my webpage I am trying to enlarge an inmage in it's own pop up window without useing html as you can see in my gallery … | |
Hello All, I am having some problems with creating a 1 column fluid width web page which has a header section and left and right side bars. I can not get it to center nor to display consistently on different browsers. In fact its a complete mess. Please take a … | |
I need to write a Python program which parses webpages and returns a dictionary of unique words and their frequenies. What I came up with was [CODE]#!/usr/bin/env python from HTMLParser import HTMLParser, HTMLParseError import urllib import urlparse import sys import os import MySQLdb import re class WordHarvester: def __init__(self): self.db … |
The End.