52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for InS@NiTy

Hi, I'm trying to use a javascript for loop to write out links with titles from an array, that when clicked will execute a function I have written to pop open a new window, with info on the link clicked, this is the code I'm trying to use (this is …

Web Development javascript
Member Avatar for Troy III
0
158
Member Avatar for exonwarrior

Hey all! I have to come up with code for taking the contents of an input box on my webpage, use that as the name in my script and then display a message based on the time, say "Good morning Dave!" if it's between 5am and 12pm. I have all …

Web Development display javascript
0
76
Member Avatar for Violet_82

HI there, I was wondering if anybody can advise. I am trying to build an unordered list with a few items in a page, and I want this list to be created and displyaed dynamically. So I create an array of strings and then through jquery I want this to …

Member Avatar for Violet_82
0
2K
Member Avatar for james chaco

Hi, I am luking for a Collection library much like what we get in java and c# and in my hunt i came across few names like bucket, coffeeblack, js_cols. Which would be most compatible with jQuery? As i got a nice library from sourceforge.net but it is not compatible …

Web Development javascript javascript-jquery
Member Avatar for james chaco
0
131
Member Avatar for clarme

Hi All, the other day I somehow messed up my companies website and I am not quite sure what I did. all the logos at the bottom of the page used to be centered, but now I can not get them back. I am pretty sure this a footer.php file …

Web Development html-css php
Member Avatar for Biiim
0
179
Member Avatar for cascer1

hello, i'm currently working on a website for my team fortress 2 server, and am now getting to the premium part. i would like to make a page where people select either a subscription or a one-time payment and then pay it. when the payment is done, they would be …

Web Development mysql php
Member Avatar for Biiim
0
185
Member Avatar for jacob21

I am working on a module where i have to show all the videos list on the left side of a page with thumbnail.& videos player on the center which plays video after clicking. from the list. Need suggestions for open source video player.

Web Development open-source php video
Member Avatar for veedeoo
0
210
Member Avatar for Jdsiteworks

example: daniweb is very useful webs(read more) or (...) at the end whole message is: daniweb is very useful website. please help thank you in advance.:)

Web Development php
Member Avatar for codemonkey88
0
81
Member Avatar for J.Killa

I'm doing an online store for one of my Computer Science classes and I have a little problem with the registration form. Somehow, the password field automatically fills itself with the password 'mypassword' and I don't understand why. At first I didn't know what the password was because it's obviously …

Web Development php
Member Avatar for codemonkey88
0
105
Member Avatar for dyingatmidnight

Hello. So I'm a junior web developer at an marketing company (and when I say junior I mean I'm not techincally entirely qualified for the position and overly a large learning exprience :P So bear with me here). Anyway, I was asked to look into a way to rewrite our …

Web Development cms php seo
Member Avatar for cereal
0
118
Member Avatar for mavis310

so for my code i have i'm trying to pass along the i variable in the for loop but when i pass it on it passes the highest i value. so when it should be one it passes along 10. i am curretnly passing along the cell6 id and splitting …

Web Development javascript
Member Avatar for drogba123
0
371
Member Avatar for vizz

I am trying to use jScrollPane vertically, but it is not working. http://jscrollpane.kelvinluck.com/ I want simple styleable scrollbar alternative for above link or need help to make code work ( **Vertical only :-** http://jscrollpane.kelvinluck.com/arrows.html )

Web Development javascript
Member Avatar for pritaeas
0
84
Member Avatar for baig772

i have following .htaccess RewriteEngine On DirectoryIndex index.php RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)/([^/]+)?$ index\.php?page=$1&s=$2&o=$3 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)?$ index\.php?page=$1&s=$2 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/?$ index\.php?page=$1 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})?$ index\.php?page=$1 [L] ErrorDocument 404 /404 it displays mu url as localhost/mysite/home for first perimeter and its going fine but when my url is localhost/mysite/home/user, whole look of page …

Web Development apache html-css php
Member Avatar for pritaeas
0
108
Member Avatar for arihantphp

Hey all ! I am wondering if there is any way by which we can take an input from a user using a html form and write it to a file inside a specific div tag in a specific file. for ex: I enter a Name in a form the …

Web Development html-css php
Member Avatar for broj1
0
220
Member Avatar for preist

