52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for LTT

Hello! Wondering if someone could give me a hand.. Im looking to make a form kind of like this one.. "http://www.nvidia.com/Download/index.aspx?lang=en-us" Where the fields change depending on what is slected.. I would like to link the values of the of the form to a mySQL DB. So the form when …

Web Development php
Member Avatar for LTT
0
241
Member Avatar for anuspan

hello everyone, im using php 5.2.6 , apache 2.2.10 and mysql 5 for my server.everything works fine excepts sessions.i have configure the php.ini file for sessions.but still its not working.im using windows platform.can anyone help me to settle this?

Web Development apache php windows-server
Member Avatar for anuspan
0
123
Member Avatar for sacarias40

i am designing a few pages. the pages have a few main divs and that is how i am inserting the background(with css) i can render the whole background to the browser but i dont get how to nest divs inside divs with OOP. any help would be greatly apreciated! …

Web Development html-css oop php
Member Avatar for sacarias40
0
120
Member Avatar for Aamit

Hi, In my $str="DAniweb it DISCUSSION Community" I want "Each First" character is capital and rest of lower case " If String is $str="[COLOR="Red"]DAniweb it DISCUSSION Community[/COLOR]" Ans-> [COLOR="Green"]Daniweb It Discussion Community[/COLOR] How to do this??

Web Development php
Member Avatar for Andrieux
0
155
Member Avatar for mehdighobakhloo

hello guys, is there any one good enough to tell me how to show random pics in a frame each time my home page is loaded. i would appreciate if you tell me how to do it either in javascript or php. thanks a million times

Web Development javascript
Member Avatar for mehdighobakhloo
0
85
Member Avatar for Maidomax

Hi! I am creating a simple website, and I would like to have an option on one page to print the contents of the page by clicking a button, or seeing it in PDF format by clicking another. What is the simplest way of doing this? Mladen

Web Development html-css pdf php
Member Avatar for Yayo_SK
0
144
Member Avatar for Ragnarok

I have been working on flatfile and directory system in PHP and not that I have got the script working I want to make it more secure. What I have is one directory with sub-directorys insided them and insided the subdirectorys are about 20 files each. Forexample: [code]directory/ sub1/ sub2/[/code] …

Web Development php
Member Avatar for Yayo_SK
0
174
Member Avatar for anchal

i hav a problem m new to php nd i started with writin my first page but whenever i start my browser i see the complete code and nt the output i need i wrote [code=php]<html> <title>my php page</title> <body> <?php echo "hello there!"; ?> </body> </html>[/code] the output is …

Web Development php
Member Avatar for Yayo_SK
0
178
Member Avatar for themailsian

I have make a form in ASP page wich contain a dropdown menue containing record from the database. These records are related with an other table. I want when I select any record from the drop down menue its concerned record should display in next text box with in the …

Web Development asp
Member Avatar for enoch365
0
151
Member Avatar for Swapna Gouri

Hi All I've created a web page where I'm trying to pull data from the database. My requirement is to populate a combo box from the database automatically, i.e. as and when the db updates, the combo box needs to get updated. I have heard that it's possible with Ajax. …

Web Development java-jsp
Member Avatar for ~s.o.s~
0
101
Member Avatar for Ravigandha

Hello Guys, My problem is when i am attaching files and sending in mail through PHP code everything is working fine and i am getting attached files to email. But if the destination address is of yahoo or hotmail then they the attached file is not displaying. It is displaying …

Web Development php
Member Avatar for lordspace
0
159
Member Avatar for closetosane

Hello, I am sending a string created in vbScript via CDO. My scripting is working but the whole string is not showing up in the receiving email. My code was on the bulky side with bordercolor and bgcolor in the tables cells, removing what was not needed for html in …

Member Avatar for closetosane
0
924
Member Avatar for MDGM

