52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rajarajan2017

Hi Everybody, I am a flash developer and utilizing php sometimes for flash works. I am going to start my learning curve in php. so please suggest and must give a tutorial or pdf links to start with php and sql. Thanks in advance. Hope all will provide more pdfs …

Web Development flash pdf php
Member Avatar for rajarajan2017
0
144
Member Avatar for celinehgl

Hi guys, The codes below is running perfectly fine. But I have a problem - if there are no records found in the database, my dropdownlist will not display nothing. However, I want it to display something like "no records found" instead of havng it blank Can someone tell me …

Web Development asp.net html-css vb.net
Member Avatar for kvprajapati
0
173
Member Avatar for AdRock

I'm trying to help someone out with some javascript that works in IE but not in firefox. It's basically a filter so you select some options from select boxes and the javascript hides or shows any table cell that is not needed. The html is shocking and the javascript doesn't …

Web Development javascript
Member Avatar for theighost
0
213
Member Avatar for MaristBrandi

Hi all! I am trying to get a JavaScript date selector to work for a front end I'm writing. I've seen a lot of problems related to JavaScript and IE vs. Firefox but I've yet to find a solution to my issue. I have a simple form - when you …

Web Development javascript
Member Avatar for theighost
0
370
Member Avatar for baseballfury

Hello, I am currently working on a function that will allow the user to search for an event by date and category. I've been using the w3schools exercise as an example but i wish to pass 2 pieces of data instead of one and am not sure how to do …

Web Development javascript xml
Member Avatar for thonz
0
2K
Member Avatar for zerioni

Ok, so i am quite new to JSP. Working on a big database project, and I'm left scratching my head here. The ugly code below calls the chemical name and chemical id properly, and links the chemical name to a page where the chemical with that id will be viewed, …

Web Development java-jsp
Member Avatar for peter_budo
0
84
Member Avatar for Neo1969

Hi all, I'm new to PHP and am doing a project with a php generator called PHPRunner and I have a design of the database in which the first table is the master of the second, the second of the third and the third of the quarter as follows: Categories …

Web Development database-design php
Member Avatar for Neo1969
0
1K
Member Avatar for sanbal

Even I installed asp_regiis . I am using Visual Studio 2008 v3.5 I am facing an issue while building a web project. I have added the controls in the design window as [code]<td align="left" valign="top"> <asp:DropDownList ID="ddlCategory12" runat="server" CssClass="dropDownList" AutoPostBack="true" OnSelectedIndexChanged="ddlCategory12_SelectedIndexChanged"> </asp:DropDownList> <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" InitialValue="----Select----" CssClass="validator" ErrorMessage="Please Select Category" …

Member Avatar for sanbal
0
101
Member Avatar for kiranbvsn

I am having two dropdownlists that are interrelated, in which one is vertical ddl and the other department ddl in a grid view if we select the vertical ddl then corresponding departments have to appear in department ddl. I've written the code like this In footer of gridview i successful …

Web Development asp.net dataset
Member Avatar for Sals
0
103
Member Avatar for fumnimda

hi there i am trying to use php-openid-2.1.3 . it seems just works with yahoo but gmail and facebook is needed too. would some body help me in this issue?

Web Development php
Member Avatar for fumnimda
0
102
Member Avatar for adobe71

I want to generate non-repeated random number. I tried the following code but it generates repeated random number. [code] protected void Button1_Click(object sender, EventArgs e) { Random rnd = new Random(); int n = rnd.Next(1, 100); Label1.Text = n.ToString (); } [/code]

Web Development asp.net
Member Avatar for Freon22
0
194
Member Avatar for dragos13

