17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for designingamy

Hello all, I feel a little dumb asking this... I'm trying to pass information from one page to another. I have this: [code] <a href="http://www.mysite.com?color=red&shape=round">Apple</a> [/code] Now that I do that, on the next page, what kind of code do I use to gather the color and shape information? Thanks! …

Web Development apple php
Member Avatar for designingamy
0
105
Member Avatar for gordo58

Hi, I'm new to php so I'll probably be posting a few queries along the way. The problem I'm having is I'm trying to print out an address in an HTML table with information taken from a database. The fields are Address1, Address2, Address3, Address4 and Postcode. Everything prints correctly …

Web Development php
Member Avatar for gordo58
0
110
Member Avatar for serkan sendur

Create a class and add these two methods to it : // for postback events public static void ShowMessageBox(string _message) { Page page = HttpContext.Current.Handler as Page; page.RegisterStartupScript("key2", "<script>alert('" + _message + "');</script>"); } // for async postback events public static void ShowMessageBoxForAsync(string _message) { Page page = HttpContext.Current.Handler as …

Web Development asp asp.net
Member Avatar for reniies
0
167
Member Avatar for bharatshivram

how can i refer to the individual elements of a formview outside the control? i want to access the value of qustidlabel outside the formview control

Web Development asp.net
Member Avatar for bharatshivram
0
109
Member Avatar for jobojo

I am trying to write a basic amortization calculator program in JavaScript and I am at a standstill. I have researched my issue online for hours without being able to come up with a resolution. In my program I have created a "for" loop which loops for the appropriate loan …

Web Development javascript
Member Avatar for jobojo
0
166
Member Avatar for mgn2683

How would I go about creating a recordset with two WHERE clauses in it? Basically, I have a list and detail pages for a team assignment. In the list page, there are two fields that have to be concatenated to show full names. In the user table they have different …

Web Development php
Member Avatar for mgn2683
0
92
Member Avatar for misselegant