Hi, Im having a wierd problem with my mysql query: I have entries in my database with a rating (out of 10) and a timestamp, and I want to pull out the highest rated entry from the past 30 days. These are the entries I have: [CODE]Primary key ----------------- Rating …

Web Development mysql php
Member Avatar for MDGM
0
111
Member Avatar for serdas

this is code diplays everything in one page how can i make this show more then one page? thak you [code]// Addon Specific Function function viewallusers_display_addon_link() { // Show the link for the menu $display = '<a href="index.php?action=addon_viewallusers_showpage1">View All Agents</a>'; return $display; } function viewallusers_display_addon_page() { // display all the …

Web Development php
Member Avatar for serdas
0
86
Member Avatar for serdas

hi, i have a program that i am using from an open source, it does not have a privete messaging system like this web site has, is there any way i can find some kind of a code to cretae one for the site, is something like that possible, i …

Web Development open-source php
Member Avatar for lordspace
0
176
Member Avatar for ruchi18

Hi, i have an application inaction script & java script .I m calling a javascript function by actionscript Fscommand but it gives error as "Object Required" can anyone solve this error.... i have paste code below of javascript.... [code] <html> <head> <title>save</title> <script language="javascript">AC_FL_RunContent = 0;</script> <script src="AC_RunActiveContent.js" language="javascript"></script> <script …

0
140
Member Avatar for spiderling

I have set up an admin area for users to sort thumbnail photos, which is within an accordion widget and works well. However, I would like to add the ability for them to drag any photo they want to delete to a trash bin image. This would delete the photo …

0
104
Member Avatar for gpittingale

Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''12' at line 1 ----------------------------------------------------------------------------------------- Seen as someone kinda helped me with the last thread i posted i have now been issued with …

Web Development php
Member Avatar for FlashCreations
0
85
Member Avatar for freshfitz

I need a tool to measure distance from one point to another and the area in sq ft on maps.live.com

Web Development
Member Avatar for freshfitz
0
95
Member Avatar for jrdark13