[CODE]<?php $link=mysql_connect("localhost", "root","parola") or die("Could not connect: " . mysql_error()); print ("Connected successfully");print "</br>"; mysql_select_db('energiesolara',$link) or die ('Can't use energiesolaradb: ' . mysql_error()); $x=mysql_query("SELECT umiditate FROM parametrii"); $y=mysql_query("SELECT temperatura FROM parametrii"); $info1 = mysql_fetch_array($x); $info2 = mysql_fetch_array($y); $xi=array($info1['umiditate']); $yi=array($info2['temperatura']); include('phpgraphlib.php'); $graph=new PHPGraphLib(500,280); $graph->addData($xi,$yi); $graph->setTitle('Grafic'); $graph->setTitleLocation('left'); $graph->setLegend(true); $graph->setLegendTitle('Module-1', 'Module-2'); $graph->setGradient('green', 'olive'); …

Web Development php
Member Avatar for metalix
0
145
Member Avatar for Conielo

Hi, I can't solve this problem: I have a query which fetches the contents of the page meta tags from a database. It works fine when I have the query on page but when I turn it into a function (which is placed in my functions file) and call it …

Web Development mysql php
Member Avatar for johny_d
0
178
Member Avatar for Leon1958

Hi guys, I need to change my static HTML page (i.e. [url]http://www.mypage.com[/url]) with a link (<a href="http://www.mypage.com/form.php"> to a page with dynamic link - if user's URL for my page is [url]http://www.mypage.com/?123456789[/url] this 9-digit number from URL should appear in the link to the form - [url]http://www.mypage.com/form.php?123456789[/url] Thanks in advance.

Web Development php
Member Avatar for metalix
0
142
Member Avatar for niths

hi, i am new to php. i had a query about how to get the file name and file size of the uploaded file. so that i can display it in a table. thank u.

Web Development php
Member Avatar for metalix
0
87
Member Avatar for phpDave

HI, I am trying to insert the current date into mysql when a user submits their info. I cant use timestamp for this one. I am using datetime. It works when a user updates but not for creating. I get all 0's in the date column. Here is the code …

Web Development php
Member Avatar for phpDave
0
91
Member Avatar for baseballfury

Hi there, I'm trying to compare 2 arrays at the moment. There are 2 tables, the first (Category) holds a list of categories, e.g. Electricians, Plumbers, Builders and each has an ID number. The second table (Company) is a list of companies e.g. JonTheElectrician, GaryThePlumber and of course BobTheBuilder. Each …

Web Development php
Member Avatar for baseballfury
0
173
Member Avatar for jrw89

In order to make sure my site works for a user I need to check that both JSON and XMLHttpRequest() are defined as objects by their browser. Rather than if/else I thought I'd use the ternary operator:[CODE=javascript]condition ? true : false.[/CODE] I tried the following and it doesn't work correctly. …

Web Development javascript json
Member Avatar for jrw89
0
139
Member Avatar for ravin26

hi, I want to know how can i allow user to download an mp3 file on his click in asp.net vb.

Web Development asp.net
Member Avatar for adobe71
0
101
Member Avatar for kaivalPrajapati

How to use for Adrottetor in my web site? pl z... all about discus and give any Essy example.

Web Development asp.net
Member Avatar for adobe71
0
77
Member Avatar for ItecKid

Hello, I have written a 'predictive text' widget using JavaScript/AJAX. When user enters a string of letters into form, the list of possible matches is displayed under the form. This works well and good, now I am trying to make it so that when the user clicks on a certain …

Web Development javascript
Member Avatar for Taywin
0
756
Member Avatar for g0pal

i want to create a feedback form for my website [url snipped]. as i m using free host it doesnt allow PHP so i want to create it using JAVA. please help me create a feedback form which when submitted automatically send an email to my ID. if it is …

Web Development daniweb-feedback javascript
Member Avatar for Taywin
0
292
Member Avatar for jobojo

Good evening everyone and hope you all had a good weekend. I am working on a site which allows the user to search database records based on entering either a reference number of a person' last name and then clicking the submit button. This brings the user to a results …

Web Development asp asp.net
Member Avatar for kvprajapati
0
238
Member Avatar for phpDave

Hi everyone, I am trying to validate a user registration form. User must enter letters and/or letters only. [CODE]//check username $_POST['user_name'] = trim($_POST['user_name']); $checkChar ='/^[a-zA-Z0-9]+$/'; if (!preg_match($checkChar, ($_POST['user_name']))); { $error['char'] = 'Username must contain letters or numbers only'; }[/CODE] When I submit the error message keeps coming up when it …

Web Development php
Member Avatar for vitana
0
206
Member Avatar for mk1200

Hey guys, I'm sure this has been done before, but I haven't found the snippet yet. I think I have to use preg_match_all. Here's my very simple stopping point: [CODE]$content = $obj->introtext; $xml .= "<ImageUrl><![CDATA[$content]]></ImageUrl>";[/CODE] Here are two examples of the introtext table data: [QUOTE]<p><span style="font-size: 10pt;"><img src="images/stories/D-West.jpg" alt="D-West" style="margin: …

Web Development image php xml
Member Avatar for mk1200
0
1K
Member Avatar for niths

hi, i am new to php. i had a problem with insertion. when i upload a file i should get the filename,uploadedby,uploadeddate,and size of the file in a table. first of all i am not getting inserted in the database itself. so can any one help me ..... --------upload.php-------- [CODE]<html> …

Web Development php
Member Avatar for JRM
0
110
Member Avatar for rumpleteaser33

Hi, I'm trying my first program using servlets and JSP and would appreciate any help or advice about a problem I'm having. In my servlet I'm connecting to the database and displaying all the records in there. I'm then trying to add data to a JavaBean so that I can …

Web Development java java-jsp
Member Avatar for peter_budo
0
169
Member Avatar for Pankaj18

Hi, I am using following code to Highlighting keywords in a text or resume. My code: // al is an Arraylist which have keywrods as .net, java, xml... [code] al = (ArrayList)Session["keyWords"]; for (int i = 0; i < al.Count; i++) { if (s.Contains(al[i].ToString().ToLower()) || s.Contains(al[i].ToString().ToUpper()) || s.Contains(al[i].ToString())) { //s …

Web Development asp.net regex session xml
Member Avatar for Pankaj18
0
111
Member Avatar for sallycheng

It cannot display the value of the checkbox,please tell me what wrong of it! Thak you [ICODE] <!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" c /> <title>Untitled Document</title> </head> <body> <?php if(isset($_POST["Sumbit"])) { $fruit=isset($_POST["apple"]) ? $_POST["apple"]:""; if(isset($_POST["bananan"])) { if(!empty($fruit)) $fruit.=", "; $fruit.=$_POST["bananan"]; } if(isset($_POST["orange"])) …

Web Development apple php
Member Avatar for sourcebits
0
291
Member Avatar for niths

[QUOTE]hi, i am new to php. i want to get the uploaded filename,uploadedby,date, and size of the file. dont know how to get the name of the file and size. so please any one.... [/QUOTE] [CODE]<html> <body> <form enctype="multipart/form-data" action="upload2.php" method="POST"> <table> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> </table> <table> <br><br> <tr> …

Web Development php
Member Avatar for prem2
0
293
Member Avatar for anuradhu

could someone please let me know the encryption level of the encrypt function of coldfusion.... as far as i know it supports onjly 32 bit encryption...are there any chances of it supporting any other encryption levels.... has anything happenend in coldfusion7?

Web Development coldfusion encryption
Member Avatar for arrgh
0
160
Member Avatar for kunyomi

Hi all, I have a database with contact info, and I need to display the info in groups. Currently in my database table called contacts I have a field called 'groups'. The values are 'favorites', 'home', 'work', and 'friends'. I tried creating a page called group.php and used a dropdown …

Web Development display mysql php
Member Avatar for kunyomi
0
377
Member Avatar for ramsham

Hi I am using C#.net to develop one web site . I want to search facility means if i enter word for search then it must get highlighted on page /text box then if i click(OR move mouse there) on that highlighted word then it shows detail information. Just like …

Web Development asp.net
Member Avatar for ramsham
0
158
Member Avatar for newtechie

I am getting the following error when trying to run a index.cfm file. [CODE] Could not find the included template /config/_errorMap.cfm. Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you …

Web Development coldfusion
Member Avatar for arrgh
0
129
Member Avatar for mintballmaniac

Hello all. First post from a PHP newbie. I'm trying to teach myself how to retrieve data from my MySQL databse and have so far managed to get the text retrieval to work. What I'd now like to do, is to get my PHP page to retrieve an image, specifically …

Web Development php
Member Avatar for mintballmaniac
0
87
Member Avatar for botaxsmaniz

I need help.... i have using gridview in asp.net, but this gridview is too wide and destroy my pages. can u give me solution?

Web Development asp.net
Member Avatar for Sals
0
76
Member Avatar for bhavu4u

Hey!!! Anyone have any idea that can we fire button click event if the button is added in[B] tabpane[/B]l not in panel if have any example or any help would appriciated pls give as soon as possible.

Web Development asp.net
Member Avatar for bhavu4u
0
698
Member Avatar for bhavu4u

hi!!!! i have problem with my dynamic control in tab panel below is my code [CODE]protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { tabcontainer1_ActiveTabChanged(tabcontainer1, null); getcontrol(); } } protected override void LoadViewState(object savedState) { base.LoadViewState(savedState); if (ViewState["controsladded"] == null) getcontrol(); } protected void tabcontainer1_ActiveTabChanged(object sender, EventArgs e) { …

Web Development asp.net
Member Avatar for bhavu4u
0
125
Member Avatar for sallycheng

It cannot display correct id no of student. Would you mind tell me what wrog of it. Thank you very much! [ICODE] <?php require_once('Connections/connection.php'); ?> <?php $colname_Recordset1 = "-1"; if (isset($_GET['eca_id'])) { $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['eca_id'] : addslashes($_GET['eca_id']); } mysql_select_db($database_connection, $connection); $query_Recordset1 = sprintf("SELECT * FROM eca,student_info WHERE eca_id …

Web Development php
Member Avatar for cwarn23
0
114
Member Avatar for Izzy123

im new to javascript and im currently designing a survey and i have to modify the survey using javascript, it has to do: the user should not be allowed to select any options from question 2 if they chose the last radio button of question 1. and i don't know …

Web Development javascript
Member Avatar for Izzy123
0
91
Member Avatar for pjrey

site with issue: [url]http://pjrey.com/guestbook[/url] ok, ive tried and tried, no luck. what i am trying to do is: 1) the modal dhtml sign/window auto load (but only one time per user) 2) on completing the form, and hitting submit, i want the parent window refreshed (to show new content that …

Web Development html-css javascript
Member Avatar for pjrey
0
129
Member Avatar for itisnot_me

ok so i was trying to look into making a loading spinner be put up when i am using a get or post method but it started to get a little overwhelming with what some people did. if you could help i would like to know how to make it …

Web Development javascript
Member Avatar for itisnot_me
0
65
Member Avatar for hisabness

I am using PHP to create and index of the files contained in a directory. I then echo the files by including the index function in another php script. How can I change where the PHP shows up? It currently shows up at the top of the page but I …

Web Development php
Member Avatar for hisabness
0
1K
Member Avatar for sandip vav

do you have code for custom paging with user control in asp.net?

Web Development asp.net
Member Avatar for Ramesh S
0
73
Member Avatar for oggiemc

Hi Everybody, Im having a bit of a problem with an assignment..Im trying to write a JDBC servlet which checks the value of a name in the database against the value inputed in a form..USER and PASS are the values inputted to the by user into the form.. The code …

Web Development java-jsp sql
Member Avatar for oggiemc
0
83
Member Avatar for kunyomi

Hi guys, I'm trying to UPDATE the image that has been already in the database with another image using a form in PHP. I got the uploading working all fine already. Just the edit part. With this code, I get no error, but the MySQL table is not written with …

Web Development image mysql php
0
416
Member Avatar for lll_ari_lll

Hi, i am facing problem in log out section, which redirects to the file logout.php. where after unset-ing and destroying the session, it redirects to index page again, but when i type the following page address which should be seen only when an user is logged in, shows.. can anybody …

Web Development php session
Member Avatar for lll_ari_lll
0
127
Member Avatar for Encrypted

I've been scratching my head for a bit now and I can't think of a way to make a mysql_query pull a set of data that matches a number in an array. It's easier to explain what I want to do with code.. so here goes.. Then I need my …

Web Development mysql php
Member Avatar for Encrypted
0
129
Member Avatar for Phil++

Hey, I'm trying to implement an email system.. I'm just wondering whether it's possible that when the user registers it creates an email address like: username @ mydomain.com If you understand? Thanks for any help :)

Web Development email php
Member Avatar for cwarn23
0
97
Member Avatar for z_jun

Hi, I am having problems with the passing of a variable to the next page. I want to pass the $title so that I can use it in the changejob.php page. The following is my code:- [CODE]<td> <a href="changejob.php?id = "<?php $title; ?>""><?php echo $title; ?></td>[/CODE] Please help me. Thanks.

Web Development html-css php
Member Avatar for z_jun
0
210

The End.