17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for veledrom

Hi, I just want to find out which is better? Thanks [code] ...... echo "Database connection error"; exit; [/code] OR [code] ...... die ("Database connection error"); [/code]

Web Development php
Member Avatar for phpbeginners
0
164
Member Avatar for CFROG

I have looked around and not been able to find a definitive answer to this. Prototype does not work in IE 7 or lower. All other browsers work just fine. Even something as simple as [icode]toggle();[/icode] will not work in older versions of IE. I don't get any errors or …

Web Development javascript
Member Avatar for CFROG
0
128
Member Avatar for vikasj

Hi, I want to display data which i have entered through form(html or jsp) into database. I have a servlet and a bean with a function of database retreival. I have got one attribute value in servlet through session transfer into bean's method to retrive data with respect to that …

Web Development java-jsp session
Member Avatar for peter_budo
0
67
Member Avatar for niro_fernando

i m new to php , i want to know how get data from multiple textboxes ,can i name text boxes as like a array, is it correct ,and how to display them i return them like this echo $_POST[txtName[0]] but it is not working , plz help me this …

Web Development data-science php
Member Avatar for niro_fernando
1
1K
Member Avatar for styles_p

Hello I'm a newbie of nhibernate And i would like to use the NHibernate Mapping here is my mapping file <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="HibernateCollaborator.Core" namespace="HibernateCollaborator.Core" default-access="property" default-cascade="none" default-lazy="false" auto-import="true" > <class name="User" table="Users" lazy="false"> <id name="ID" column="ID" type="Int32" unsaved-value="0"> <generator class="native" /> </id> <property name="ForeName" type="string" length="30" not-null="true"> …

Web Development asp assembly session xml
0
78
Member Avatar for CFROG

Can anyone tell me how this works? I deleted this file (sidebar.php) from the server and it still gives this error: [code]Parse error: syntax error, unexpected T_LNUMBER in /.../.../.../.../sidebar.php on line 5[/code]

Web Development php
Member Avatar for CFROG
0
97
Member Avatar for Facte

Hi there guys, I am trying to create an RSS feed and for the life of me I can't get it to create working hyperlinks. Any help would be so massively appreciated. [CODE]<?php session_start(); $connection = mysql_connect("******", "******", "*****") or die (mysql_error()); $db = mysql_select_db("****", $connection) or die (mysql_error()); $q18 …

Web Development php xml
Member Avatar for jcanaway
0
178
Member Avatar for sarithak

hi i need to create .xml file by using php dynamically... i want the below formate...here [B].mp3[/B] files from url(get parameter)..... [CODE]<?xml version="1.0" encoding="UTF-8"?> <playlist version="1" xmlns = "http://xspf.org/ns/0/"> <trackList> <track> <location>mp3/07 - Evvariki.mp3</location> <title>MP3 Player!</title> </track> </trackList> </playlist>[/CODE] anybody help plz..

Web Development php xml
Member Avatar for rajabhaskar525
0
944
Member Avatar for sam023

this is my code [code=php] $query="call call_history('','$real_sdate','$real_edate','$level','$userid',@_count,'0','10')"; //Listing the result $rs = mysqli_query($mysqli,$query); $rs = mysqli_query($mysqli,"SELECT @_count"); while($row = mysqli_fetch_assoc($rs)) { print_r $row; }[/code] always i get blank result or error mysqli_fetch_assoc() expects parameter 1 to be mysqli_result i want to do it with procedural mysqli.. not with oop mysqli..!! …

Web Development mysql oop php
Member Avatar for nileshgr
0
252
Member Avatar for sathya8819

hi, i would like to do a project where I have to detect the characters of a captcha image.. any ideas

Web Development asp.net image
Member Avatar for kvprajapati
0
82
Member Avatar for djMot

Hi, I'm probably just blind or something, but IE7 just stopped letting a popup I've written in javascript from opening in a (duh!) popup window. Instead, it's loading in the same tab as the link was called from. That violates the tab settings I have established to pretty much open …

Web Development javascript
Member Avatar for hapakity
0
97
Member Avatar for 6pandn21

Hello Guys! I get this error when I try to run one of my php page but I do not get this error in other page which are basically same. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\go\birthday.php:1) in C:\xampp\htdocs\go\auth.php on line …

