52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nonshatter

Hey, I have a combo box and want to populate it with the selected value upon page reload. For a normal text field I would usually do something like this: [CODE] <input type="text" name="title" value="<?php echo $_SESSION['sellform']['title']; ?>"> [/CODE] How could I do the same for a drop-down box? E.g: …

Web Development php session
Member Avatar for whiteyoh
0
1K
Member Avatar for joseph2010

i need exam for dataset clone . if you find the result. reply me..

Web Development asp.net dataset
Member Avatar for joseph2010
0
145
Member Avatar for niths

hi all, when i delete any item. it is just deleting. But i need to get the conformation popup that "are u sure u want to delete..?" like this . i hope u understood wat i want. so please help me. Thank u.

Web Development php
Member Avatar for colweb
0
89
Member Avatar for littlebear330

hi, i'm trying to have a mail function using gmail server but i keep getting the error : SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host. this is the code i got [CODE]<?php include("class.phpmailer.php"); include("class.smtp.php"); if(isset($_POST['send'])){ $body=$_POST[email]; $mail = new …

Web Development php
Member Avatar for rajarajan2017
0
369
Member Avatar for LadyT

Let me be more understanding... I would like to create a community script with all the features I want and need.A community that allows members to use HTML.A community that allows members to have their own pages with tag boards,Personal information that they would like to put on.Photogallery,Blogs,ETC! I want …

Web Development php phpbb
Member Avatar for ankaj.eg
0
471
Member Avatar for SKANK!!!!!

sorry i figure it out again. really really easy: i really need to know. i got this one script that is alphabetally and minimal. which i luv. but i need it to be numerical because well, if ther is more than 9 images it sorts it wrong with abc order! …

Web Development php
0
85
Member Avatar for jamey8420

I had taken over some code that was originally created .net 1.1 We need to update and bring into .net 2.0, so I opened the solution in VS2008 and went through the converter wizard. Now, when I am trying to build the solution, I am seeing the below error for …

Member Avatar for kvprajapati
0
261
Member Avatar for Moderns

Hi, In part of my form, I have 3 inputs (one textarea and two text inputs), I am validating their value format using AJAX (each input triggers error message on its label in case format is wrong). Also I have one button, "NOT submit button" (type = button). Now, when …

Web Development javascript session
Member Avatar for Moderns
0
113
Member Avatar for Ycefire

Hello, I have some troubles with mine code which selects data from database and show them in the GridView. ASPX page: 1grid view, 1 button and 2 text boxes code behind: [CODE] Protected Sub cmdVyhledat_Click() Handles cmdVyhledat.Click SqlDataSource1.DataBind() GridView1.DataBind() End Sub Protected Sub gridview_refresh() Handles SqlDataSource1.DataBinding If (txtCisloReklamace.Text <> "") …

Web Development asp.net session
Member Avatar for Mohtshm
0
218
Member Avatar for Santho786

Presently in this below code, I have 4 dynamic values, end user will be select degree from combo box, entering the values semester, Max marks and Obtained marks as numeric values. Once entered dynamic rows will be created and it also calculate the percentage by the formula (om/mm)*100 for each …

Web Development javascript mathematics
Member Avatar for Santho786
0
136
Member Avatar for yookify

Hai.... Im new to .net ,I need help in doing my project.... If i Give the lastname in textbox then the items in lastname should be displayed in the anthor textbox [B]For ex : Thomus,123,aaa Thomus,345,bbb H_alert,456,ccc[/B] If i enter thomus it should show all thomus from my database but …

Web Development asp.net display
Member Avatar for yookify
0
87
Member Avatar for star_lavender

hi...anyone got ideas in form validation...I try a lot of methods already but still can't work...do not have any pop-up message although the required fill leave blank...is it the reason that I create my form in separate file??anyone got ideas on how to solve this problem?thanks in advance... part of …

Web Development php
Member Avatar for star_lavender
0
77
Member Avatar for yookify

Im Yooki ..... Im doing my project in asp .net with vb coding... Now i want to compare Two Strings in textbox.... For ex: Thomus .CA and Thomus .CC....Here i have to compare whether the two members r same r not... Im so new to this site and also new …

