159 Topics
|
|
this is my code and below are the notices that r shown in browser ..what can i do?? [CODE] FILE 1: new_user.php <?php require('header.php'); ?> <body> <?php require('sql_connect.php'); ?> <?php require('functions.php'); ?> <form method="POST" action="add_new_user.php"> Username: <input type="text" name="user_name" /></br> firstname: <input type="text" name="first_name" /></br> lastname: <input type="text" name="last_name" /></br> … |
|
I was going through all of the tags gettn' used to my fresh DM compiler (love it) and in optimization there was a rather long tag called 'expensive optimization' Th DM website didn't have anything and google just brought up car engines. What does it do? |
|
Hi all, I've been searching for hours for an answer to this. I can never get help from the google forums, so thought I'd try here. I wasn't sure whether I should post in pay-per-click or web design, but I figure PPC people have experience with this kind of thing. … |
|
Hi Below is the title which I currently placed for my page which is only 63 characters [COLOR="Red"]SEO Company in Chennai, India, Professional SEO Company Chennai[/COLOR] But when I saw my website in Google, title tag of my site was display like below [COLOR="Red"]SEO Company in Chennai, India, Professional SEO … |
|
hello, i just want to know what is the need that we make a custom tag...i know that its for reusebility..but i want some examples where should i use them. thanks |
|
I can't make the bottom copyright/links/etc table line up. Previous versions and some browsers had it to the left by just the 20-pixel width of the shade image column; now it is all the way to the left. Here's what I've tried to troubleshoot: 1) validated code and made changes … |
|
File name:index.php [CODE=PHP] <html> <head> <script type="text/javascript"> function showUser(str, query) { if(document.getElementById("Author").checked==true) { query="author"; }else if(document.getElementById("bookname").checked==true) { query="bookname"; }else{ document.getElementById("textHint")="please select"; } if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } … |
|
Hi there, Not sure how the best way of asking this is but i've been playing around with HTML5 and the audio tag. I've managed to get multiple audios playing on a webpage, however it only works in certain browsers. In my case if I view the website on safari, … |
|
Hi all, I've just started learning CSS and HTML to develop websites as a hobby. I was experimenting with what I'm learning and have hit a block (excuse the pun). I'm trying to create a drop-down menu using CSS and HTML alone. In the following I try to assign what … |
|
since my [URL="http://www.daniweb.com/community-center/daniweb-community-feedback/threads/283474/1223912#post1223912"]last post[/URL] At least it's stopped flashing, but it's still too large where it doesn't matter, and too small and faint where it does. What hasn't changed is the #1 spot at the top of the reputation ranks. A whole year without posting, and AD/Narue still couldn't catch … |
|
Hello Everyone! So I have an assignment to create a program to read in data from text file. I managed to get that part, but I'm having trouble with two areas. 1. Having the names read from the display read into a 10x3 format (10 rows, 3 colums/seats.) Expected output: … |
|
#include <iostream> using namespace std; int main() { int BSR; int HighBSR=0 , LowBSR=0 , NormalBSR=0; int patients=0,sum =0; int count=0; cin>>patients; while(patients != -1)}{{ {if ( BSR ==120 )//HighBSR+=patients; } { else if ( BSR>70 && BSR<120 )//NormalBSR+=patients; else ( BSR<=70 )//LowBSR+=patients;} ; count++; cin>>patients;}} cout<<"The Number Of All … |
|
I want to create n numbers of dynamic link buttons runtime. I will have an xml file which has the format like [CODE] <category> <link> Link1 </link> <pdf> PDF1 </pdf> </category> <category> <link> Link2 </link> <pdf> PDF2 </pdf> </category> <category> <link> Link3 </link> <pdf> PDF3 </pdf> </category> ........ ........ ........ … |
|
hi.. You will need Taglib - Sharp Library for this purpose . For Complete understanding and project Download Go to: [snipped] |
|
Our blog uses the fluid theme but there's an issue, it doesn't support read more and that is crucial for our blog. I can't seem to get the tag working and am wondering how; or, is there a better theme to use? |
|
I have relative links in a menu page of the form: [CODE]<li><a href="info.htm#part1">See Part 1 of the problem</a></li>[/CODE] In the target page, the anchor is made as follows: [CODE]<h1><a name="part1">Part 1 of the Problem</a></h1>[/CODE] Now, after upgrading to Firefox 4, I am getting a 405 error: URL /Part1.html not found. … |
|
Hi, please point me in right direction. I want to be able to post php/html/mysql code on my website and have it viewed as i would if i posted code on daniweb and used the CODE tags for e.g [CODE]<?php echo "I would like to see my code like this"; … |
|
Hi, I am generating a string from AJAX data which contains forms and submit buttons. I then try to assign this string to a div using innerHTML. This works fine in IE but Firefox strips form tags and every thing in between form tags. How to solve this issue Example … |
|
[CODE=php]<?php if (isset($_FILES["file"]["name"])) { if ($_FILES["file"]["type"] == "application/x-download" || ($_FILES["file"]["type"] == "application/octet-stream" && strrchr($_FILES['file']['name'],'.')==".odt") || $_FILES["file"]["type"] == "text/plain") { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type: " . $_FILES["file"]["type"] . … |
|
I feel this is the wrong type of use of this forum but I don't know where else to turn to! My Maths summary booklet which I have been typing up for my exams has an XML error within zip. I have tried to fix it but I don't know … |
|
Hi there, I've been searching all over the internet for a solution to this problem but can't seem to find anything that solves it. I got a masterform with the following code: [CODE]<%@ Master Language="C#" AutoEventWireup="true" CodeFile="FolderMasterForm2.master.cs" Inherits="FolderMasterForm2" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head" runat="server"> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> ... ... … |
|
Hi I have a client who wants to provide me with Microsoft Publisher documents to add to his website. The material will be added via a content management system. I can't just select all and paste into the CMS so I have saved a copy of the Publisher document as … |
|
I can not seem to figure out how to drop the lowest score. When I run it it says the lowest score dropped was 0. How do I fix this? [CODE]#include<iostream> #include <string> #include <cmath> using namespace std ; string getName (); int averageScores( int); void printMessage (string, int); void … |
|
Hi there, This may or may not be a dumb question, but I've never come across it before. Can you point to a javascript 'onsubmit="return validation()"' on a form, but WITHIN PHP tags? Such as the below. [CODE]function validation(){ var reply = document.getElementById('comreply'); var div = document.getElementById('errormsg'); if((reply.value == '') … |
|
i am using floppy as ATM card.. am thinking that using the serial number of the floppy, i can check with the database and confirm it and loging the user.. but i have problem in getting the code for getting the code for getting the serial number of the media.. … |
|
i am writing a php code that displays text from a database. how would i make the text auto break `<br />` after a certain amount of chars? please help asap. thanks |
|
[CODE]class StudentMarks { public: int Marks; StudentMarks(); StudentMarks(int iMarks); char grade(); }; #include"grade.h" #include<iostream> using namespace std; StudentMarks::StudentMarks(int) { int iMarks=0; } /*StudentMark::StudentMark(int iStudentNewmark) { iStudentmark=iStudentNewmark;*/ char StudentMarks::getgrade() { if(iMarks>=80 && iMarks<=100) { return 'A'; } else if(iMarks>=75 && iMarks<80) { return 'A-'; } else if(iMarks>=70 && iMarks<75) { return … |
|
Hello, I'm making a tagging system for a script. The tagging system is much like the one here. be it's not normalized like this one. It's a single table in my database with three columns. uid | id | name The 'id' field is not auto increment. It is a … |
|
Hello, I have a problem with my css styling with div tags. Right now I have 3 div tables and they're aligned next to each other when I do [CODE]float:left;position:relative; [/CODE] but when I drag my browser smaller, the div tags that are in the middle and on the right … |
|
The End.