Hi guys, I coding a page to save the first name in the database, iam having a problem and I want you to help me please.. aspx page code [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CompanyInfo.aspx.cs" Inherits="CompanyInfo" %> <!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" > <head runat="server"> …

Web Development asp.net open-source web-server
Member Avatar for misselegant
0
96
Member Avatar for designingamy

Hello everyone. I have really screwed up this code and can't seem to figure out all the things that is wrong with it. Can someone point me in the right direction? Thanks! ~Amy [code] <?php /* Program name: listings.php * Description: This will pull some of the customer's information * …

Web Development php
Member Avatar for designingamy
0
190
Member Avatar for Wiizl

So... I have 3 textboxes and a Submit button. Here's the code behind: [CODE] public void Submit1_onClick(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(); DateTime laiks = new DateTime(); conn.ConnectionString = "data source=.;initial catalog=ForumDataBase;integrated security=true;"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO PostTable(ThreadTitle,PostMessage,UserName) values('" & ThreadTextbox.Value …

Web Development asp asp.net open-source sql
Member Avatar for misselegant
0
155
Member Avatar for rje7

hi everyone, I'm developing a Online Music Shop. I think i have completed the basic modules which are necessary in a online music shop. modules include buying prepaid credits, searching for a music file in titles, artist and album, preview the music file, shopping cart, buying the file deducting from …

Web Development asp.net
Member Avatar for rje7
0
139
Member Avatar for websurfer

Hello, all; I am practising on this blog setup, and I am trying to echo each blog entry's headline appear as the page's Title tag... somehow the way I have it doesnt do it. So that you have an idea of what I am doing, I have an "if" statement …

Web Development html-css php
Member Avatar for Will Gresham
0
193
Member Avatar for amby

hi there can anybody please help me out....i just start learning asp.net and have downloaded visual web developer 2008 Express Edition....and it opens my .aspx file.....but i want to check its contents on my browser.....i wrote the simple program that prints Hello world in the center with the yellow background.....first …

Member Avatar for jbennet
0
148
Member Avatar for realnsleo

hi there, i am developing software that allows insurance companies to send text messages to their clients when their insurance expires. i want to add a function that allows the system to automatically send these messages n number of days before the expiry date. ('n' being number of days specified …

Web Development javascript
Member Avatar for realnsleo
0
97
Member Avatar for enzogoy

Hi all I have a few page of PHP just for internal use. Its function only obtain the data from the users enter and write it to an .csv file. Everything works fine til this morning I do a check again and I found out that It didn't write to …

Web Development php
Member Avatar for enzogoy
0
108
Member Avatar for mineko_panda

Hi I'm tackling down an extra credit assignment which I'm so confused on. We are to design a basic JS Grade Calc where we input our scores and it gives us our grade. For extra credit we have to snazz it up a bit. So far this is what I …

Web Development javascript
Member Avatar for mineko_panda
0
162
Member Avatar for danielpataki

Hello Everyone! This is my first post, so please excuse me for any breaches of netiquette. I am building my own from validation script, which uses separate functions for each input box like so. [CODE=html]<input type="text" name="username" onchange="CheckUsername(this.value);">[/CODE] A bit of javascript sends this along to a php file using …

Web Development javascript
Member Avatar for danielpataki
0
167
Member Avatar for danielpataki

Hi everyone! I'd like to ask a simple question to which I can't really find a definitive answer. If I condense my code a lot, will this mean an increase in loading times which is significant enough? I like having my code spaced out, readable, but I would also like …

Web Development php session
Member Avatar for danielpataki
0
214
Member Avatar for MDGM

Hi all! Im making an upload script that uploads an image file, saves it and saves a thumbnail copy in a different directory. I have tried a couple of scripts and have found one which I think will work nicely but i cannot get it working. The script is below: …

Web Development image php
Member Avatar for MDGM
0
121
Member Avatar for SoniaBaby

I have a list that uses Scriptaculous 'Sortable' to allow list items to be drag and dropped into another list. This works just fine, however I wish to update the contents of the first list using a drop menu/Ajax. The list populates with new content just fine, however this new …

Web Development javascript
Member Avatar for SoniaBaby
0
103
Member Avatar for PanGraphX

Does anyone have a solution to separate include template? I have the index.php calling for the control file and a template page. I'm wanting it to call up template1.php if you click on this, or else template2.php if you click on this. I don't know if I'm making sense. Example: …

Web Development php
Member Avatar for PanGraphX
0
78
Member Avatar for justinmyoung

On a previous thread, a member was nice enough to help me out. The script worked fine, until I added other variables. Now, it won't register in the database. My eyes are not working. Any ninjas? Thanks [B]reg.php[/B] [CODE]<?php require( 'config.php' ); $con = mysql_connect( $mySQLhost,$mySQLuser,$mySQLpass ) or die( 'Error: …

Web Development php
Member Avatar for justinmyoung
0
173
Member Avatar for rickarro

Hey All, I'm having trouble figuring out why I can not put aphostrophies in my input form. This is a user input area and it won't take words like, don't, won't ...etc. Here is the input form [code] <?php if (!isset($_SESSION['valid_ad_user'])) { echo "<h2>Sorry, you do not have permission to …

Web Development php
Member Avatar for rickarro
0
100
Member Avatar for davewylie

I want to be able to identifying users to my website so that I can see when they last logged on and highlight changes to certain pages when they see them for the first time. One problem is that a user's IP address may be dynamic, so I don't see …

Web Development php
Member Avatar for Manuz
0
136
Member Avatar for Roebuc

Hey all, I am trying to write my first Ajax script.....I downloaded a demo and basically tried copying it and it did not work. My PHP scripts that are tied to it work, however on the form, my onclick="getName();" or onChange="getName();" does not work. onkeyup="doWork();" works just fine. can someone …

Web Development javascript
Member Avatar for Roebuc
0
118
Member Avatar for jackakos

I have a form in which there is a table that displays a list from the MySQL with checkboxes to each displayed name. I have to make a selection out from the list by checking some the checkboxes all may be all the checkboxes in some circumstances. A. I have …

Web Development php
Member Avatar for jackakos
0
171
Member Avatar for emhmk1

Hi All, Basially a client wants to visit his site click on the admin link and upload some images and some text so his page refreshes with the new stuff showing at the top and the older stuff below it. I was thinking at first of using include but not …

Web Development php
Member Avatar for emhmk1
0
84
Member Avatar for Will Gresham

I have got a slight problem with the code below, I am getting entries into the Database with null values, which as far as I can see should not be possible I have both Client-side JS to validate the fields are not empty and PHP to do the same, Just …

Web Development php
Member Avatar for Will Gresham
0
107
Member Avatar for Clawsy

Hello, I have a little problem that kept me busy for quite a while so I search for help here, maybe someone sees 'the bug'. I use JW FLV player to play *.flv movies from my website. I use a XML playlist for that. It's just the movies don't start …

Web Development flash javascript xml
Member Avatar for Clawsy
0
314
Member Avatar for yasmena

Is It Possible to pass a variable through an included file include("../admin/addcustomer.php?page=partner"); i tried it but it says : Failed to open stream: No such file or directory plz i need help and if it's not possible how can i pass this variable

Web Development file-stream php
Member Avatar for yasmena
0
191
Member Avatar for soultrav

Hello! The error above appears on line 9 and i can't seem to figure it out! [code=php] <?php srand(time()); for ($i=0; $i < 5; $i++) { $rand1 = (rand()%13 + 1); $rand2 = (rand()%4 + 1); $slot[$i] = $rand1*10 + $rand2; for($j=0;$j<$i;$j++) while(slot[$i] == slot[$j]) { $rand1 = (rand()%13 + …

Web Development php
Member Avatar for jt1
0
136
Member Avatar for Shanti C

Hello.. I want to counts clicks for a flash script.. For image it is easy to do..but for flash i don't know how??? Can anybody know about this...please help me... Shanti

Web Development flash php
Member Avatar for FlashCreations
0
136
Member Avatar for justinmyoung

strangely enough I got this to work once but I can't understand how. I've looked it over for hours. need help. here's the situation. all I want to do is have my form, a basic form, insert information into my database. It works for all my fields, except two. I …

Web Development php
Member Avatar for justinmyoung
0
116
Member Avatar for queenc

hi i have a application in which i want to get the zipcode or search based on the zipcode.when the users give the radius and a particular zipcode..i want to get the zip code based onthe radius .please tell me how to do that.. thanks

Web Development php
Member Avatar for queenc
0
722
Member Avatar for kevin wood

i am trying to submit three forms with the one button using javascript. here is my code [CODE]<script type="text/JavaScript"> function submitForms(){ document.dropdown.submit(); document.radio.submit(); document.form.submit(); } function textLimit(field, maxlen) { if (field.value.length > maxlen + 1) alert('your input has been truncated!'); if (field.value.length > maxlen) field.value = field.value.substring(0, maxlen); } </script> …

Web Development javascript
Member Avatar for kevin wood
0
115
Member Avatar for enim213

hi, im enim and its my first time to post here in javascript because im into php. my question is: 1.) Is it possible to have two checkbox in a row (with different value), the one is hidden and if i check the the visible checkbox, the other one will …

Web Development javascript
Member Avatar for enim213
0
134
Member Avatar for geordiejon

I am trying to get to grips with Object Oriented PHP. Last week we were given a exercise to do, which creates a webpage, using a class and a client which will call the class. I am totaly not getting the hang of this, and i am getting so frustraited …

Web Development html-css php
Member Avatar for vl4kn0
0
150
Member Avatar for MDGM

Hi all, Iv made a simple 5 star voting system and need a way to make sure the user can't vote on the same product again in the next hour. I'm not a mathmatician and get really confused with the time calculations and have tried quite a few methods now …

Web Development php
Member Avatar for MDGM
0
142
Member Avatar for BrettH

Hi, So, I'm working on some PHP scripts, and I never noticed this happening before, but on all of my PHP scripts, any POST variables automatically become regular variables. For example: If I have a post variable $_POST['firstName'] passed through a web form, and then I look at the variable …

Web Development first-post php
Member Avatar for BrettH
0
86
Member Avatar for MDGM

Hi all, Iv looked at quite a lot of forums and cannot get the code to work properly for searching multiple search terms. I have tried exploding the search string and then doing a search similar to this: WHERE fullname LIKE '%$1%' OR fullname LIKE '%$2%' but it has not …

Web Development php
Member Avatar for MDGM
0
178
Member Avatar for bharatshivram

hi i am using visual studio 2008 express edition. i have created a database in sql ( add new item > sql database). the db has 2 fields uname and upwd. have also created a web page in asp.net that has 2 text boxes (textbox1,textbox2) and a command button (cmdbutton1). …

Web Development asp.net visual-studio
Member Avatar for bharatshivram
0
115
Member Avatar for FlashCreations

Hello, I have a question about PHP. I realized that you can use the POST variable to get data from a form submitted with the type post, but does the order of the fields matter. Example: index.html: [code=HTML]<HTML> <HEAD> <TITLE>Form</TITLE> </HEAD> <BODY> <FORM name='test' action='submit.php' method='post'> Name: <INPUT type='text' name='name' …

Web Development first-post php
Member Avatar for mangel.murti
0
266
Member Avatar for darkagn

Hi all, I wanted to ask if it is a good idea to install PHP on a windows XP machine running IIS? A lot of the documentation I have read talks about Windows 2000 Server with IIS, but not XP. At work I run PHP on a Linux-like platform (FreeBSD …

Web Development php windows-server windows-xp
Member Avatar for darkagn
0
204
Member Avatar for mushbucket

I know this has been asked plenty, and I have tried many things but I can't get anything to work and codes that do seem to work look ridiculously large for the purpose I need them for. What I basically need is something that gets all the rows from a …

Web Development html-css php
Member Avatar for Will Gresham
0
138
Member Avatar for samarudge

Hi, I want to set a function that will count how long a button is held down for however when the button is released I need to run another function that will pass the length of time and a variable passed by the button on to a script usin AJAX. …

Web Development javascript
Member Avatar for scru
0
99
Member Avatar for MDGM

hi all, I'm using dreamweaver templates to make my site, however when I want to use the session_start(); function in php, the headers have already been sent because dreamweaver writes the following into the page: [CODE]<!-- InstanceBegin template="/Templates/index.dwt.php" codeOutsideHTMLIsLocked="false" --> [/CODE] and so I am having to put in the …

Web Development php
Member Avatar for scru
-1
162
Member Avatar for Eko

Hey guys , While playing with jquery i've come across the following situation : [code] $(document).ready(function(){ $("div")[0].css("background-color","blue"); }); [/code] I get an error everytime i try to call any method on a particular element from the wrapper set . I tried with the get() [code] $("div").get(0); [/code] Same stuff . …

Web Development javascript javascript-jquery
Member Avatar for Eko
0
199
Member Avatar for veledrom

Hi, How do i check result of out parametter of stored procedure in php? [code] CREATE PROCEDURE `username`(IN name_in varchar(10), OUT name_out varchar(10)) BEGIN SELECT name FROM table WHERE name= name_in; END; [/code] [code] //This always returns 1 even there is no record in the table. $query = "CALL username($name, …

Web Development php
Member Avatar for veledrom
0
134
Member Avatar for FlashCreations

Hello, I was browsing DaniWeb and found a code snippet that allows PHP files to be static and more search-able by browsers. I notice that certain pages of DaniWeb are PHP (such as this new thread page), yet most are html files. I know this may seem nosy, but I …

Web Development php
Member Avatar for FlashCreations
0
239
Member Avatar for serkan sendur

i plan to learn php, i want to know from where to start as version, IDE, server installation and whatever required for a true start. i also want to know how php is similar to asp.net and how it is not. Thanks

Web Development asp.net ide php
Member Avatar for PoA
0
146
Member Avatar for mzd12111

hello there i have some problem with rgb. i am writing a color selector , 3 sliders demonstrate 3 color , red and green and blue , then the mix color appears in a div named '[COLOR="Green"]result[/COLOR]' in the end of page. consider i have 3 variables which indicates 3 …

Web Development javascript
Member Avatar for mzd12111
0
277

The End.