Web Development asp.net
Member Avatar for yookify
0
97
Member Avatar for melphic

Hi all, in my app a user places an order and should be assigned a new session id. Then they should be able to place a new order using this session id so as not to ovewrite their previous orders data. Unfortunately the only way I can get a new …

Web Development asp.net session
Member Avatar for melphic
0
104
Member Avatar for msman88

In our application, the user registeration taking 5 pages the user is moving through and filling data. Suppose when user is reached to the last page(no. 5), the user can returns back to the first no. 1 page. For that, we want to disable user coming back to that first …

Web Development asp.net
Member Avatar for kvprajapati
0
94
Member Avatar for hsthompson

[b]What works:[/b] I have an application running on a non-interactive kiosk that I need to keep updated with information that will be provided by a remote server. To do this, I've created an XMLHttpRequest/Microsoft.XMLHTTP object that checks the modified date in the header of a watched file that resides on …

Web Development javascript
Member Avatar for hsthompson
0
113
Member Avatar for Tekkno

I have a while loop and I am trying to associate a number with each line that increments by 1. I am sure this is probably something simple, I am not sure why I am struggling with it. Here is an example of that I have: [code=php] <?php $counter = …

Web Development php
Member Avatar for Tekkno
0
7K
Member Avatar for Carrots

Hi, I have in my database the location of some images I want to display, all formatted as: [quote] ../images/products/1.jpg ../images/products/1.jpg [/quote] I'm trying to diplay them in a webpage but get the following error: [QUOTE] x Warning: substr() expects parameter 1 to be string, array given in C:\xampp\htdocs\mysite\index.php x …

Web Development display image php
Member Avatar for Encrypted
0
3K
Member Avatar for Vampdee

I have a client whose hosting provider dissappeared. He has an old ASP (read: Pre-.net) site and I need to get the site online at a new provider. TO start, I am trying to run it internally to make sure I know how to make it work. I have a …

Member Avatar for WebspoonUK
0
138
Member Avatar for nevergone

Hi, I have a website called [url]www.site.com[/url] I have a product.php file and a categories.php file that generate the URL's and content dinamically. In .htaccess I have the following rule. [CODE]RewriteRule (.*)_(.*)\.html product.php?category=$1&name=$2 RewriteRule (.*)\.html categories.php?category=$1[/CODE] Everything is ok by now. When I try to change the rewritting rule to …

Web Development apache html-css php
Member Avatar for nevergone
0
123
Member Avatar for LloydFarrell

hi all, im looking to resize an image from the following code, but i keep getting errors when trying to resize the image inline. [code] <a href="read_message.php?messageid=' . $row['message_id'] . '">' . $row['img1'] . '<br>' . $row['datetime'] . '<br>' . $row['message_title'] . '</a><font face="Verdana, Arial, Helvetica, sans-serif" size="1">&nbsp;(You have mail)</font><br><br> …

Web Development php
Member Avatar for colweb
0
127
Member Avatar for cwarn23

Hi, I am glad to announce the release of the PHP robot which stores information from daniweb topics to answer questions. You may view my bot at [URL="http://chat.cwarn23.info/"]http://chat.cwarn23.info/[/URL] and it can answer all sorts of questions. In addition you can chat to other people who are online at the time. …

Web Development php
Member Avatar for diafol
0
142
Member Avatar for dalip_007

hi can anyone plese let me know how can we accept payment through credit card online? i have seen many credit card payment method on many website and want to have on my website. please help Thanks

Web Development php
Member Avatar for nelixinc
0
396
Member Avatar for gear26926

The following javascript code does not work .Not able to figure out the reason.Cud anyone help plz [code=html] <html> <head> <title>AJAX RSS Reader</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <script language="javascript" type="text/javascript"> var RSSRequestObject = false; // XMLHttpRequest Object var Backend = 'http://www.google.fr/news?hl=en&ned=en&q=ajax&ie=UTF-8&output=rss'; // Backend url window.setInterval("update_timer()", 1200000); // update …

