17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for soultrav

If i have, for example, a marquee that displays time when i push a button,like this: [code=php] if($_POST['time']) echo "<marquee direction=right behavior=alternate scrolldelay=500 scrollamount=30>".date('d-m-Y').' GMT'.date('P').' '.date('H:i:s')."</marquee>"; [/code] ,it will display the time at the moment that i pushed the button. How could i make it to display the time continously? …

Web Development display php
Member Avatar for soultrav
0
112
Member Avatar for sukhy_1

hello ive got a sign in page it works and sends data to database but soon as i had validation code for an email address using java, and then when i click submit it comes up with this error below for every textbox even though all the textboxes have data …

Web Development php
Member Avatar for Suomedia
0
154
Member Avatar for zoid777

I need some help with <cfquery>, I want to authenticate an add form so the user doesn't enter the same value twice or more so I used recordcount like this [code=ColdFusion]<cfquery name="cool.recordcount" datasource="#Request.proto#"> <cfif cool EQ 0> INSERT INTO proton( name, moon ) VALUES( '#Trim(Form.name)#', '#Trim(Form.moon)#', ) <cfif cool EQ …

Web Development coldfusion
Member Avatar for zoid777
0
167
Member Avatar for rashmigs84

Hi, I am using masterPage wherein i want to blink the text . But i also want to put one logo beside that text. Here i only want to blink the text. I have combined both the logo and text using paint and given the path in masterpage. Please let …

Web Development asp.net
Member Avatar for rashmigs84
0
194
Member Avatar for hunkychop

