17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for LurkerPatrol

Hi everyone, So I have a form that I'm running which has an option to upload a resume. The form itself is actually multi-page but it all sits inside 1 asp file. The way I manage that is to use a select function and case function and depending on the …

Web Development asp session vbscript
Member Avatar for LurkerPatrol
0
206
Member Avatar for planethax

OK, I am making a Form that will have about 65 check boxes, this data will be pulled from database. I need to validate form to be sure that 7 (no more no less) are checked. Can some one post a quick code snippet of the code validation for this? …

Web Development php
Member Avatar for wilch
-1
139
Member Avatar for bmiles2001

I have a GridView posting what is in my database and I have the DeleteCommand working as I want it, however, the Update Command is not updating. The if statement in mySQLDataSource "says" it's updating, but that is not the case. I have also tried adding in DeleteMessages.DataBind() thinking that …

Web Development asp.net web-server
Member Avatar for bmiles2001
0
550
Member Avatar for ayesha789

HI, I am developing a Inventory Management Databse in PHP/MySQL. There are 3 fields 1. Item_Code 2. Serial_No 3. Quantity For Example: if Item_Code is fan02 and quantity 10 then each item quantity have a unique serial no. How i can develop a form for user, Who can insert item_code …

Web Development php
Member Avatar for network18
0
127
Member Avatar for Facte

Hi there everyone. I have a script that has been written to generate a feed for sites that mine links to. It is supposed to return all jobs from my mySQL database that have not expired. No matter what I do I can only get it to display all jobs …

Web Development html-amp php xml
Member Avatar for Atli
0
120
Member Avatar for genieuk

Hi, I built a comments system, basically the comments appear underneath the form once submitted and page is refreshed, everything works like it should. I have this piece of code below, what i am having difficulty in is first time it worked then it no longer works. [CODE]<?php $bannedwordquery = …

Web Development php
Member Avatar for genieuk
0
161
Member Avatar for zorro-az

hi, everyone i would like to learn more about parentnode and childnode (with exaplanation) with the tutorials The reason i am beginner i dont understand this properties does anyone help

Web Development javascript
Member Avatar for Airshow
0
140
Member Avatar for jithusdani

Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …

Web Development javascript php
Member Avatar for network18
0
119
Member Avatar for jithusdani

Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …

Web Development javascript
Member Avatar for jithusdani
0
103
Member Avatar for naif_prof