Web Development php session
Member Avatar for llsatellite
0
189
Member Avatar for 68thorby68

So near and yet so far. I introduced myself to session control and made a decision to only use session files (not cookies) I am submitting: session_start( ); $_SESSION['uid'] = $iduse; The session file is created and correctly reads the following where the value of $iduse is 1H: barney|s:2:"1H"; In …

Web Development php session sql
Member Avatar for 68thorby68
0
137
Member Avatar for mrjoli021

How would i write a function to accept X number of parameters for ex if i want to write a function to insert into a db. i dont know how many fields i will be inserting into the table?

Web Development php
Member Avatar for kireol
0
108
Member Avatar for shine_jose

Hi, I wish to save a text file to the client system.i had try ed in my desktop its working fine when i run from server its showing error this code i had given and each client system there is a folder name FCR. fs = new FileStream("d:/FCR/FCR" + strdt …

Web Development asp asp.net c# client-server
Member Avatar for Geekitygeek
-1
143
Member Avatar for JohnBlanco

Hi, I have a register page where there is a field for confirming the password. I have a function that evaluates if the two boxes have the same text and I call this function in the form tag, but it doesn´t work. Can someone help? Thanks in advance. Function: function …

Web Development javascript
Member Avatar for JohnBlanco
0
178
Member Avatar for bharanidharanit

Hello sir, In a label i am having data like this 12/9/2009. With split function i splitted numbers as 12, 9 , 2009. I want this numbers to be stored in LabelArray as Integers Label1 = 12 Label2 = 9 Label3 = 2009 So i used this coding, but with …

Web Development asp.net
Member Avatar for bharanidharanit
0
102
Member Avatar for xuexue

hi, i want to have a button wherein it will create dynamic text boxes depending on the times i click the button. i've seen several codes thru javascript, however, i cannot get the value of the said textbox, could you please help me with this?? tnx..^^

Web Development php
Member Avatar for network18
0
2K
Member Avatar for xarz

I don't know how to explain this correctly but just some sample for you guys so that you can really get what Im trying to say. Today is November 28, 2008 3 days from now is December 1,2008 Im looking for a php code, which can give me the exact …

Web Development php
Member Avatar for chetan.akarte
0
157
Member Avatar for Carrots

Hi, I'm making a simple forum. When a user register's, I trying to create their join date. [code] CREATE TABLE Users ( userName varchar(15) NOT NULL, registrationDate datetime default NULL ) [/code] and then have MySQL automatically set that value: [code] $sql = "INSERT INTO Users (userName, registrationDate) VALUES ('".$username."' …

Web Development php
Member Avatar for Carrots
0
121
Member Avatar for benk1

Hi, I'm creating a simple form where you select a company name from a dropdown list, and you can then update the values associated with this using textboxes and a submit button. The dropdown works fine (it shows all the companies in the database) and the submit button submits data …

Web Development asp asp.net open-source web-server
Member Avatar for benk1
0
119
Member Avatar for weasel7711

This is my first time really using HTML, Javascript and PHP. This is part of a prototype for a project for my SW Eng. course. The problem I am having is that the form is not going through the validation. The user is supposed to be able to search by …

Web Development html-css javascript php
Member Avatar for Airshow
0
172
Member Avatar for therio7

Hi everyone, I hope someone can help me, here's my problem: I have a php script that retreive photos from a mysql db (and place it on my page into a loop in the right album section), I dont know if you understand what I mean but if you have …

Web Development mysql php
Member Avatar for therio7
0
216
Member Avatar for Ana D.

Hi, In my page I have a checkBoxList and I need to select all items that has an specific word. Let's suppose my CBL is: VB.NET C#.NET Java2SE Java2EE And suppose that I need to select only the items about .NET (the items that cointain the string ".NET"). How can …

Web Development asp.net javascript vb.net
Member Avatar for brigzy
0
1K
Member Avatar for shine_jose

I wish to test run my newly designed web site from server now its in desktop system please help me.

Web Development asp.net web-server
Member Avatar for djzia
0
97
Member Avatar for bharanidharanit

Hello, I am using Visual web developer 2008. I am using AccessDataSource and i connected access database with that. Now on my login page, i am having 2 text boxes (UserName and Password) and a login button. So when i click login button, those 2 fields must be checked with …

Web Development asp.net
Member Avatar for bharanidharanit
0
75
Member Avatar for 68thorby68

I am posting very simple PHP/mysql as below, to get the hang of creating a DB query, and checking if my syntax, and contruction logic is correct, However when I post the code below: [code] $dbhost = 'localhost'; $dbuser = 'myuser'; $dbpss = 'myassword'; //connect to database// $conn = mysql_connect($dbhost, …

Web Development php
Member Avatar for 68thorby68
0
99
Member Avatar for ayesha789

Hi this is my table structure. I need one result from this. There is a field named LAPeriodStart in this table. If LAPeriodStart date is 2009-01-05 Site Id is 4067 Today Date is 2009-12-07 1. Now I need to calculate LAPeriodStart Month from the date(2009-01-05) How its Possiblle? 2. If …

Web Development mysql php
Member Avatar for ayesha789
0
280
Member Avatar for magicalmakx

Problem with storing values in Array from php to AJAX index.php [CODE] <html> <head> <title>Main Page</title> <script language="javascript" type="text/javascript"> function ajaxFunction() { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState==4) { var arr = new Array(xmlhttp.responseText); alert(arr[0]); } } xmlhttp.open("GET","main.php?q="+document.frm.Act.options[document.frm.Act.selectedIndex].value,true); xmlhttp.send(null); } </script> </head> <body> <form name="frm" id="frm" …

