52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for theheretic1984

My code gives me an error only the first time when i press the checkbox. If i press it for the second time or just to uncheck the checkbox and it gives me the right answer. Can you please help me, i tried almost everything. I use IE7, xampp with …

Web Development javascript microsoft-access xml
Member Avatar for theheretic1984
0
302
Member Avatar for AngelicOne

I have this code [CODE] private void ResetFormValues(Control parent) { foreach (Control c in parent.Controls) { if (c.Controls.Count > 0) { ResetFormValues(c); } else { switch (c.GetType().ToString()) { case "System.Web.UI.WebControls.TextBox": ((TextBox)c).Text = ""; birthdate.Text = "mm/dd/yyyy"; break; case "System.Web.UI.WebControls.CheckBoxList": CheckBoxList check = (CheckBoxList)c; for (int i = 0; i < …

Web Development asp.net
Member Avatar for AngelicOne
0
257
Member Avatar for doctorphp

Hi All. I am having some trouble with a script which allows a user to upload a photo. When the page first loads it checks if the user has reached their maximum photo capacity. If they have then it will redirect them to another page. If they can upload more …

Web Development html-css mysql php
Member Avatar for doctorphp
0
112
Member Avatar for mybluehair

Hello. I have a php file with a form on it. the form has a few text fields and a few file fields. The problem is that for some weird reason the file upload fields screw everything up. After I press submit, it carries NO data to the fallowing page. …

Web Development file-system php
Member Avatar for syamsasi
0
267
Member Avatar for stilllearning

I am really new to this, so please excuse me if this is a dumb question. I am saving some data using ruby on rails and one of those fields is a background for the divs I am rendering back on load. I created the partial layouts successfully but I …

Web Development html-css ruby
Member Avatar for blocblue
0
115
Member Avatar for lwaterfo

Hi all, I am looking for php help. i want to create a login page for access to 1 table (data) in my database (app1) consisting of about 10 fields. I will be giving the user the password and creating a password for them, but I need them to be …

Web Development display php
Member Avatar for lwaterfo
0
124
Member Avatar for hjaffer2001

Hi all, I have a code which works fine. [code=php] <?php $db = mysql_connect("localhost","root",""); mysql_select_db("test",$db); $today = date("F j, Y, g:i a"); //echo $today;exit(); $file = "test.txt"; $fp = fopen($file, "r"); $data = fread($fp, filesize($file)); fclose($fp); $output = str_replace("\t|\t", "|", $data); $output = explode("\n", $output); foreach($output as $var) { //$categories_id …

Web Development file-system mysql php
Member Avatar for Karthik.gautham
0
140
Member Avatar for ApocDen

This is a very simple WYSIWYG Text editor that only has three options Bold, Italic, and Underline. just copy and paste on the page you want it on. it is really easy to add more features. ENJOY

Web Development javascript ui-ux
Member Avatar for Taywin
0
350
Member Avatar for rje7

|__www/ | |__application/ | |__includes.php | |__public/ |__index.php the line in the index.php says require_once ('application/includes.php'); and that includes.php file will have similar require_once which has reference to files under the subfolders of application. i'm using ubuntu lamp stack. i got this open source project which was first developed in …

Web Development open-source php ubuntu
Member Avatar for rje7
0
122
Member Avatar for nikk

Hey, all Java & JSP gurus, i'm developing a website using JSP and MS SQL. Can you please tell me the code to invalidate a session object i.e. the code for logout (to be written in JSP) Following is my code for creating session object, on login: [code=java]HttpSession ses=request.getSession(true); ses.setAttribute("Name",name);[/code] …

Web Development java-jsp session
Member Avatar for selvanandhini
0
2K
Member Avatar for theighost

Hello, I am new to Cron and want to test if it's working, I don't have a live server so I am using xamp and wamp. How can I test if my cron code is working? I don't want to use windows scheduler as I am not interested in performing …

Web Development career php
Member Avatar for ApocDen
0
240
Member Avatar for ans2007kumar

I created my custom login module for that in login page i write this code[CODE]protected void Button1_Click(object sender, EventArgs e) { string user = TextBox1.Text.Trim(), pass = TextBox2.Text.Trim(); SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\my.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); SqlCommand cmd = new SqlCommand("Select * from Login", con); con.Open(); SqlDataReader dr = …

Web Development asp.net open-source session
Member Avatar for jasikamarshel
0
110
Member Avatar for comhacker99

I know the image size for the PC in Four Wonder not upload from is drawn from four Wonder I find the sizing. Fit already been done by This อ่ะ ครับ. $ S = GetimageSize ($ pro); $ W = (int) $ s [0]; $ H = (int) $ s …

Web Development image php
Member Avatar for comhacker99
0
67
Member Avatar for HFUnited

Hey guys fairly new to PHP as is, I need to run a PHP function call through an onClick which through my research I have found that I need to use AJAX. Let me explain better what I am trying to do. I am currently using Simplepie PHP to pull …

Web Development html-css javascript php
Member Avatar for Medievo
0
477
Member Avatar for mohammed2raja

Dear friends, I am facing problem to integrate facebook in my JSP application. I found a lot of help in PHP but I need in JSP. Please help me and give me some ideas.

Web Development api java-jsp
Member Avatar for mohammed2raja
0
108
Member Avatar for narciss18hh

I have a database that gets data from a card reader, a person that wants to eat uses the card and the info about the person gets in the database, info like id, day, name... i want to create dropdown lists that will extract data from the database like this: …

Web Development php
Member Avatar for rajarajan2017
0
91
Member Avatar for hassancool

Hi there.... I was looking to add Jqzoom in a php page... there are different calls in the page and I got stucked with them..... Though I am a learner and want some one to help me with this..... My Page Shows this code [CODE]require('includes/application_top.php'); $navigation->remove_current_page(); $products_query = tep_db_query("select pd.products_name, …

Web Development php
Member Avatar for metalix
0
225
Member Avatar for vau3677

Hi Guys, I'm trying to make an option on my site where visitor could select certain image(s) to print. Here is the closest code, I've found. [url]http://javascript.internet.com/misce...elds-only.html[/url] I'm not good in Javascript to write the code. I would appreciate any help. Here is my approximate code. <a href="#">Print selection</a> <br> …

Web Development image javascript
Member Avatar for vau3677
0
109
Member Avatar for umandajayo

hello friends, I am try to get database values from while loop. but It gives me [B][COLOR="Red"]Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/COLOR] in /home/empower.md/www/index_ujbee_file_uploard.php on line 32[/B] here this is my code... [CODE] require "connect_ujbee_file_uploard.php"; require "todo.class_ujbee_file_uploard.php"; // Select all the todos, ordered by position: …

Web Development mysql php
Member Avatar for rajarajan2017
0
82
Member Avatar for ayeshakhan

encountering this error while calling the insert stored procedure from plsql. STORED PROCEDURE: create or replace procedure WLLINSERT (p_WLLPACKAGEID NUMBER, p_WLLPACKAGECODE varchar2, p_WLLPACKAGENAME varchar2, p_WLLPACKAGEDESC varchar2, p_SDATE DATE default null, p_EDATE DATE default null, p_STATUS varchar2, p_BRANDID Number ) is begin insert into WLLPACKAGE (WLLPACKAGEID, WLLPACKAGECODE, WLLPACKAGENAME, WLLPACKAGEDESC, SDATE, EDATE, …

Web Development asp.net
Member Avatar for dnanetwork
0
256
Member Avatar for chitian5057

Hi All, Is there a way to create a HTML file generated in browser in a JSP file? This same JSP file parsed by server and show up in a browser in HTML form and also save this HTML form to a HTML file on the server. The only way …

Web Development file-system html-css java-jsp
Member Avatar for javaAddict
0
160
Member Avatar for sujimon

Hi, I am using Forms Authentication in my VS-2005 website. In case of wrong credentials or while explicitly requesting protected pages the website is able to redirect user to login page. However, when correct login credentials are provided the application is not able to redirect the user to the desired …

Web Development asp.net
Member Avatar for dnanetwork
0
155
Member Avatar for fasharlht

this is my code.i m trying send mail with attachment(word,excel,pdf,etc....any attachment)plz help me how to attach file...mailing list from database(mysql)...thanks in advance <!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Send e-mails</title> <?php $from = "mail@mail.com"; $mesa = $_POST['mess']; $subje = $_POST['subj']; …

Web Development html-css pdf php
Member Avatar for rajarajan2017
0
141
Member Avatar for nelly_1005

hi guys hope you can help well im tryin to connect my jsp to my database, im uisng tomcat 5 and have stored the MS access database in my ROOT folder. i have created a User DNS, and have sdk 1.4.2_08 installed Problem is im not sure what to do …

Web Development dns java-jsp
Member Avatar for ernikhil
0
473
Member Avatar for canterorist

hi! i'm trying to upload an image in my site. But the error occur. [B]Warning: chmod(): Operation not permitted in /www/clanteam.com/i/s/e/isellitem/htdocs/test3.php on line 9 [/B] [B]Warning: move_uploaded_file(): Unable to access try/2010 BMW M3 Sedan Front View.jpg in /www/clanteam.com/i/s/e/isellitem/htdocs/test3.php on line 10[/B] php code: [CODE] if(isset($_POST['btnsub'])) { $name=$_FILES['file']['name']; $dir='try/'.$name; chmod('try/',0777); move_uploaded_file($_FILES['file']['tmp_name'],$dir); …

Web Development php
Member Avatar for canterorist
0
157
Member Avatar for androidz

hi i downloaded the wp_page_numbers plug-in and install it in wordpress after that i have installed it i set the option in the admin..and at the lower there is a code that says you need to add to your theme.. Add the code where you find previous_post() and next_post() functions. …

Web Development php ui-ux wordpress
Member Avatar for androidz
0
250
Member Avatar for mybluehair

So you would think that I could search up on Google and learn all about URL encoding from all the tutorials, but I have been left seriously confused, and extremely frustrated. Here is what I need to do: I need to make a html link that links to a php …

Web Development php
Member Avatar for mschroeder
0
183
Member Avatar for mpc123

I have results of people that i need to compare and echo out. Eg 2x dropdown menus with all the peoples names in and each field then echoed in a table once the 2x dropdowns have been selected. the 2x dropdowns will be the same and have the same names …

Web Development html-css php
Member Avatar for metalix
0
114
Member Avatar for $urya

Hi, I have searched all over google to find a best book for PHP, and feel lost cause a lot of reference, and I can't even try different books at a time. I want to purchase a book on PHP which covers database, it should have a good availability in …

Web Development php
Member Avatar for metalix
0
162
Member Avatar for bryanfl100

How do I insert this: <script language="JavaScript" type="text/javascript" src="http://www.ABC.com/members/display.php?token=email"></script> Into the values of this: <input id="Email" name="Email" type="text" size="30" /><input name="emailagent" type="HIDDEN" class="textfield" id="emailagent" value='' />

Web Development javascript
Member Avatar for Taywin
0
132
Member Avatar for mpc123

Sorry very very new to php , at the end of my table is the following [code=php]echo $row['ProductUrl']; echo "</td></tr>"; } [/code] i want to have an image show on the page and on click of that image it then go to the product url. The [ProductUrl] from data base …

Web Development image php
Member Avatar for metalix
0
103
Member Avatar for ApocDen

1. Imports System.IO 2. Create class "CreateThumbnails" or any class and place following function inside that class You need one function to response call back to main function Function ImageAbortDummyCallback() As Boolean Return False End Function

Web Development asp.net
0
567
Member Avatar for Dark_Omen

Hello, how do you add a custom button to a webpage and link it to another page? ANother question is how can you make the button rollover when someone's mouse is over the button and when they click the button? Would I need javascript? Thanks

Web Development html-css javascript
Member Avatar for mariko
0
111
Member Avatar for fudgy

I have 10 navigation tabs in my website. Iam working on retaining the selected value from the drop down and should change the corresponding divs throughout the website....meaning based on selected value the content on all the pages should change...which should not let the user to select everytime ... I …

Web Development html-css javascript web-browser
Member Avatar for fudgy
0
193
Member Avatar for phoenix_sdl

I making a form, nothing special, just for myself... so when user loads my form it askes him for his name ( with prompt 'var name=prompt("Your name please",""); ) then says Welcome 'name' (with alert box). THEN he can start filling in the form. What I want is for a …

Web Development javascript
Member Avatar for phoenix_sdl
0
2K
Member Avatar for SKANK!!!!!

can someone please fix whats wrong with the new problem. i really have no idea how to change it. 2 pages. the problem is when i have the ajax pages and i go to the next page, it doesnt highlight the number im on anymore. and then there was this …

Web Development javascript
Member Avatar for SKANK!!!!!
0
141
Member Avatar for QWaz

Hi, I am pretty new to php and am not sure if what I am attempting to do for a client is possible. Hoping to know if anyone knows if it is and a solution? I want to: - upon registering a new user create a new folder using their …

Web Development php
Member Avatar for sourcebits
0
133
Member Avatar for dahmhie

I just discovered SMTP server doesn't run on window7, and i really need to be able to send mails from my code, pls is there any alternative to use on window7 instead of SMTP server?

Web Development asp asp.net email
Member Avatar for dahmhie
0
110
Member Avatar for tieren

Dear Gurus, I am trying to insert information into three tables then send an email. The purpose of the code is to place uniform orders within a company with multiple stores. Each store must be able to place orders according to job function as well as order accessories available for …

Web Development career mysql php promotion
Member Avatar for tieren
0
140
Member Avatar for dougancil

I need to have some data removed from some of my posts. Can that be done? Thank you Doug

Web Development asp.net
Member Avatar for Ezzaral
0
75
Member Avatar for mpc123

Please help with this if you can My example code below is part of a table that echos several fields, for this field I need to echo the text of the field which the below example code now does, but i need to make it state N/A if the field …

Web Development php
Member Avatar for Usernamex235
0
1K
Member Avatar for teedoff

I have a framed page with 2 frames...left and right. The left frame displays a dynamic list and of course when you click on one item in the list, the right frame displays the details of that item. I wanted to be able to use the right frame as an …

Web Development coldfusion
0
113
Member Avatar for mpc123

Please can somebody help with this. I want a Buy Now image to go to the producturl in the database, at the moment I am just echoing , so it only shows the text of the url in the cell. my code currently is [code=php]echo $row['ProductUrl']; echo "</td></tr>"; [/code] Hope …

Web Development image php
Member Avatar for hielo
0
135
Member Avatar for D4n1sD

I get an error that eregi() function is deprecated and when I searched for solution which worked for the most to replace eregi() with preg_matc() I get this error Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in C:\wamp\www\New folder\modules\mod_rokajaxsearch\helper.php on line 112 help me what to do?

Web Development php
Member Avatar for bailaba
0
230
Member Avatar for Frankey

Hi there, I have a piece of code that should give my category list a nice accordeon effect to show the sub categories. [CODE] <ul class="categorymenu"> <li class="cat-item cat-item-10"><a href="...">cat1</a> <ul class='children'> <li class="cat-item cat-item-11"><a href="...">cat1sub1</a> <li class="cat-item cat-item-12"><a href="...">cat1sub2</a> <li class="cat-item cat-item-13"><a href="...">cat1sub3</a> </ul> </li> <li class="cat-item cat-item-10"><a href="...">cat2</a> …

Web Development javascript javascript-jquery
Member Avatar for Taywin
0
121
Member Avatar for reibi

Hello all, well sometimes user insert information like "name" in the database because of which it causes problem in the site. So anyone tell me how to resolve this problem. I have already used addslashes.

Web Development php
Member Avatar for metalix
0
210
Member Avatar for Awah Mohamed

hi , my server usually tells me that there is a syntax error so what is it? the error is in line 12 but i dont know what is it here is the code : [CODE] <? $mysql_host = "mysql9.000webhost.com"; $mysql_database = "a2354076_post"; $mysql_user = "username"; $mysql_password = "password"; $tbl_name …

Web Development php
Member Avatar for metalix
0
91
Member Avatar for izzatikhalid

hye, i need help about asp.net..i new in this language. so i don't know how to connect database from ms access to asp.net and submit button. the situation : when the user click on submit button, the data that they fill in will insert in database.

Web Development asp asp.net microsoft-access
Member Avatar for dbeura
0
297
Member Avatar for comhacker99
Member Avatar for metalix
0
67
Member Avatar for subhankar02dey

I need to disable and enable some drop down list data according to conditions I have two drop down lists. Say, First ddlist has A,B,C,D,E,F and second ddlist has 1,2,3,4,5. When I select C from the first ddlist, then 1,3,5 should be disabled in second ddlist. And again if I …

Web Development javascript
Member Avatar for naveenl
0
222

The End.