52,566 Archived Topics
Remove Filter ![]() | |
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 = … | |
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 | |
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 | |
I whant to create registration page n login page ! I dont now how to create! | |
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 … | |
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 | |
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 | |
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 … Web Development html-css javascript javascript-jquery | |
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 | |
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 | |
[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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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, … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 - … | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
[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 | |
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 | |
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 | |
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 | |
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 |
The End.