52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for motters

hi i have a contact form that i want to submit to a dater base and here is my code to do that [CODE] <?php require_once('Connections/mywigan.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = …

Web Development email php
Member Avatar for motters
0
116
Member Avatar for mith_cool

I am currently storing the values retrieved from the user form including image supplied by the user to sql database. The image is stored in the database but at the time when am trying to retrieve that image am getting the following exception Parameterized Query '(@name varchar(8000))select firstname,image from register …

Web Development asp.net image web-server
Member Avatar for mith_cool
0
257
Member Avatar for manoj30dec

hi I am using following code to validate username and password please can any body check where is the mistake... [code] $adminuser = $_POST['adminuser']; $adminpass=$_POST['adminpass']; if((!$adminuser=="") or (!$adminpass=="")){ echo "Please enter Username and Password"; } elseif((!$adminuser=="admin") or (!$adminpass=="manoj")){ echo "Invalid Username and Password"; } else{ "good"; } [/code]

Web Development php
Member Avatar for harshbavaliya
0
117
Member Avatar for frezek
Member Avatar for sara444
0
100
Member Avatar for muralibobby2015

hello.... i want to do search box. it is exactly like google custom search. i am not talking about functionality. i am talking about look and feel. you see google search box. in that google image will appear. when we mouse in that text box that image will disapear. how …

Web Development google php
Member Avatar for saiprem
0
123
Member Avatar for whiteyoh

Hi All, This follow script does exactly what it says on the tin, except 1 thing, the "show next 10 results" wont show the next ten. any ideas anybody? [code] <?php // Get the search variable from URL $var = $_GET['q'] ; $trimmed = trim($var); //trim whitespace from the stored …

Web Development php
Member Avatar for whiteyoh
0
120
Member Avatar for ksp_852005

below is my code....i m gettng "System.InvalidCastException: Specified cast is not valid." error in my code...m new on asp.net n sql...m trying to build login area....but unless n until i solve this error i can't move forward n as m new, m not gettng y m gettng dis error... can …

Web Development asp.net open-source
Member Avatar for padtes
0
253
Member Avatar for peter_budo

I'm looking to find out a way to drag and drop table rows between two tables. I reused jQuery example for[URL="http://jqueryui.com/demos/sortable/#portlets"] portlets[/URL], but that did not work to full satisfaction. [attach]13597[/attach] In above screen shot I added border, but that is just for illustration of the issue. Problems: [LIST=1] [*]As …

Member Avatar for peter_budo
0
606
Member Avatar for mmonclair

Hi all, I am working on an interface that communicates with a PostgresSQL to create and grade a multiple choice test. The steps go like this: 1. Get user information 2. Set up a record of the user's test in the database 3. Pull in questions and possible responses from …

Web Development coldfusion user-interface
Member Avatar for grungy coder
0
117
Member Avatar for oldnewbee

First I run a simple query to get the max ID from the table, which returns a number 10284. To which I would like to add a randomly generated number. So I get a number like '2' and it adds it and I get 10287 - which is INCORRECT! I …

Web Development coldfusion
Member Avatar for grungy coder
0
110
Member Avatar for RAB123

[b] Split from - [url]http://www.daniweb.com/forums/thread62371.html[/url] [/b] [QUOTE=ra18279;282758]thanks for the info[/QUOTE] Hello... i am also facing same issue. Please give me answer. Thanks in advance

Web Development asp.net pdf
Member Avatar for kvprajapati
0
148
Member Avatar for timetex

As a novice JSP (and non-programmer!) I've bee doing some customisation to a browsers driven application which provides a users with CTI functionality on their desktop. My task was to create a custom "tab" on their page, which gave a series of checkboxes, with an "Apply" button. The purpose of …

Web Development html-css java-jsp session
Member Avatar for jwenting
0
2K
Member Avatar for kdcorp87

what is the difference between httppathrequest and server.mappath. i mean r they return different path ? i uploading file use httppahrequest and it works fine in my pc iis7, but when i run in server it didnt work. but server.mappath work in both

Web Development asp.net
Member Avatar for kvprajapati
0
82
Member Avatar for Nfurman

Hello! How can I insert into DB date using DetailsView. I have variable: [CODE] DateTime now=DateTime.UtcNow; [/CODE] I need to send it's value into the database automatically when an user inserts new record in my DetailsView. The code: [CODE] <asp:DetailsView ID="DetailsView1" runat="server" AllowPaging="True" AutoGenerateRows="False" CellPadding="4" DataKeyNames="id" DataSourceID="SqlDataSource3" ForeColor="#333333" GridLines="None" Height="50px" …

Web Development asp.net
Member Avatar for kvprajapati
0
208
Member Avatar for ausmaya

Hi, This is the code for form validation to check whether the username has six characters.i'm getting error.In form element i have added action="registration.aspx" i think it is for validaiton in server.. wat is the purpose of it??? can anyone pls suggest free links for webdeveloping ebooks using javascript?. how …

Web Development javascript javascript-jquery
Member Avatar for parry_kulk
0
182
Member Avatar for rayarman

Hi, I have the following HTML code: [code] <form> <label for="searchtxt">Find a Question...</label> <input type="text" name="searchtxt" id="searchtxt" maxlength="200" size="92" /> <input type="submit" id="searchsbmt" name="searchsbmt" value="Search" onclick="return getquestions(0,5);" /> </form> [/code] the function getquestions is sending some variables via ajax and returning to populate a div. when it finishes, it returns …

Web Development javascript
Member Avatar for Graphix
0
334
Member Avatar for kuteinheart

Hi ppl, I have a form with a drop down box and a calendar picker. I want to check if both these fields have been filled to proceed to the next page. [CODE]echo "<select name=Project value =' '>ProjectName</option>"; echo "<option>Select Project</option>"; while ($row=mysql_fetch_array($result)) { echo "<OPTION VALUE=$row[Project_Id]>$row[ProjectName]</option>"; } echo"</select>"; ?></td> …

Web Development php
Member Avatar for kuteinheart
0
105
Member Avatar for justted

Hello everyone, I am trying to istall this script which has no install instructions. However, in the Config document it hs the following line whichit says to edit [code] $items_path = "/var/www/vhosts/cyberpetcity.com/httpdocs/images"; //EDIT $Z = ""; [/code] I thought it may have been the full URL that I was supose …

Web Development php
Member Avatar for mblizman
0
137
Member Avatar for sutt0n

Okay, so you know whenever you send an e-mail from your website to either test something or notify you, you sometimes get that signature that says "scanned by blah blah". Like in Gmail, it says "scanned by blah blah blah". I was wondering if there was a way to remove …

Web Development php
Member Avatar for cwarn23
0
161
Member Avatar for drewpark88

Hey Guys, It's me again....I thought everything would work but when I tried making a donation on my donation.php form I received the following error in my process_transaction.php file: Here is the error: Parse error: syntax error, unexpected $end in \\nawinfs02\home\users\web\b885\rh.mysite\orderform\process_transaction.php on line 224 My webhost is lame and does …

Web Development php
Member Avatar for drewpark88
0
102
Member Avatar for harry_watson

Okay I have a textarea that edits a text div. When the user edits the text and submits, paragraphs and line breaks are passed to the div. [B]i.e[/B] (not the browser)[B]text div[/B] after submit.... [I]'WARNING - This email and any attachments may be private & confidential. If received in error, …

Web Development display php
Member Avatar for harry_watson
0
4K
Member Avatar for afshan_naz

I'm having a problem in connecting my access database using php. The wampserver displays a message of Parse error. I have connected my access db through control pannel's option administrative tools,but no output.plz help me.... The server shows the following message: Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Microsoft Access Driver] …