is there a way to create a function that uses values from the statement inside of brackets. ex. [CODE=php] myFunction(){ //data here } [/CODE] if not, what i am trying to do is get a html tag and check/modify without having it inside of a variable or echo tag. for …

Web Development javascript php
Member Avatar for hunkychop
0
127
Member Avatar for sukhy_1

error message Notice: Undefined variable: sentmail in /home/stud/1/0472547/public_html/send_password.php on line 59 The code works but when wrong email is entered and it cant find it in the database it comes up with that error its all right but for some reason its saying undefined variable // ---------------- SEND MAIL FORM …

Web Development email php
Member Avatar for Suomedia
0
1K
Member Avatar for VIeditorlover

Hi, is there in PHP a way how to determine in real time geographical area from IP. I mean rough estimation e.g. Asia, USA, Russia etc.? Thanks in advance for any advice!

Web Development php
Member Avatar for Suomedia
0
100
Member Avatar for rinkuchoudhury

how to use in [B]onmouseover[/B] and [B]onmouseout[/B] property for a ASP.Net2.0 control by using [B]javascript [/B]Suppose I want to show and hide an Image by taking and removing mouse over another control like Image, Label.... by using [B]JavaScript[/B] only

Web Development asp asp.net java javascript
Member Avatar for ravichandra
0
112
Member Avatar for Dsiembab

Good afternoon, Quick question, this may not make any sense but it is a thought, I was thinking, like I usually like to do, when you pass variables over a browser would it be crazy to md5 hash and salt the variables id and keep them in a db table …

Web Development encryption php
Member Avatar for Suomedia
0
109
Member Avatar for sukhy_1

Hello the code below checks if the email is real but when a real email is entered for some reason or another it states undefined when the sumit button is clicked even though the email entered is real. if no email is entered is says enter a an email, if …

Web Development email javascript php
Member Avatar for nikesh.yadav
0
76
Member Avatar for lydia21

is it possible to alert session variable.is the syntax is correct... [CODE=php]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login() { alert($_SESSION["un"]); } --> </SCRIPT> </head> <body bgcolor="#f1f3f3"> <form> <?php print "<input type='submit' value='submit' onClick='javascript:login();'>"; ?> </form> </body> </html>[/CODE]

Web Development javascript php session
Member Avatar for nav33n
0
243
Member Avatar for rashmigs84

Hi, I have used datagrid to display details. I want to use to link button columns in a grid wherein both the link button column has a different navigation url . For one column i can write in the selected index changed but how can i write the url for …

Web Development asp.net
Member Avatar for rashmigs84
0
81
Member Avatar for ikedachun721

I'm a graphic designer with very little HTML knowledge who has inherited the maintenance of non-profit agency's website. They have javascript drop-down menus as the part of their main navigation. Up until now, I've only had to change the text or change the size of the menus. But now, they've …

Web Development javascript
Member Avatar for Traicey
0
141
Member Avatar for Ankita B

Hi, I am trying to make a table that has following columns: site id,txn id,txn name,target id,target db there can be any number of rows in the table and each row has at least one different column entry with respect to other rows.Now i wish to delete from database data …

Web Development html-css java-jsp javascript
Member Avatar for Ankita B
0
83
Member Avatar for rajivloharuka

Hi All, I am trying to send some data using Ajax and recieve that data in php code using _POST method. But my data contains "&" and _POST method takes it as a seperating token and data after tht does not get passed. Does anyone has a solution to this. …

Web Development php
Member Avatar for sagedavis
0
191
Member Avatar for mrcniceguy

Now i know how Display someones information from DataBase after loggin In using php. Now i want to understand how can i arrange the profile. So that the profile will be more proffesional. For example. a table in which someones info are, including picture,message,video, even a search box if one …

Web Development php video
Member Avatar for ryan_vietnow
0
271
Member Avatar for Scottmandoo

Couls someone help me fix this code, I think I need to put in a function and a return but i'm not quite sure. All the code does is return the value # for everything even letters [CODE=php]$letter = ucfirst($_POST['tut_name']); $letter2 = $letter{0}; if($letter2 = 1) { $letter3 = '#'; …

Web Development php
Member Avatar for Scottmandoo
0
129
Member Avatar for sukhy_1

How can i allow a user to select only 2checkboxes, if they choose more then 2an error message will appear saying you can only select 2, heres my code below where the checkboxes are used. // Loop through data and display [code=php]while($a_row = mysql_fetch_assoc($result)) { echo "<tr>". '<td style="color: black;"><input …

Web Development php
Member Avatar for nav33n
0
143
Member Avatar for serkan sendur

Membership method needed in order to delete the user according to his provideruserkey. There are two overloads for the membership.deleteuser method but none of them accepts object provideruserkey as a parameter thanks

Web Development asp.net
0
48
Member Avatar for Venom Rush

Hi there I'm having some problems with my form. I'm generating my form through php and I can't quite figure out how to echo <?= $_SERVER['PHP_SELF']?> for the action in my form tag. at the moment what I have is this: [code=php]echo "<form name=\"tsgh_add\" method=\"post\" action=\""; ?><?= $_SERVER['PHP_SELF']?><? echo "\" …

Web Development php
Member Avatar for nav33n
0
90
Member Avatar for serkan sendur

where does website administration tool keep the access rule information? I have searched the membership tables but couldnt find any related info. Thanks

Web Development asp.net
0
74
Member Avatar for Scottmandoo

Is there anything wrong with this script? [CODE]<?php $username=""; $password=""; $database=""; $rom_name = $_POST['rom_name']; $rom = $_FILES['rom']['name']; function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } if (empty($rom)) { $result = '<font color=FFFFFF>Please choose a ROM …

Web Development file-system php
Member Avatar for Scottmandoo
0
245
Member Avatar for kv79

HI all , I have a question about Ajax. FIRST : Can I call ID from the other files who contain J.S. code with ID ? SECOND : I have Index.html , prototype-1.6.0.2.js , and I want to make changes from files2.html to files3.html . Can I do that ,and …

Web Development javascript
Member Avatar for ~s.o.s~
0
101
Member Avatar for web4-every-1

Hello, can anybody help me in getting this code running also in firefox and safari. The goal is to display images scrolling from right to left on my screen ... Here is the code I use : <script language="JavaScript1.2"> //Specify the slider's width (in pixels) var sliderwidth=840 //Specify the slider's …

Web Development javascript
0
91
Member Avatar for GLT

Hi guys! I was wondering if any of you guys would be able to help solve what is probably a simple problem.... I am using dreamweaver / asp/ access to create a dynamic web application. I have created a record set which queries the database and displays the results. The …

Member Avatar for GLT
0
244
Member Avatar for plusplus

I am completely new to asp.net. I just started to learn. I created a .html file which I then changed to .aspx. After I changed it to .aspx I can't open it through my internet explorer, what can be the problem.

Web Development asp.net
Member Avatar for plusplus
0
106
Member Avatar for Traicey

I have a program that suppose to print out a student information so I have to use Alert in order to make this a success but my JAVA SCRIPT is not producing anything, I dont know what Im missing in my code please have a look at it.... its quite …

Web Development javascript
Member Avatar for Traicey
0
131
Member Avatar for Hercf

Hi everybody! I’d like to set up a dynamic “name” in coldfusion 8, with dreamweaver CS-3! I have 2 Cf checkbox forms: “my” , “your” and 2 Cf Image fields: “name”, “site”. Depending on selection, result must be: “myname” or “yourname”; “mysite” or “yoursite”. Could anybody give me a hint? …

Web Development coldfusion
Member Avatar for cmhampton
0
77
Member Avatar for sivaslieko++

I have installed eclipse and I need to learn JSP as quickly as possible.. I think firstly I need to install JSP plugin for eclipse but I could not find it. Do you have any suggestion for plugins? The syntax of jsp is similar to php or asp.net? or anything …

Web Development asp.net java-jsp
Member Avatar for peter_budo
0
90
Member Avatar for rashmigs84

hi i got a problem regarding inserting value into database. i have 2 labels and one textbox.. but in database only one cell is there to store these three values.please let me know the solution for this.. thanks ....

Web Development asp.net
Member Avatar for ravichandra
0
93
Member Avatar for ¤| battousai |¤

Hello all, A few days ago I tried to use a mail script and recieved an error: "Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25....." Which was wierd because I had set the smtp server to my isp's mailserver. When I changed the smtp_port to 30, …

Web Development apache php windows-server
Member Avatar for ¤| battousai |¤
0
147
Member Avatar for bornok15

i have written a simple class for OOP in mysql and php and when i tested if even if the values that i used also in my normal connection process is the same the mysql won't connect me to it.. this is my class: [CODE] <?php class DBlink{ protected $link,$dbname,$uname,$passw,$db,$hname; …

Web Development mysql oop php
Member Avatar for nav33n
0
133
Member Avatar for javagurlush

How To Filter Invalid(vulgar) words in JSP? when data was entered to a textbox it must not contain vulgar or bad words.The event is processed before data is saved and posted. Do I need to specify each word or there are some shortcuts for it? Can you give me a …

Web Development java-jsp
Member Avatar for peter_budo
0
317
Member Avatar for mcx76

I am trying to add FLASH(swf) file on site.But unable to do.Can be seen [URL="http://www.cravingcatering.com/osc/index.php"]here[/URL] white big space.Movie not loading. Or i place the swf on wrong place.Please guide.Thanks I use this file to update. [CODE]<?php /* $Id: languages.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions …

Web Development flash open-source php
0
82
Member Avatar for sukhy_1

Hello i want 2add the name of the person who logged in at the top of the page, but the name comes from a SQL database called details, but the username and password is kept in another table called member they both are linked by id, this code below luks …

Web Development php
Member Avatar for Suomedia
0
87
Member Avatar for nikk

Hello friends, i've a "editAccount.jsp" page wherein i accept various details from users. And then check their input (Eg. Email field should not be blank)through a function in javascript. But my JSP does not check the input and directly stores the values in database(even if email field is empty) I …

Web Development java-jsp javascript
Member Avatar for nikk
0
182
Member Avatar for ufonator

Hi, I have a problem with my implementation of Drag and Drop lists. Particulary I have 3 scrollable divs, which represent lists. The divs contain "LI s" which represent particular units. Code (ddHeader.php5) Header: [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="cs" lang="cs"> <head> <meta http-equiv="Content-Type" …

Web Development html-css javascript xml
0
118
Member Avatar for BluePaper

I'm using Visual Studio and I'm learning ASP.net, to learn I'm following the VWD Videos available on the Microsoft website. I watched one of the videos and the guy used a Global.asax file, I followed exactly as I did but at the top of the file where the [icode]<%@ Application …

Member Avatar for BluePaper
0
2K
Member Avatar for Dani

I am using an XSL document to pretty print my RSS feed. However, special characters don't parse - they appear within the feed as &nbsp; and &amp; What line(s) do I need to specify in my RSS and XSL XML documents in order to get these to work? It's my …

Web Development xml
Member Avatar for aparvaiz
0
244
Member Avatar for demissew

As you know mysql is not compiled into php as of version 4, so you have to do some configuration for your php script to properly communicate with mysql server. I’m new to php/mysql development environment; at first everything was frustrating and you don’t get the help you require promptly. …

Web Development mysql php windows-server
Member Avatar for peter_budo
0
134
Member Avatar for assgar

Hi I am trying to display appointments in a database and would like to display all appointments for a week. The time of the day appears on the left and vertical columns with the names of appointments on the right. The code below only generates a single column of names. …

Web Development display php
0
83
Member Avatar for ryy705

Hello, I am trying to understand html's <label> attribute. According to [URL="http://www.w3.org/TR/html4/interact/forms.html#h-17.9"]http://www.w3.org/TR/html4/interact/forms.html#h-17.9[/URL] when I am using a single label for multiple elements I should use the following format: label for = idref [CS]. From what I understand [CS] represents names of the elements that I am labeling. But what is …

Web Development javascript
Member Avatar for digital-ether
0
138
Member Avatar for Inny

I want to use this code to display a blank page When someone clicks 'veiw source' from either the context menu or toolbar. (if they switch off javascript they are simply redirected, I use another code) I dont want extra pages popping up, Just the blank page, possibley I could …

Member Avatar for Inny
0
141
Member Avatar for Dsiembab

I like to read about hashing passwords and have read articles about how md5 and sha-1 could be deciphered albiet it would take 25 million dollar computer and time but still if you could take a password and split it into two pieces and md5 hashed the two pieces add …

Web Development php
Member Avatar for Dsiembab
0
121
Member Avatar for dpatz

Hi, I have some checkboxes in an html form. This form uses php to email me the users response. So in my html I set the checkboxes up in an array like this: [CODE] <label><input type="checkbox" name="weekday[]" value="Monday">M</label> <label><input type="checkbox" name="weekday[]" value="Tuesday">Tu</label> <label><input type="checkbox" name="weekday[]" value="Wednesday">W</label> <label><input type="checkbox" name="weekday[]" value="Thursday">Th</label> …

Web Development php
Member Avatar for nav33n
0
264
Member Avatar for TobbeK

I have a user input form where the user can choose to specify a number of input fields used for database input. So what I did is to create a loop within the same form and then created the fields the number of times the user has specified. Example: the …

Web Development asp
Member Avatar for TobbeK
0
91
Member Avatar for sukhy_1

Hello ive got this code of the net just wanted some1 2check it 2make sure, also ive got these two peices of code the ones ive highlighted them in red, but dnt understand wa it means by saying put this code in first line of web page any ideas, ive …

Web Development php session web-server
Member Avatar for petr.pavel
0
104
Member Avatar for sukhy_1

This code works but i want to add all the total costs up at the bottom of the search output, the[B] // Loop through data and display[/B] is outputs displayed from MySQL, from this code all i get is the total price for each booking but i want to add …

Web Development mysql php
Member Avatar for sukhy_1
0
94
Member Avatar for assgar

Hi I am having problems how to proceed in editing appointment info. In this example I have a meeting (code 201) on Monday (day code 550) from 09:00:00 to 12:00:00. This is stored in the data table as: start_time end_time start_date end_date week_day type_code 09:00:00 12:00:00 2008-01-01 2008-01-01 550 201 …

Web Development php
Member Avatar for assgar
0
77
Member Avatar for Inny

I want to override the maxlength (chars) seetings below for my board, however [B]I dont have direct access to the templet[/B] . Is there a way to script it to increase maxlength? [code]<tr> <td colspan="2" class='pformstrip'>Topic Settings</td> </tr> <tr> <td class='pformleft'>Topic Title</td> <td class='pformright'><input type='text' size='40' maxlength='50' name='TopicTitle' value='' tabindex='1' …

Web Development javascript
Member Avatar for Inny
0
104

The End.