Web Development javascript php
Member Avatar for magicalmakx
0
1K
Member Avatar for mIssy_ricco

I found a few where they past the item instead of the value. i want the value to be passed. for e.g [CODE]<asp:CheckBoxList ID="cblPlanets" runat="server" Width="109px"> <asp:ListItem Value="1">Mercury</asp:ListItem> <asp:ListItem Value="2">Venus</asp:ListItem> <asp:ListItem Value="3">Earth</asp:ListItem> <asp:ListItem Value="4">Mars</asp:ListItem> <asp:ListItem Value="5">Jupiter</asp:ListItem> <asp:ListItem Value="6">Saturn</asp:ListItem> </asp:CheckBoxList>[/CODE] and i want it to display You selected: 1 2 3 …

Web Development asp.net
Member Avatar for mIssy_ricco
0
114
Member Avatar for honos1

Want to click on an image from a list and simply set that filename in a field in a mysql database. I read the tutorials and have tried several different ways to pass the variable on the url and then update with a second php page. Hi my second question …

Web Development image mysql php
Member Avatar for honos1
0
143
Member Avatar for bouncycastle

Hello I have tow queries on my website. A first query that extracts a number of records from my "Tutors" database based on the criteria "Location". This query works fine and returns "Id", "Name" and "HourlyRate". I want my user to be able to see an extended profile for each …

Web Development php sql
Member Avatar for praveen_dusari
0
414
Member Avatar for awo

I just started using both PHP and MYSQL and i have this SQL statement that get record from three tables ie [CODE]Select name,age, datejoind, active, avrage_time_in,avreagework_duration from Personalrecord Union Activestaff Union Timetable[/CODE] but i need to be able to get a the list of Returnd field name into a PHP …

Web Development mysql php
Member Avatar for diafol
0
189
Member Avatar for Roebuc

Hello all, I am not sure if I should post this in this forum or the PHP forum. Basically, I am designing a web application for a school project. On the delete action, I want to prompt the user to make sure they mean delete. I was wanting to use …

Web Development javascript
Member Avatar for Roebuc
0
110
Member Avatar for BlackPhoenix

Hello everyone, I hate to be a bother, but I'm having some difficulty figuring this out. Through an AJAX implementation, I am receiving a SQL Query result that has: [LIST=1] [*]An object's attribute delimited by a comma [*]An entire object (database row) delimited by a colon [/LIST] This is an …

Web Development javascript
Member Avatar for Airshow
0
126
Member Avatar for emurf59

