10,325 Topics
![]() | |
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. | |
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 … | |
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 … ![]() | |
Hello, I keep getting no matter what I do the same error from file index.php [B]Parse error[/B]: parse error, unexpected T_STRING in [B]/home/httpd/vhosts/carpediemmexico.com/httpdocs/index.php[/B] on line [B]12[/B] This is my error file, I am sure your eyes will find the solution. Thanks... You are the best :) [code=php]<?PHPinclude('carpediemlib.php');If(!Isset($_GET['Xlenguaje'])){$Xlenguaje="en";}Else{$Xlenguaje=$_GET['Xlenguaje'];}?> <html> <head> <meta … | |
[URL="http://www.daniweb.com/web-development/web-design/html-and-css/threads/236229"]piggybacking on a Previous thread[/URL] The follwoing code works, the questions are: 1. Has anyone converted this to API V3? 2. How is the address variable passed to this map fro a search results page? I am new to heavy coding and any help would be greatly appreciated. Thanks, [Code] … | |
Hi, I'm having issues getting the datepicker to display. I've done quite a bit of research on it and found other people have had the same problem but I tried their fixes and it still doesn't work. The page is here [URL="http://www.purpleblaze.com.au/test%202/"]http://www.purpleblaze.com.au/test%202/[/URL] I'm really struggling on this and I've spent … | |
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 | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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='#' … | |
i need to have Total of price displayed in webgrid. from the code below. [CODE] @{ var db = Database.Open("SmallBakery") ; var selectQueryString = "SELECT * FROM Product ORDER BY Id"; var data = db.Query(selectQueryString); var grid = new WebGrid(source: data, defaultSort: "Name", rowPerPage: 3); } <!DOCTYPE html> <html> <head> … | |
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 … | |
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 … | |
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 … | |
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 | |
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: … | |
this is my code please find the error and reply me. thanks <?php session_start(); ob_start(); //print_r($_REQUEST); //print_r($_SESSION); error_reporting(0); include("includes/conn.php"); header('Content-Language: en-us'); header('Content-Type: text/html; charset=utf-8'); if($_POST['opt']=='logout'){ $_SESSION['username'] == ""; session_unset(); session_destroy(); //require_once("login.php"); } // echo $_FILES["logo"]['name']; //if($opt=='Create') include("includes/conn.php"); /* $opt_multiple = $_REQUEST['opt_multiple']; foreach($opt_multiple as $key => $value){ $b.= $value . ","; … | |
Hi, I created an XML file that will hold the latest news and stories, and trying to display it now in my HTML file using Javscript (I scrapped XSLT, as it altered the CSS styling and alignments compared to the other pages and couldn't work my way around that). So, … | |
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 … | |
<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="Raphael.js"></script> <script type="text/javascript"> <?php include("class.logger.php"); //path to class.logger.php file $log = new logger(); //Instentiate the class $log->dbconnect(); //connect to database //pass the name of the table as the parameter. I.e. 'logger" $log->createtable('logger'); //set date and year text for the info bubble that appears … | |
Hey guys! i appreciate all the help ive been getting from you around here. I have a problem that isnt being solved by google D: i like the frames in html its exactly what i need however i want to make a dropdown menu bar on the header frame and … | |
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 … | |
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 … | |
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. | |
I developped a cms system to upload images with php to a mysql database and a upload folder on the server. Firefox version 5.0.1 for MAC and earlier have no problems with file uploading through the script. But after that version it is impossible to upload images bigger then 250kb. … | |
hello, i would like to know the code to redirect my site to another page once i have submitted information to a registration page, the code i have is this: require_once('extensions/register.php'); ?> <link rel="stylesheet" href="stylee.css" type="text/css" /> <form name="register" id="register" method="post" action="<?php echo $_SERVER['PHP_SELF'];?>" style="display:inline;"> <table width="100%" border="1" cellspacing="0" cellpadding="5"> … ![]() | |
It is supposed to list out all records of roomID 57, but the record is duplicate. <?php require '../../source/authentication.inc'; session_start(); sessionAuthenticate(); require_once('../../config/conn.php'); ?> <?php require_once('../../config/conn.php'); $roomID=$_GET['roomID']; $sql="SELECT * FROM roomBooking where roomID = '$roomID'"; $rs=mysql_query($sql,$conn); $row_rs = mysql_fetch_assoc($rs); $count=mysql_num_rows($rs); $roomID=$row_rs['roomID']; $bookingDate=$row_rs['bookingDate']; $startTime=$row_rs['startTime']; $endTime=$row_rs['endTime']; $numberOfPeople=$row_rs['numberOfPeople']; ?> <!DOCTYPE HTML> <html> <head> <meta … | |
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 … | |
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"; … | |
Hi, I'm building a design for a website as a practice, but it seems i'm missing sthg as every time i try to add <h> tag of any size, the div shifts down leaving a blank space above, but it works fine if i replaced the <h> with a large … | |
ok so, I have a webpage that I am making for me and there is a link that is interfering with the hover part of the nav bar to show..it's this link "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" that's at the bottom of the html page that I have set up..when I take it away..the … | |
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 … ![]() | |
Hello, I'm trying to insert values from a form to a table (employee) on my database using prepared statements. From what I can tell the connections are fine, am able to query the database (as shown in the code to check the user type of the current logged in user). … | |
[url]http://www.healthviewone.com/PHP/Meds/med-update.php[/url] The URL above takes me to the following URL which is coming out blank. Can someone review my code below and tell me why I am getting this blank page? P.S. the patient information is bogus, not real. So no HIPPA concerns at all. [url]http://www.healthviewone.com/PHP/Meds/meds-change-form.php[/url] <html><head><title>Change Record form</title> <style … | |
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, … | |
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 … | |
![]() | Hey everyone, I am having some trouble positioning a div in the top right corner of another div. This is what I would like to have. [ATTACH]23723[/ATTACH] But I cannot get it to work. I tried [CODE] #edit { position: absolute; top: 0; right: 0; } [/CODE] This is the … |
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. | |
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 … | |
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 … | |
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 … | |
I have a table in my database and i would like to bring up all the details where the datafield "votes" is the largest. i cannot get the fuctionality i desire. i would like a user to make a choice from the selection then have all the datafield where "votes" … | |
Hi, I am using query string in my page. It is working fine for only characters for example [B]javascript[/B] showing all the post related to javascript if i use [B]Html & css[/B]its not working. Query not execute because of & symbol. any solution | |
Hello all! I am new to JavaScript and was hoping someone could help me with a jQuery assignment. My page is online here: [URL="http://baileyjumper.aisites.com/JavaScript/Homework3/marcum-loren-hw2-jquery.html"]http://baileyjumper.aisites.com/JavaScript/Homework3/marcum-loren-hw2-jquery.html[/URL] What I currently have is a to do list, where you enter text into a textarea, and what you type is appended as a list item … | |
Hello, How can I make a menu for the following code [CODE=HTML] <div id="sidebar"> <ul> <li><a href="#">Master link</a> <ul> <li><a href="#">Link to be revealed</a></li> </ul> </li> <li><a href="">Master Link 2</a> <ul> <li><a href="#">Sublink</a></li> </ul> </ul> </div> [/CODE] Wit this CSS, I m hiding the second level of the menu, that … | |
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 … |
The End.