The code below I have a problem... When you hit enter on a text field firefox stays at the same page because I have returned false; (I assume) but IE still submits the form normally. What am I doing wrong? [CODE=javascript] window.onload = function() { var form = document.getElementById('keyword'); var …

Web Development javascript
Member Avatar for jrdark13
0
155
Member Avatar for serdas

this is a very messy code, i tried to copy from one to other. it displays images and the name and last name of the person. it does it vertically and i need to show let say in two columns so the third image and the name last name falls …

Web Development php
Member Avatar for serdas
0
114
Member Avatar for gpittingale

So i have this script, instead of having the output as what is in th script below, i would like to have it in a table i have had a couple of gos at this and failed......MISERABLY!!!. Could anyone help me out with an example. ps there are more fields …

Web Development php
Member Avatar for Devendar Singh
0
137
Member Avatar for ssreevidya.m

Hi, I stored a file in the folder taht selected using file upload control. When I tried to view this content from that folder I got an error like this. Cannot find the C:\Documents and settings\Terapc\LocalSettings\temporary Internet Files\Content.IE5\6AJ9DNHZ\name.txt file Do you want to create a new file? The code I …

Web Development asp.net file-stream file-system
Member Avatar for nhauck
0
86
Member Avatar for sonakrish

Hi.. I hav a database for maintaining emp details. I want to get my EmpID to be generated automatically when my add new button is clicked. That too in C# only...

Web Development asp.net
Member Avatar for greeny_1984
0
123
Member Avatar for gpittingale

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sites/miraclehosting.co.uk/public_html/scdc.php on line 169 --------------------------------------------------------------------------------------- Can anyone help here this is doin ma ed in!! gggrrrhhhhh i get the above result when Load the script into the browser. here is the form: [code=html]<form action="scdc.php" method="post" name="chooser"> <label>Select Parish …

Web Development mysql php
Member Avatar for gpittingale
0
176
Member Avatar for ruchi18

Hello, I m Ruchi.I want open save as window for user to save text file through java script & i have used javascript Execcommand however it only works in IE not in Mozilla ,Firfox etc........... Please help me Thanks & Regards Ruchi

Web Development javascript
Member Avatar for ruchi18
0
102
Member Avatar for serdas

hi, i am very very new to php. have a some code like this [code=php]// Get file name from URL and remove any bad filename chars. $url_parts = explode('/', $url); $num = count($url_parts)-1; $file_name = $url_parts[$num]; $badchararray = array(" ", "'", "\"", "$", "&", "%", "-", "#", "^", "*", "(", …

Web Development php
Member Avatar for death_oclock
0
133
Member Avatar for nicolemcgrgr50

I'm new to php, but not to programming, and i'm using very basics of sessions to manage a user being logged into my site. When testing it, everything works until I move away from my site. I would like the session to be destroyed if you navigate away, is there …

Web Development php session
Member Avatar for Dani
0
84
Member Avatar for aparnesh

The project specs requires that I send some data to a remote server, where records based on the data that I send will be searched from a MySQL db, and returned to the caller. I developed a class that resides in the remote Web server with MySQL. The local php …

Web Development apache php web-server
Member Avatar for aparnesh
0
284
Member Avatar for ade92uk

I have used preg match to find in a page all img tags: [CODE]<(img)[^>]*?>[/CODE] Can someone please tell me how i would check if it has a full url and if it does not replace it with a full url from a variable called $link2. I would also like to …

Web Development php
Member Avatar for jrdark13
0
233
Member Avatar for tyop

I'm having a problem with newline characters and nl2br(), Basically I have a form with a textarea, it reads from a XML file and puts the contents into the text area. Then changes can be made to the text, button clicked, XML updated. Viewing the XML after it gets updated …

Web Development php xml
Member Avatar for mschroeder
0
118
Member Avatar for redgem

I have a database that I want query and pull an users specific details into a "$profile" variable. the url would be: "[I][url]www.website.com/profile.php?id=12345[/url][/I]" Thus, I use the $_REQUEST["id"] to put the id number into a variable and then I query the database using this id number. The code is below: …

Web Development mysql php
Member Avatar for jrdark13
0
170
Member Avatar for smartness

Can someone help me on making a function that can check for new version of my script! Any Sample Code?

Web Development php
Member Avatar for almostbob
0
972
Member Avatar for cohen

Hello all, Well i'm after someone who has a valid licenced Vbulletin. I want to use it on my new website that i'll be setting up very soon... and i want to have everything in order, and as soon as my server is up, i can install my software and …

Web Development vbulletin
Member Avatar for smartness
0
162
Member Avatar for atif.muhammad

Hi. I'm new in programming. I have idea backend (database in SQL Server 2000) but no idea for frontend programming. I decide to use SQL Server 2000 and ASP.Net 2.0 Else one share/tell my how to became i familar with ASP.net.

Web Development asp asp.net
Member Avatar for greeny_1984
0
84
Member Avatar for JukesK

Hi, okay im new to coding and got thrown in by my manager straight into .php without even looking at basic.. I have included my coding for a standalone webpage that is to be placed onto the IT systems purely to disect the php helpdesk ticket system and display the …

Web Development html-css php
Member Avatar for JukesK
0
171
Member Avatar for dinilkarun

I am calling the below function on the click of an 'OK' button to set the attribute of a cell of a table (attributes for <td> tag), however i am not able to set the 'style' attribute of the <td> tag with the code below. Please help me in achieving …

Web Development javascript
Member Avatar for essential
0
85
Member Avatar for sonakrish

If i select checkbox in grid header template i shld get all my checkbox in item template to be checked.. can any one help me to do.

Web Development asp.net
Member Avatar for greeny_1984
0
89
Member Avatar for jlochhead

Hello everyone, I would like to include HTML from an external file, store it in a variable and then echo it, like so: [code=PHP] $html = include("stuff.html"); echo "$html"; [/code] Everything in the code is working ok, except for the fact that I get a 1 echoed back after the …

Web Development php
Member Avatar for diafol
0
95
Member Avatar for kittyponzo

This is driving me nuts!!! Is there anyway to have one checkbox with one value in a form, that simply stores that single value into a single field in mysql... without using any arrays or imploding / exploding things and all that nasty stuff. I just want to seperate the …

Web Development php
Member Avatar for diafol
0
90
Member Avatar for shobitha

hi all...i'm a beginner in c#.... for selecting a field from database we use ds.Tables(0).Rows(0).item(0) in vb.... how can i do t same in c#.

Web Development asp.net
Member Avatar for shobitha
0
269
Member Avatar for rutaba

the problem i am facing is that iam istalling WAMP5 and php-5.2.4-win32-installer.msi. after installation wamp works but when i try to connect to my admin for data base it gives following message.. "Cannot load mysql extension. Please check your PHP configuration. - Documentation" so plz any one can tell me …

Web Development php
Member Avatar for Stenna1
0
144
Member Avatar for redgem

The full error is: Parse error: syntax error, unexpected T_STRING in .../cgi-bin/register_login.php on line 33 The code is set to check if an email exists in the MySQL database. If the email does exist, then it checks the password and if both agree loads the users account into an array. …

Web Development php
Member Avatar for redgem
0
337
Member Avatar for julseypart

im trying to decide on what provider to use, with there being so many to choose from i dont want to rush into and just get any1. a few i found or were mentioned to me already were: [url]http://www.eukhost.com/windows-web-hosting.php[/url] [url]www.Isqsolutions.com[/url] [url]www.infosaic.com[/url] i need one that has a host with Microsoft …

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
145
Member Avatar for ericstenson

Hi - I was wondering if there is a way to force a postback after the FileUpload1 control has a file... Right now, people his "Browse" select the file then click another button to upload the file. I want to write code on postback to automatically write the file to …

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
1K
Member Avatar for khr2003

I have found while i was surfing the intent a function that shows how long a topic was posted. this is the function: [CODE]function RelativeTime($timestamp){ $difference = time() - $timestamp; $periods = array("second", "minute", "hour", "day", "week", "month", "year", "decade"); $lengths = array("60","60","24","7","4.35","12","10"); if ($difference > 0) { // this …

Web Development php
Member Avatar for khr2003
0
69
Member Avatar for ade92uk

Can someone please tell me how to replace any code before a particular div, this is what i have so far: [CODE] $pattern1 = "/^<!doctype html>[a-zA-Z0-9._-]$/"; $replacement = '${1}1,$3'; preg_replace($pattern, $replacement, $ch); [/CODE] I want it to replace absolutely anything it finds before a particular word which will be specified.

Web Development php
Member Avatar for ade92uk
0
119
Member Avatar for ayi_102

[CODE] <script type="text/javascript"> function resetLists(){ document.forms["body"].elements["select1"].selectedIndex = 1; document.forms["body"].elements["select2"].selectedIndex = 1; } </script> </head> <!--Start the html body--> <body id="body" onload="isColorSet()"> <form action="" onsubmit="return false;"> <form id="body"> <!--This is where the changes happen--> <div id="test">This is supposed to be a nice little navbar. Select a new font to change this …

Web Development javascript
Member Avatar for ayi_102
0
296
Member Avatar for emhmk1

Hi there, I have recently added a login system to a site i'm doing and i'm stuck on something thats getting quite annoying! The user registers then gets an email with an link to follow to activate the account. The problem is the $link in the email is just text …

Web Development php
Member Avatar for emhmk1
0
138
Member Avatar for nishant52

I have some important PHP scripts on my server. My problem is that with the help of a download manager, the user can download those scripts and thus can view the entire source code. For e.g:- If my php script's URL is [url]www.mydomain.com/index.php[/url] Then the user is able to download …

Web Development php
Member Avatar for almostbob
0
121

The End.