I have written a javascript function that calls a web service to save data. When the web service is called an alert pops up saying [I]the server method saveUpdateCodes failed[/I], and it gives no other information. The thing is the web service executes and throws no errors (I've stepped though …

Member Avatar for hielo
0
138
Member Avatar for dougcb68

I'm a newbie trying to modify the code in an AJAX tutorial to load data from an XML file, and it is not working. The code is in a php file that is invoked with the URL: [icode]getXMLTest.php?showName=photoShowTest.xml[/icode] The code I've written (mostly copied from the tutorial, actually) is: [code] …

Member Avatar for Airshow
0
207
Member Avatar for carlcarman

Hi I am having a problem with getting my output to display a dollar sign. I have the program running the way it is supposed to, it just won't format for currency. I have tried a couple of different methods and do not understand why the current code does not …

Web Development javascript
Member Avatar for carlcarman
0
168
Member Avatar for Shanti C

Greetings For all..... I have number of products in mysite...I want to show short url for all my products in my site...How to make them dynamically...Is there any thirdparty tool??? Or any information would be appreciated.. Thanks in advance.... Shanti..

Web Development php
Member Avatar for diafol
0
87
Member Avatar for xuexue

hi there, need some help: i have a command button in which it will generate a textbox whenever it is clicked, thus, if it is clicked 5 times, then 5 textboxes will appear. please help me with this, i want to code this using PHP or even HTML..

Web Development php
Member Avatar for sibizulu
0
141
Member Avatar for feoperro

Hi, Could someone please tell me how to read from a CSV file? Also, how to update (write) to a CSV file? Thanks, -Ashton.

Web Development java-jsp
Member Avatar for feoperro
0
204
Member Avatar for feoperro

Hi, I was wondering how developers have stable backgrounds, with scrollable foregrounds. i.e. [URL="http://forums.devx.com/"]http://forums.devx.com/[/URL] Please could someone give a basic piece of sample code to demonstrate this. Thanks, -Ashton.

Web Development java-jsp
Member Avatar for feoperro
0
303
Member Avatar for rouse

I would like to run the javascript code in between the script tag on a button press, but the code runs as the page load. Please point out what I am doing incorrectly. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="html/html; charset=UTF-8" /> …

Member Avatar for rouse
0
205
Member Avatar for rickya100

Hi and thanks for looking. The problem i'm having is simply getting an image to swap on a mouseover. Well I sort of had it working but then I cahnged the function to try and accomodate for more images and it just fell over dead. Let me show you the …

Web Development image javascript
Member Avatar for HenryGR
0
338
Member Avatar for CFROG

I'm having a bit of a problem with my page protect script. I've been working on my backup server for the past week or so making changes to the site. I uploaded all of the changes to the main site today and now every single page that includes my database …

Web Development php
Member Avatar for CFROG
0
152
Member Avatar for manishmannan

Hello Every one is there any body who could help me on how to open a doc file and how to read its content thanks in advance

Web Development php
Member Avatar for manishmannan
0
172
Member Avatar for K0ns3rv

Hello guys. I am faced with an serious issue in my current project. I have this form, when the user submits it I create an array via javascript which is then encoded in with JSONstring.make(). The data is sent to php via ajax, the problem is that sometimes, I havn't …

Web Development php
Member Avatar for diafol
0
136
Member Avatar for forwardlookguy

Hello everyone, I've been trying to build a website with a VIN decoder for a few weeks now and I'm getting no where. I have no experience with PHP but have been doing a lot of reading. My question is how do I split a form into different pieces that …

Web Development php
Member Avatar for dazm39
-1
2K
Member Avatar for vinithktp

Hi All, Please help me to solve this problem. I developed a web applicattion with following versions : Servlet Engine: 2.5 JSP Engine: 2.1 Server: Apache Tomcat/6.0.18 JRE Version = 1.6.0 My destination web server having following versions: Servlet Engine: 2.4 JSP Engine: 2.0 Application Server: Apache Tomcat/5.5.27 JRE Version …

Web Development apache java-jsp web-server
Member Avatar for vinithktp
0
234
Member Avatar for zvn

Hi. I'm trying to add event listeners to multiple elements of the same class. The DOM is something like this: [CODE] <body> .... ....... .......... <ul class="x"> <li class="a"> .... ... <span class="someclass"> [ <a href="http://someurl/x1>link text</a> ] </span> </li> <li class="b> .... ..... <span class="someclass> [ <a href="http://someurl/x1>link text</a> …

Web Development javascript
Member Avatar for zvn
0
499

The End.