Web Development html-css javascript
Member Avatar for Airshow
0
176
Member Avatar for vlowe

Hi all, im looking for some help with some javascript if thats ok. I am building a system for creating a booklet. I want the user to be able to select the quantity of booklets they require. (eg 50, 75, 100, 125) Then also select the number of pages each …

Web Development javascript
Member Avatar for Airshow
0
286
Member Avatar for danarashad

I am pretty sure this is easy to figure out, but I don't know javascript that good. I am trying to declare variables dynamically but what I have below does not work. What I want to accomplish is the following. var id1 = document.getElementById("sid").value; var id2 = document.getElementById("sid").value; var id3 …

Web Development javascript
Member Avatar for scrappedcola
0
103
Member Avatar for manolisvl46

hallo there everyone.. i got an array from my database [CODE]$save=split("[|;]",$listOfItems);[/CODE] and what i want i s after making some changes to the attributes on the array above to export them on an csv or excel format but directly as a message to the browser .. i dont want it …

Web Development microsoft-office php
Member Avatar for colweb
0
2K
Member Avatar for dan1992

can some wan say me , a script or a php code to make the website to have more language thx :D

Web Development php
Member Avatar for dan1992
0
87
Member Avatar for davidcrossan

hi there i am building a one page website that i need query data from an access database (visual studio 2008 c# xml). I need to do a sql query displaying customers with possible bookings if any. I have been able to display all customers details but i am finding …

Member Avatar for Mohtshm
0
156
Member Avatar for sri_sreeraj

Hi, I am a dot net beginner. I have learned programming in c# for website developing. Now I would like to learn vb.net . So I am trying to convert one of my previous work from c# to vb. But now I am facing a problem while converting to vb. …

Web Development asp.net
Member Avatar for kvprajapati
0
179
Member Avatar for Stefano Mtangoo

Hi, I need to secure my password and here are my questions. 1. What is the best method of making a salt? I have seen enough arguments for not using user info but rather random values. 2. How do I know user salt if I used random one? Should I …

Web Development php
Member Avatar for Stefano Mtangoo
0
140
Member Avatar for brenn13

hi.. i'm encountering a bug regarding sending emails.. when the smtp server do not have user autentication, the sending of email is really fine.. but when the smtp requires username and password, no email is being sent.. i believe it is related to web.config.. i have searched a lot of …

Member Avatar for kvprajapati
0
147
Member Avatar for Robert1995

Hello , I'm just amazed how strong php is , but i don't have an idea where to start , I mastered c++ at a command promp level + kinda average at visual c++ . If some1 could give me some sites or tutorials ? And is code igniter a …

Web Development php
Member Avatar for colweb
0
82
Member Avatar for TimWerk

hi all, i would like to get the selected row from the datagrid and get the row's data to transfer it to textboxes.. how can i do this?

Web Development asp.net
Member Avatar for Mohtshm
0
98
Member Avatar for jellybeannn

Hallo everyone. I want to set the day to the validDay. e.g if valid day is 25 then the day must be 25 on DateTime. [CODE]string validDay_str = reader["validation"].ToString(); int validDay = Int32.Parse(validDay_str); string start_str = reader["start"].ToString(); DateTime start = DateTime.Parse(start_str); start.Day = validDay;[/CODE] with this code I get an …

Web Development asp.net
Member Avatar for jellybeannn
0
122
Member Avatar for nonshatter

Hey guys, I have reached my wits end with this..! This code works on two of the servers that I have tested, but doesn't want to work on the third server that I need it on! It displays fine, but when the form data is posted back itself to be …

Web Development html-css php
Member Avatar for nonshatter
0
160
Member Avatar for nccsbim071

i am sending email to the users using smtp client and MailMessage class. i have been adding the addresses of multiple receivers in the to property of the object of MailMessage class. the problem is that the receiver can see the email addresses of other receipents. is there any way …

Web Development asp.net email
Member Avatar for nccsbim071
0
108
Member Avatar for SKANK!!!!!

for some reason, the exact same code without the added "$i[id]" part is working somewhere else on my site, but this is just rediculously NOT working for what i have here: [CODE]function nimg($directory='.') {return count(glob($directory."/item/".$i[id]."/*"));}; [/CODE] i tried this code when there was no item directory made yet and still …

Web Development php
Member Avatar for colweb
0
156
Member Avatar for davidm23

Hello guys, can anybody advice me how to remove or limit adding links inside posts of a wordpress blog? any php plugin available for this? I have a blog where many contributors are placing too many links with their posts. How can I solve this issue? D!

Web Development php wordpress
Member Avatar for davidm23
0
73
Member Avatar for smush

Hi everybody, I'm having trouble with my query on line 19. I'm supposed to search for a name and return the balance and credit limit. I'm not sure why I keep getting a parse error. Thanks in advance! [CODE=php] <?php $find=$_POST['find']; $name=trim($_POST['name']); if (!$name) { echo 'You have not entered …

Web Development mysql php
Member Avatar for Will Gresham
0
115
Member Avatar for hknight

Using PHP's IMAP functions, I want to move 10 messages from the folder "xyz_msg" to the folder "xyz_tmp" Below is the code I use to connect to the email server. [code] <?php $mbox = imap_open ("{imap.gmail.com:993/imap/ssl/novalidate-cert}xyz_tmp", "example@gmail.com", "password") or die("can't connect: " . imap_last_error()); $imap_obj = imap_check($mbox); echo "<pre>"; var_dump($imap_obj); …

Web Development php
Member Avatar for cwarn23
0
892
Member Avatar for rcurtisjr

I'm sure I'm missing something simple but I just can't seem to figure this one out. I have a dynamic XML file that is too big to display all the information on one web page. So I need a way to split the information across multiple pages. I have used …

Web Development display php xml
Member Avatar for rajarajan2017
0
785
Member Avatar for MDanz
Member Avatar for vitroblue

i'm driving insane right now i have a form wich has a lot of stuff in it as you fill it, javascript generates the OPTIONS[] for four SELECT objects at the end of the form. they are generated right and i have no troubles up to this point until... i …

Web Development html-css javascript
Member Avatar for Airshow
0
141
Member Avatar for alafift

I have been trying to connect a database to generate XML File through PHP code, but I still have a problem on this code. Can somebody help me correcting this code? Thanks in advance. <?php @ $db = new mysqli('localhost','622Std1', '622StdDB1', '622stddb1'); if (mysqli_connect_errno()) { echo 'Error: Could not connect …

Web Development php xml
Member Avatar for alafift
0
419
Member Avatar for Atomika3000

i've got a program that gets input from a user, and then stores it in a cookie. That bit is fine, what is a problem is that its just overwriting the data each time a new entry is made, i believed this to be something do do with it not …

Web Development html-css javascript
Member Avatar for Airshow
0
110
Member Avatar for rukshilag

i have used the below function to open a separate page for search results to open up in - althoug it seems that the css seems to get messy what must be the problem? is anyone willing to help? if so please let me know ur skype add so i …

Web Development html-css javascript
Member Avatar for Airshow
0
153
Member Avatar for samlabs821

[code=Java]public class logout extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request,response); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request,response); } public void process(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { HttpSession session = request.getSession(); session.invalidate(); response.sendRedirect("index.jsp"); } }[/code] session is …

Web Development java-jsp session
Member Avatar for lara.harsh
0
130
Member Avatar for benk1

Hi Guys, I have access to mini linux PCs that can serve up webpages using the Boa webserver. They also house an sqlite db file. What I want to do is install the bare-bones of php with only sqlite and PDO functionality, so I can write to and display data …

Web Development apache php sqlite
Member Avatar for benk1
0
273
Member Avatar for nonshatter

Hey guys, I have been moving and testing my scripts on a different web server, but I am not getting the same results on both computers. Here is the code: [CODE] <?php session_start(); //THIS FUNCTION VALIDATES INPUT function VerifyForm(&$values, &$errors) { if (strlen($values['firstname']) == 0) { $errors['firstname'] = 'Please Enter …

Web Development php web-server
Member Avatar for nonshatter
0
67

The End.