hi PLZ .. Im searching for an online exam applicatoin (MCQ exam ) using ASP.NET (C#) and this application read Questions randomly from a list of questions Stored in database like MSSQL2000 PLZ any one can help me to find this application because I Know this type of application available …

Web Development asp asp.net
Member Avatar for piknik
-3
820
Member Avatar for macross

This should be an easy question, I googled it and was noytable to get it working 100%. I have a sql DB which records people signing up via a form for a newsletter/group. I have the form working fine where it inserts the data into the Db correctly. I now …

Web Development php
Member Avatar for macross
0
188
Member Avatar for cavpollo

Hi there, I got a master page and I need a panel to stay at the bottom of the web page. This is my panel: [CODE]<center><asp:Panel ID="uxButtonsPanel" runat="server" BackColor="Transparent" Height="10px" Width="650px" BorderColor="#C00000" BorderStyle="Groove" BorderWidth="6px" HorizontalAlign="Center" Direction="LeftToRight"></asp:Panel></center>[/CODE] I've looked in many places on the internet and many mention the use of …

Web Development asp.net web-server
Member Avatar for cavpollo
0
1K
Member Avatar for nadnakinam

hi, i'm using menu for displaying birth month of user... i hav added 12 entries denoting 12 months of a year. items and thier values are... Item Value Jan 1 Feb 2 ... . ... . Nov 11 Dec 12 the values are stored in Database. Problem is viewing the …

Web Development php
Member Avatar for nadnakinam
-1
83
Member Avatar for streetrodfanati

Hello, I need a bit of help- I get the following error on my site when I add a banner: Warning: mktime() expects parameter 3 to be long, string given in /home/goldenpl/public_html/ptc/admin2/banners.php on line 69 Here is the file code: [code=syntax] <? $includes[title]="Banner Manager"; if($action == "add") { $sql=$Db1->query("INSERT INTO …

Web Development php
Member Avatar for streetrodfanati
0
108
Member Avatar for moonwine

I try to update a mysql db using php. I need to update the data in table "A" with the data from table "B" if the two table have 1 data in common. Everithing works fine when the data in common (prod='$col[0]') are only 1 word but not work when …

Web Development php
Member Avatar for pritaeas
-1
88
Member Avatar for Venom Rush

Hi all I have some functionality that allows the upload of files such as MS word docs, zips etc. It works fine on my pc and another test machine but doesn't seem to work on two other machines I've tested. All machines have Windows XP installed. The first machine that …

Web Development pdf php
Member Avatar for liamfriel
-1
174
Member Avatar for Xessa

I have phone area textbox and i want to test it against values like 1111111 or 9999999. I want at least 1 character to be different in this text area(it is exactly 7 characters long) How can i do this in its shortest way?

Web Development javascript regex
Member Avatar for ShawnCplus
0
82
Member Avatar for Tigran

Hello, I'm making a browser based game in php and so far it's going really good. However I have a doubt about a script i've written. This script does alot of calculations using the data from the mysql database i'm using. So it reads and writes quite alot. And the …

Web Development multithreading php queue
Member Avatar for network18
-1
96
Member Avatar for jithusdani

Hi Folks, I have a login page and stored username and password in mysql as 'admin' and 'admin' respectivley. My problem is like if I am entering a username and paasword like ADMIN and ADMIN its get logged in I want restrict that.So please anybody have look at this..

Web Development php
Member Avatar for Atli
0
173
Member Avatar for iThaos

Hello, Is there a way to create functions dynamically in PHP as such: [code=php] <?php $my_arr_conf = array( 'my_var' => 'This is my variable', 'your_var' => 'This is your variable' ); // Some code here where I can create the function // Maybe somehow with create_function(); ? // I was …

Web Development php
Member Avatar for iThaos
0
1K
Member Avatar for CFROG

I'm trying to make a list of friends that are NOT in address book. This returns all friends : [code] // Check for friends $frnd="SELECT * FROM friends WHERE my_id='$_SESSION[user_id]'"; $fres = mysql_query($frnd); $fnum = mysql_num_rows($fres); while($fr=mysql_fetch_array($fres)){ $friend = $fr['friend_name']; $friend_id = $fr['friend_id']; } [/code] This returns all friends that …

Web Development php
Member Avatar for CFROG
0
126
Member Avatar for Stefano Mtangoo

Hi all, When you add integer ID primary key auto increment, it automatically makes ID for you. But I was pondering on what happens after deleting a record. Does the server automatically adjust all IDs for you or it remains un assigned? For example, I have inserted as follows +------------+-------------+ …

Web Development mysql php
Member Avatar for Stefano Mtangoo
-1
144
Member Avatar for hemgoyal_1990

Hi all, I am New in Javascript and Not Having too Much Knowledge of Javascript. I Have a Javascript That Disable Enter Key in Textarea in Whole Form in Page. but I Want to Disable Enter Key only One Textarea. Below is my Code: [CODE]<html> <head> <title>The Title Of Your …

Web Development javascript
Member Avatar for JavaScriptBank
-1
2K
Member Avatar for matthewl

I have been working on an email validation functions that would validate the e-mail and I am having problems communicating the "EmailState" from the ajax. The state the php gives is 1 if the email address exists and zero if it doesn't. I do this check with Email_Exists() and when …

Web Development javascript xml
-1
65
Member Avatar for CFROG

This seemed like a good idea to me but it's not working out the way that I want ... I'm probably over-complicating it 8-) I'm trying to allow users to search for other users in their area and part of the search criteria gives you 8 different options to choose …

Web Development php
Member Avatar for fwdean
-1
181
Member Avatar for nadnakinam

hi, i'm using php 5.3. version for my site development. If i use this function "session_is_registred()", i' getting message something like warning(not actual warning message) as following "Function session_is_registered() is deprecated in c:/.../.php" how can i erodicate this message? help to accomplish it... Thnx...

Web Development php session
Member Avatar for fwdean
-1
90
Member Avatar for tarunkhatri

Hello, I have a php page with a form(grid) which is submitting values to the database. [CODE]<form action="<?php echo $_SERVER['PHP_SELF']?>" method="POST"> [/CODE] As soon as i press submit, data is updated in the database but I still see previous values in the form(grid), and manually need to refresh it for …

Web Development php
Member Avatar for tarunkhatri
-1
112
Member Avatar for valonesal

We are wondering how we would add parameters to the following script so that each section can be called separately. [CODE]<?php // This is the content we want to display $data = <<<EOT <div class="topbar"> My Text goes here </div> EOT; // Output JavaScript code to write the data printf('document.write(unescape("%s"));', …

Web Development php
Member Avatar for almostbob
-1
254
Member Avatar for Ghodmode

Is there a way to act directly on an array value returned from a function without assigning it to another variable first? For example, if I just want the third value in a CSV record, I might like to do it like this: [code]$value = preg_split('/,/', "one,two,three,four")[2];[/code] But that doesn't …

Web Development php
Member Avatar for somedude3488
0
156
Member Avatar for Scottmandoo

Im not sure if this is a php problem or javascript, but since the actual photo gallery is run by javascript I'll post it here, sorry if its not though. Everything works fine but when I click on another image to change the main image the caption wont change with …

Web Development javascript
Member Avatar for Scottmandoo
-1
96
Member Avatar for edDev

First a little background. I have a client (in-house) who insists that our training pages (launched from within iframes on a parent page) be able to load .wmv files with variables for the width and height parameters so we don't have to recode when videos are switched. Flash videos are …

Web Development flash html-css javascript
Member Avatar for edDev
-1
1K
Member Avatar for peck3277

Hi guys, So today I am trying to do something that is probably quite simple. But my head is all over the place and I can barely think straight! Something which is not good for a newb! I'm trying to display some text files on the web. These text files …

Web Development php
Member Avatar for wilch
0
130
Member Avatar for sanjaypandit

i want to search from the following table attached in zip file, my query is select * from tbl_property where acco_id='1' and count_id='1' and holi_id='1' order by add_date desc but there is a problem, i have various value in holi_id , i want to search , means want to match …

Web Development php
Member Avatar for sanjaypandit
0
78
Member Avatar for ayesha789

I need result which shows all the dates which expire after or within 90 days form now on(current date) but this query also shows results which already expire like it shows 27 sep 2009 which is before current date. I need only those which are expiring from today and with …

Web Development php
Member Avatar for ayesha789
0
96
Member Avatar for Derice

I have created an asp.net web project and deployed it in my pc with the virtual directory set to websetup1. How should i access my website? When i type my ip add in the browser, it will display my router configuration page instead. Should i include virtual directory in my …

Web Development asp asp.net web-browser
Member Avatar for vuyiswamb
0
204
Member Avatar for ayesha789

Hi, I have inserted time in Database using CURRENT_TIME() and Data type is Time. Now I want to show the Time in AM and PM format. Please guide me. Thanks in advance....

Web Development php
Member Avatar for mick_sp
0
4K
Member Avatar for Mapper99

Hi there, I am trying to delete XML nodes using PHP. Here is a sample of my xml file. [code] <users> <user> <fullname>PC1</fullname> <flooor>4</floor </user> <user> <fullname>PC2</fullname> <flooor>3</floor </user> </users> [/code] Here is my code so far: [CODE] <?php $users = new DOMDocument(); $users->load("officedata.xml"); $suser = simplexml_load_file("officedata.xml"); $count = 0; …

Web Development php xml
Member Avatar for Mapper99
0
240
Member Avatar for ayesha789

Hi, I am developing a Lease Management System, and I need to upload multiple files in a folder. and I want to name the folder where I want to upload in DB. Here is a code for upload a single file. first file is sendfile.php [CODE=php]<!-- The data encoding type, …

Web Development php
Member Avatar for ayesha789
0
351
Member Avatar for Stefano Mtangoo

Hi All, I'm trying to make simple CMS and can populate my HTML (generated by TinyMCE editor) to my database. I can retrieve them as well. Now I want to add image support to My editor. What are the tricks necessary? Thanks a lot :)

Web Development cms php
Member Avatar for Stefano Mtangoo
0
83
Member Avatar for mark2326l

As the title says I want to have a text field appear using the if statement. My simplest attempt.... [CODE] <?php if($row_Recordset1['NoPages_A'] { echo<input type="text" name="firstM" id="firstM" />;} ?> [/CODE]

Web Development php
Member Avatar for mark2326l
0
127
Member Avatar for Roebuc

can someone tell me what is wrong with the following: [CODE]function connect($db_host,$db_database,$db_user,$db_pass){ global $db_connection; try { $db_connection = mysql_connect($DB_HOST,$db_user,$db_pass, true); if(!$db_connection) { throw new Exception('MYQSL Connection Database Error: ' . mysql_error()); } else { $connection = true; } catch (Exception $e) { echo $e->GetMessage(); } }[/CODE] I receive: Parse error: …

Web Development php
Member Avatar for Roebuc
0
2K
Member Avatar for azegurb

Hello, I have one question again if i dont disturb you thank you very much you helped me with your help i created one table again and in this table i added some another options for ex at the previous table there were only one problem sum of the dynamically …

Web Development javascript
Member Avatar for Airshow
-1
267
Member Avatar for Altairzq

Hello... I can't see why this form is not working, when I generate if from a php script through Ajax. I made a test with the same code written directly in an html document and it works ok. Would appreciate any help. This is the code that generates the html …

Web Development html-css javascript json
Member Avatar for Altairzq
-1
126
Member Avatar for mIssy_ricco

im using menu item as my navigation. and im using this to remove my menu. [CODE] Private Sub RemoveItemByValue(ByVal Value As String) For i As Integer = 0 To Menu1.Items.Count - 1 If Menu1.Items(i).Value = Value Then Menu1.Items.Remove(Menu1.Items(i)) End If Next End Sub[/CODE] but i can only remove the top …

Web Development asp.net
Member Avatar for mIssy_ricco
0
101
Member Avatar for andym67

Hi All, I am processing a form that includes address info. If the user fills out the form and (address2) has an apartment number that they enter like: #1522 I have trouble later where I might contruct a link such as: [code] header("location: contact.php?address1=$address1&address2=$address2&city=$city&state=$state"); [/code] The link creates fine, but …

Web Development php
Member Avatar for diafol
0
169
Member Avatar for Altairzq

Hello. I'm using AJAX for all the updates to the web site I'm building and it works very well. But now I face the need to: 1) Upload a file (an image or video) to a folder in the server. 2) Insert a row in MySQL with the name of …

Web Development javascript mysql php
Member Avatar for digital-ether
-1
357
Member Avatar for jithusdani

Hi folks, I want to open a pdf stored in the database in a new window using php server side script. Actually I want store the file name in data table, which user clicks. So i need a server side script open the things in new window along with the …

Web Development pdf php
Member Avatar for jithusdani
0
3K
Member Avatar for jbisono

Hi all, I just have curiosity about something that I read in a book " [B]Unlike using the DataGrid, where you are responsible for coding the sort routine, to enable column sorting in this grid, you just set the AllowSorting attribute to True. The control takes care of all the …

Web Development asp.net
Member Avatar for jbisono
0
130
Member Avatar for love_dude1984

hello frends... well...i have got a prob here...im building a webuser Control and want to create a property for the same..i want to set multiple choices in the property box.i mean when ill use it on a .aspx form it should allow user to select to a value from multiple …

Web Development asp.net
Member Avatar for love_dude1984
0
103
Member Avatar for CFROG

Besides the obvious, like security issues, character limits in older browsers, etc. Is there any real difference between $_POST and $_GET besides the method in which data is passed? I have a script that works perfectly with $_POST but completely falls apart when I try to use $_GET. I rarely …

Web Development php
Member Avatar for cwarn23
0
173

The End.