[COLOR=DimGray][B]Could someone point me to resources with info on reading and implementing XML into ActionScript (flash) applications. I don't mean you should just make a google search on "Read XML in ActionScript". Also, what is your favourite XML editor and why? I tryied XMLSpy but there are some major limitations …

Web Development actionscript flash google xml
Member Avatar for tomboy
0
138
Member Avatar for iThaos

I've been away from web coding for some time but I feel like coding PHP again. I was phpDesigner a lot and I got use to it. Its features are great but the trial ran out. Can anyone recommend a free PHP IDE that has all or most of the …

Web Development ide php
Member Avatar for cloder
0
242
Member Avatar for kieky

Hi all.. can u help me to fix this : **Compilation Error** **Description:** An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. **Compiler Error Message:** CS1061: 'Group' does not contain a definition …

Web Development asp.net assembly
Member Avatar for hericles
0
114
Member Avatar for Rewired

For some reason I can ONLY upload .JPEG but not .GIF, .BMP, .PNG Can someone help fix this please? Is their something I did wrong? [CODE]<?php ini_set("memory_limit", "200000000"); ?> <?php if ((isset($_POST["submitted_form"])) && ($_POST["submitted_form"] == "image_upload_form")) { if (($_FILES["image_upload_box"]["type"] == "image/jpeg" || $_FILES["image_upload_box"]["type"] == "image/pjpeg" || $_FILES["image_upload_box"]["type"] == "image/gif" || …

Web Development php
Member Avatar for akira_lee
0
194
Member Avatar for minisrija

I want to have a calender coding in php for inserting in the date of birth field. And to make text in text box to move especially for student name field. <code> <?php $con = mysql_connect('localhost','root', ''); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("stu", $con); $result …

Web Development php
Member Avatar for diafol
0
137
Member Avatar for minisrija

I want to generate the deptno automatically. Im using backend as mysql which allows auto-incrementation only for an integer, not supports for varchar. So any code to do it? Thank you. Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <?php $con = …

Web Development php
Member Avatar for diafol
0
138
Member Avatar for programmer12

Hi, I am trying to write a code in php where I retrieve the DateTime from the database and find what time is it 15 minutes before the DateTime. Such as //Receiving the Start Time from the database. $time1 = "2012-03-17 15:00:00"; //Reformating time to get the date 1hr or …

Web Development php
Member Avatar for programmer12
0
170
Member Avatar for theNORTH

Hi, I want to replace `$data['introhtml']` with some actual html, any ideas? I need to update a friends CMS database driven Website the content panel does not allow Div which I need to put a Calendar in so the only option is to change the PHP. The PHP code is …

Web Development cms html-css javascript-jquery php
Member Avatar for theNORTH
0
166
Member Avatar for klemme

I have this function, which sends an email to the user and confirms an order. I cant figure out why I cant get to display the image IN the email, at the very top. I have tried with: `"Content-Disposition: attachment; filename=\"mail-top-img.gif\""` And `"Content-Disposition: inline; filename=\"mail-top-img.gif\""` Both sends the mail as …

Web Development display email html-css image php
Member Avatar for klemme
0
196
Member Avatar for bilibala

Hello everyone, I am thinking to create a vertical menu, which may contain sigle level or even multiple levels of submenus. While mouse is hover one main menu item (parent menu), the related submenu items will appear one by one on the right hand side. While click on one of …

Web Development javascript
Member Avatar for elbeato
0
151
Member Avatar for sanket044

i want to add different javascript to different divs. Is it posible to set .js page's scope to specific <div> ?

Web Development javascript
Member Avatar for pzuurveen
0
177
Member Avatar for dineshswamy

Session is not working everytime,but when i restart my machine everthing works fine .Why this happens?

Web Development php session
Member Avatar for CoursesWeb
0
101
Member Avatar for cr7489

i have a db with 3 tables review, pos and neg words for a film review im trying to detect if the word 'not' appears before a positive or negative word then add 1 to the pos count if it appears before a neg word ie this was not bad, …

Web Development php
Member Avatar for cr7489
0
297
Member Avatar for erik216

<form method="POST"> first name <input type="text" name="ab" value="aadi"> <input type="text" name="bb" value="aadi"> <br> <hr> <input type="checkbox" name="same" onclick="this.form.zb.value=(this.checked)? this.form.ab.value: ''; this.form.zs.value=(this.checked)? this.form.as.value: ''; this.form.se.value=(this.checked)? this.form.sel.value: '';"> Same as first name<br> second name <input type="text" name="zb" value=""> <input type="text" name="yb" value=""> <br> </form> This coding can only when click the checkbox. …

Web Development javascript
Member Avatar for almostbob
0
113
Member Avatar for mikekandf

I am very new at web site creation. I have searched on google.com trying to figure out how to create url variables.... I have not been able to figure this out.... If its infront of my face... Please still help! lol Thanks in advance!!!!

Web Development
Member Avatar for mikekandf
0
96
Member Avatar for chieny

<?php require ("includes/DBConnection.php"); ?> <?php $id =$_REQUEST['a_id']; // sending query //mysql_query("INSERT INTO audittrail(article.a_title,article.a_author,article.a_description,article.a_date, article.dept_id) //WHERE article.a_id='$id'") mysql_query("INSERT INTO audittrail SELECT * FROM article WHERE a_id='$id'") or die(mysql_error()); mysql_query("DELETE FROM article WHERE a_id = '$id'") header("Location: articlelist-a.php"); ?> Parse error: syntax error, unexpected T_STRING in C:\wamp_chieny\www\MULTI\ADMIN_MULTI\article-del.php on line 17 i try …

Web Development php
Member Avatar for chieny
0
126
Member Avatar for newbie1234

I have div.js which is for popup in this i define 2 function getPageSize(); and getPageScroll(); and other file a.php and b.php in a.php as below <script language=Javascript src="/div.js"></script> <script language=Javascript> function divOn (aId_task) { var arrayPageSize = getPageSize(); var arrayPageScroll = getPageScroll(); //bgrnd4 = '<div style="position:absolute; top:0; left:0; width:100%; …

Web Development javascript php
Member Avatar for newbie1234
0
12K
Member Avatar for DarkMonarch

doing this stuff in js and the css doesn't affect the tags in the js writeln js: `document.writeln("<table><tr><td>Nom</td><td>Pr&eacute;nom</td><td>Code Permanent</td><td>Login</td></tr></table>");` css: `table, td, tr{border:2px, double;}` i know this is simple, what am i missing ? oh yeah, it's an external js file, if that changes anything. thx Dark

Web Development html-css javascript
Member Avatar for DarkMonarch
0
93
Member Avatar for DarkMonarch

what am i doing wrong ? i want to fetch what langugage of new users. i've tested and tried: navigator.userLanguage navigator.browserLanguage navigator.systemLanguage and so far it returns: undefined thx Dark

Web Development javascript
Member Avatar for DarkMonarch
0
115
Member Avatar for ARKaMAN

Hi! I am just starting PHP. I am learning to sanitze my data. I found this exmaple from the web. It displays the sanitized data, but... it does not insert the sanitized data. :( What shouuld I do to make that happen? <?php $filters = array( "firstname" =>array("filter"=>FILTER_VALIDATE_INT, "flags"=>FILTER_FLAG_ARRAY|FILTER_NULL_ON_FAILURE, "options"=>array("min_range"=>0, …

Web Development mysql php
Member Avatar for joshmac
0
139
Member Avatar for mortyBox

Hey all! I'm pulling my hair out trying to figure out this noodle scratcher. I have a form that takes a users first and last name, then posts that to process.php where it pulls all the info for that person from mySQL database. The DB connection is fine, and I …

Web Development php
Member Avatar for joshmac
0
4K
Member Avatar for twoclicks

Hello everyone, I've build a web project that could upload and resize image with the following script and i did minor change on it: http://www.webmotionuk.co.uk/php-jquery-image-upload-and-crop/ It works fine on desktop computers and samsung galaxy s froyo. But when i tried on android tablets such as samsung galaxy tab the upload …

Member Avatar for twoclicks
0
275
Member Avatar for mortyBox

elbeato Hi all again. I couldn't reply to my last post "Message Field Required"? Anyway props to "elbeato" for helping me out. My textarea is now indented on the first line. Is there any way to align the text in a textarea? <td align="right">Additional Training</td> <td colspan="5"> <textarea name='AdditionalTraining' rows=6 …

Web Development php
Member Avatar for diafol
0
407
Member Avatar for sparkles_links

I was working on a script before taking ill. I need urgent help with this. I have login form, and I can use http://phpeasystep.com login tutorial to do a single user login. But I need it for like 4 different users redirecting to diffrent pages after login/ The form code: …

Web Development php
Member Avatar for diafol
0
126
Member Avatar for vijiraghs

In the following html code, <html> <head> <title>Blogging</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> var tpe; var islogin = 0; var userid; function ajaxFunction() { var xmlhttp1; if(document.getElementById('searchtype1').checked == true) tpe = 1; else tpe = 2; if (window.XMLHttpRequest) xmlhttp1=new XMLHttpRequest(); else xmlhttp1=new ActiveXObject("Microsoft.XMLHTTP"); var searchvalue = document.getElementById("keyword").value; var …

Web Development html-css javascript
Member Avatar for Airshow
0
144
Member Avatar for king24

<?php session_start(); include 'forms.php'; include 'config.php'; include 'lib.php'; ?> <html> <head> <meta charset="UTF-8"> <title>Login</title> <link href="css/main.css" rel="stylesheet" /> </head> <body> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> </script> <script type="text/javascript"> $(document).ready(function(){ $("#check").click(function(){ var username = ("<?= $username ?>"); $.ajax({ url:"ajax.php", data :'username=' +username, success: function(ajax){ $("#ajax").append(ajax); } }); }) }); </script> </body> </html> <?php …

Member Avatar for diafol
0
304
Member Avatar for laura301019

I have a webpage that allows 3 users to login and vote, at the login page it displays the 3 users however ive to change the following code so that at the login page it will only display the users who haven't voted yet. What do i need to change …

Web Development display php
Member Avatar for phoenix_2000
0
175
Member Avatar for Jamesiv1

I've got a form with this text field: <input name="address2" type="text" value="%%ADDRESS2%%"> on submit, it displays all the data in a confirmation page, and then when you submit the confirmation page it emails me the data. In the email (maybe in belongs in the confirmation page?), I need it to …

Web Development email php
Member Avatar for phoenix_2000
0
93
Member Avatar for vinnitro

Hi friends, I am a student of BScIT and I want a project which is to be done in ASP.NET language. I surfed the internet but not found anything new... So, Is there anyone who can give me good suggestion??? & also help me give some objective i.e. what the …

Web Development asp asp.net
Member Avatar for vinnitro
0
174
Member Avatar for florin1

Hello guys. I have a form in which i have some dynamically generated input fields like this: <input value="March" name="month[March]" type="hidden"> <input value="April" name="month[April]" type="hidden"> <input value="May" name="month[May]" type="hidden"> . . . How do i add the input data for each month to mysql? Thanks!

Web Development mysql php
Member Avatar for diafol
0
161
Member Avatar for dendenny01

How can I transfer the values inserted in <input type="text" name="num1"> to radio button <input type="radio" name="rep_num1" value="">On submit of form. Actuall when user insert the value or text in the textbox the value of the text box should replace or transfer to the value in radio button when user …

Web Development javascript
Member Avatar for Topi Ojala
0
277
Member Avatar for jackmaverick1

I've decided to try to create a small (very) game in Javascript + HTML, using the Canvas element. So far, its gone pretty well, but recently I started on bullets. This also has gone well. I've decided to try to implement a bullet-goto-mouse type thing. I know this uses trigonometry, …

Web Development javascript mathematics
Member Avatar for jackmaverick1
0
156
Member Avatar for minitauros

Hello there. I would like to know if there is a way to write files to my server without CHmodding a certain directory. I have an auto-update script that downloads a .ZIP from my main server, and then extracts those file to the corresponding directories on the current server. However, …

Web Development client-server cms file-stream php
Member Avatar for minitauros
0
220
Member Avatar for rapidwein

**Bold Text Here** The included file is a code to make a quiz using javascript and radio buttons . When you finally submit , it shoudl print the question numbers for the correct answer in green and the wrong answers in red . But the code is not working properly. …

Member Avatar for rapidwein
0
2K
Member Avatar for mani508

i want to send mail notification to anwer the question in forum.how its possible...??

Web Development asp asp.net
Member Avatar for Dani
0
101
Member Avatar for sammer021486

I am having difficulty getting the php include for my menu to show the active page on my site. When the site is using just plain html to show the active page, it works as expected. But when I switch to the php include the menu is not styling to …

Web Development html-css php
Member Avatar for sammer021486
0
3K

The End.