Web Development microsoft-access php
Member Avatar for CFROG
0
289
Member Avatar for drewpark88

I have a quick question. How do I get only the last 4 digits of the cc_number? Will the following work? Or should I try something different.. Oh and I am emailing to myself that's why it has $message. Here's the code I think will work: [CODE] $message .= "<td>{$_GET['cc_number'] …

Web Development php
Member Avatar for drewpark88
0
155
Member Avatar for fielding

How do i go about making these multiple scripts work on a single page? [CODE] $(document).ready(function() { var str = ""; $("select option:selected").each(function () { str += $(this).text() + " "; }); $(".display_text_here").text(str); }) .change();[/CODE] This one i would like an IE conditional [CODE]$(document).ready(function() { $(".select") .mouseover(function(){ $(this) .data("origWidth", $(this).css("width")) …

Web Development javascript
Member Avatar for fielding
0
92
Member Avatar for barryw33

Hi, I am trying to sign off a website but have one final obstacle to overcome and then all good. the problem I have is I have private chat on a dating website. the site is in russian and english. the php page for the chat needs headers so that …

Web Development javascript
Member Avatar for barryw33
0
144
Member Avatar for jaydee123

I have a very simple flash program that plays music. It consists of a play pause button and a timer that shows the current position of the song. I'm trying to make it possible to pause or play the song using a regular form button. [CODE]<div class="musicplayer_playpause"> <script type="text/javascript"> AC_FL_RunContent( …

Web Development flash javascript
Member Avatar for ShawnCplus
0
104
Member Avatar for whiteyoh

Hi All, The form below is set to pass data to paypal, however I cant seem to get it to work when using variables recieved from a $_POST. I get an error from paypal stating........ "The link you have used to enter the PayPal system contains an incorrectly formatted item …

Web Development php
Member Avatar for whiteyoh
0
99
Member Avatar for r0gp

Hi, I have the following: [CODE] $_host = $DHOY_CONFIG['db'][$connection_name]['host']; $_name = $DHOY_CONFIG['db'][$connection_name]['name']; $_port = $DHOY_CONFIG['db'][$connection_name]['port']; $_user = $DHOY_CONFIG['db'][$connection_name]['user']; $_pass = $DHOY_CONFIG['db'][$connection_name]['pass']; $dsn = "mysql://$_user:$_pass@$_host:$_port/$_name?new_link=true"; print "dsn is $dsn"; if ($dsn != 'mysql://:@:/?new_link=true') { $db_connection[$connection_name] = DB::connect($dsn); if (!DB::isError($db_connection[$connection_name])) { return $db_connection[$connection_name]; } else { trigger_error("General system error ID: 00002 - …

Web Development mysql php
Member Avatar for r0gp
0
141
Member Avatar for drewpark88

Ok so here's what I'm trying to do: 1. You press submit on my php donation form page, and when you press submit it goes to a process.php but within the IF statement I have it to where it sends my client an HTML email. 2. What I want my …

Web Development email html-css php
Member Avatar for saiprem
0
168
Member Avatar for Justni

hi all, i got problem on field validation, could someone help me? i figure it as below: - i need fill up an array in client side JS with data from database and i will use for reference to validation (SELECT SN from package where PO='YU123456') - then in the …

Web Development asp user-interface
Member Avatar for Justni
0
126
Member Avatar for Nfurman

Hi, I need some free picture viewer to plug him into my aspx page. It should have to navigation buttons << | >>. Can somebody advice me some?

Web Development asp.net
Member Avatar for Nfurman
0
86
Member Avatar for cane23

i m having some trouble trying to find the sum of an queried variable however this variable is inside a loop and it is not summing it is just returning the value at that instant in time this is the code below [CODE]@$code= $_POST['coursecode_1']; if( is_array($code)) { //$sum= array(); while …

Web Development php
Member Avatar for cane23
0
93
Member Avatar for capiono

Hi, I have a asp.net form that uses form authentication. I want to now implement a role base security buy don't how. Please could someone help me with a sample code on how to do this . Thanks.

Web Development asp.net
Member Avatar for Seoconsultant78
0
56
Member Avatar for xuexue

hi guys, just wanna ask, is it possible to have a function using tables in html wherein if a user selects a row, the program will get the value of the entire selected row? and this value will be passed to php without reloading the page itself..thanks thanks in advance,^_^

Web Development php
Member Avatar for saiprem
0
100
Member Avatar for mohane

Hi, i have query, i want to replace a string in text file. it should write correctly in specified line in the text file . whether it is possible. my doubt is if i delete the line in the text file. it remains blank. it should not occupy the other …

Web Development php
Member Avatar for mohane
0
2K
Member Avatar for hno

HI I have seen this pattern in [url]http://www.altsoftware.com/index.php[/url] . there are news menu in the left side . Please visit this site . The news will be change with a really beautiful pattern in every 5 seconds I think it has been written with jquery but I don't know how …

Web Development javascript
Member Avatar for macneato
0
78
Member Avatar for ursrathika

Hai Experts i am working in php platform.i have a problem in paging in image catalog..my process is insert three or more images in image folder..and i have retrieved images in same folder to display table or Div in php.images are successfully displayed but i have a problem in paging....what …

Web Development php
Member Avatar for realnsleo
0
107
Member Avatar for preetg

hi............. m inserted records in database successfully but now i want that whenever record added in database a dialog box will be shown on the screen.............. " RECORD ADDED" m using javascript code for this but it is not working............ plz help me to do this ............. <HTML> <HEAD> <TITLE>Apprentice …

Web Development javascript php
Member Avatar for phpbeginners
0
220
Member Avatar for Venom Rush

Hi all I have a form where a user can upload a file. I do a check to see if it's a zip file. If it isn't then its supposed to stop the file from being uploaded. Only thing is, the file still uploads regardless of getting the error or …

Web Development file-system javascript
Member Avatar for Venom Rush
0
96
Member Avatar for joloms38

hi guys! can anyone help me about this problem. i want to select the desire data from a row but only the last row the will be posted not the data that i want to get. plz help me. its inside i a while loop. [CODE]else if (($from=='Cagayan De Oro' …

Web Development php
Member Avatar for rajabhaskar525
0
100
Member Avatar for phpDave

Hi, I'm trying to display certain links if user is logged in, else display other links. Everything works great except for log out link. I have a php script inside a php script and its not working. I was wondering if anyone has a solution. Here is the else part …

Web Development php
Member Avatar for phpbeginners
0
121
Member Avatar for tryphy

Hi friends, I have a form to create a company details.. which will insert the details into a table. For this table, I need to have a auto increment field as character.. when we have autoincreament as Integer... whenever the new company is created..the number will increase from 0, 1, …

Web Development php
Member Avatar for phpbeginners
0
117
Member Avatar for cane23

i want to store the result of an mysql_fetch_array function in an array for future use. here is my code [LIST=1] [*]$sql= "SELECT parameters FROM rules WHERE type='prerequisite' "; [*] //$result=mysql_query($sql); [*] if ($result=mysql_query($sql)) [*] echo '<p>nice</p>'; [*] else [*] echo 'good shit'; [*] [*]//$row = mysql_fetch_row($result) [*]// [*]while ( …

Web Development php
Member Avatar for cane23
0
8K
Member Avatar for beanboy

hi, i'm trying to run a servlet code, but i get "HTTP Status 404 - Servlet Update2 is not available" error. i checked code, its perfect, web.xml is correct. but i did not find any .class files in my web-inf/classes directory. how could i get servlet .class files in web-inf/classes …

Web Development java-jsp xml
Member Avatar for fardoonmuhafiz
0
92
Member Avatar for ReDuX

If you have done a PHP based website, chances are you have dynamic content called by variables and so on. As many people use a main page (index.php) and use code within that page to dictate what content is displayed, either with if or switches or whatever. Thing is, Google …

Web Development apache php
Member Avatar for wiltekg
0
121
Member Avatar for Heinz Stapff

[B]NEED INPUT VALUES TO MATCH ARGS ARRAY OR THROW AN ALERT[/B] This is what I have but I want the alert to refrence the var args= or throw the alert. [code] function qtymultiply(qty){ var fs=qty.parentNode.parentNode; var subtotal=document.getElementById('subtotal'); var args=[1,2,4,6,8,10,20]; [COLOR=darkorange]//array I need to match foreach element[/COLOR] var multiply=0.0; var price=fs.cells[4].innerHTML; …

Web Development javascript
Member Avatar for Heinz Stapff
0
113
Member Avatar for Rumblefish1976

I've been tinkereing around with PHP and I've come unstuck. I started out with an index page used to login, this linked to a login page for validation against allowed users, which in turn brought up a Voting Form and finally a page to display the results. In all 5 …

Web Development first-post php
Member Avatar for Rumblefish1976
0
141
Member Avatar for Ana_Developer

I want to call a javasript function once a checkbox is checked and then enable a button in the function. How can I assign the javascript function to the check box event? Thanks!

Web Development asp.net javascript
Member Avatar for apegram
0
128
Member Avatar for paulernest

Hi I was wondering if there is a standard way to set a time out for ajax callbacks. The problem seems such an obvious one I know that it will have been solved several times. I'm using the google maps and google local api's and I want to wrap my …

Web Development api google-api javascript
Member Avatar for paulernest
0
93
Member Avatar for zodiacfive

How can we redirect a page using AJAX on submitting a form with values and inserting them to the DB. I am using Jquery. Please help. :(

Web Development php
Member Avatar for zodiacfive
0
103

The End.