52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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! … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … Web Development asp email html-css vbscript windows-server | |
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 … | |
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 | |
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 | |
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 … Web Development actionscript flash javascript vbscript | |
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 … Web Development html-css javascript javascript-jquery | |
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 | |
I need a tool to measure distance from one point to another and the area in sq ft on maps.live.com Web Development | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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: … | |
Can someone help me on making a function that can check for new version of my script! Any Sample Code? Web Development php | |
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 … | |
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 | |
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 | |
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 ![]() | |
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 ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
[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 | |
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 | |
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 |
The End.