52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rommels

Hello, im new coding in php, iv got a good backing in programming but as far as this goes im a tad lost. to start i and decided to go with a simple script that counts the rows in a mySQL database returns a result, randomises between 1 and that …

Web Development php
Member Avatar for pzuurveen
0
279
Member Avatar for uskudar12

I have two selectboxes which are driven from database both select boxes references the same table, the table has three columns id, from, to ;selectboxes work ok what i want is to get the id of the selected record without refreshing the page.

Web Development javascript
Member Avatar for djnzak
0
83
Member Avatar for luxmi_gee

hi i created a custom tag for database connections,sql... but doesn't work. can any one help me to solve that or any one know how to create customtag for db means plz help me. if u have coding for that plz send that. codings: 1.tag handler program (db.java) [code=Java]import java.io.IOException; …

Web Development java-jsp xml
Member Avatar for luxmi_gee
0
153
Member Avatar for Visualogic

sorry for annoying, i am quite stupid in it. [code]<html> <head> <title>Welcome to the online Auction...</title></head> <body> <% try { String strUsername = request.getParameter("username"); String strPassword = request.getParameter("password"); Class.forName ("mysql-connector-java-5.0.8-bin"); Connection myConn = DriverManager.getConnection("jdbc:mysql://localhost/user.jsp,admin,admin"); Statement myStatement = myConn.createStatement (); String strSQL = "SELECT UserName,UserPwd from user where UserName="",UserPwd=""; ResultSet myResult …

Web Development java-jsp
Member Avatar for Visualogic
0
198
Member Avatar for somedude3488

Hello, I have completed a chat application using php/xml/ajax: [url]http://www.banditssoftball.org/chat/[/url] I had a function to submit messages after hitting enter. the only problem was it only worked in IE. I need one that will working in FF ect. I have tried everything i can think of and nothing works. Also, …

Web Development javascript xml
Member Avatar for somedude3488
0
127
Member Avatar for sbv

hi.. to read a document file in Asp.Net and Vb.net as a Code behind , Use following Code [code] Sub Read(ByVal RPath As String) If RPath <> "" Then Dim WordApp As New Word.ApplicationClass Dim filepath = Server.MapPath("images\Resume\") & RPath Dim File As Object = filepath Dim nullobj As Object …

Web Development asp.net file-system vb.net
Member Avatar for sbv
0
237
Member Avatar for xom

Hi, I wanted to know how to edit the postition of an article or any text in joomla? So for example suppose in a template the articles appear in the center of the website, how can i make them appear in the left or in the right of the website …

Web Development php
Member Avatar for xom
0
90
Member Avatar for still_learning

Hey guys, I am trying to make a drop down menu that gives options such as (right, left, center) so that I can choose one of those and align the text in one of my layers. I am having trouble figuring out how to make this work so if someone …

Web Development javascript
Member Avatar for still_learning
0
462
Member Avatar for cyfm

Has anyone ever used or is using Community Server? It's basically a really expensive asp community server that includes forums/blogs/gallerys/downloads and documents. You can I believe download a limited copy for free however prices can go up to $1,899.00 and if you want their top hosted package that will cost …

Web Development asp phpbb
Member Avatar for mlittkesmith
0
191
Member Avatar for nizuya

I have a normal html document with an iframe pointed to a .php document (with links to other php documents). I would like the iframe height an/or width to change when page in the iframe changes. For example the initial page would generate an iframe height/width of 800/600. When you …

Web Development php
Member Avatar for hivenk
0
109
Member Avatar for Bulldawg

Can someone help me with this one. I want to show the different images according to the criteria. It only returns the first image `echo $var1` as it is. I guess I am trying to figure out how to do: greater than one number AND less than another number to …

Web Development image php
Member Avatar for Ole Raptor
0
164
Member Avatar for itsense

Hi all I was wondering if there was a way of getting all the data in [code] item[0] [/code] into a mysql db. This is for my website, and i don't want to visit all the site to get the content. The example: [code] $load = new DOMDocument; $load->loadHTMLFile('http://www.website/index.php'); echo …

Web Development html-css php
Member Avatar for itsense
0
111
Member Avatar for oku

Hello everyone, I currently have a form that for each question you answer it gives u a score using if/else statements - it works fine this form is split into differnet sections and what i need is for only 1 of the scores to display for example in the first …

Web Development php
Member Avatar for oku
0
102
Member Avatar for brr

in my add form when open the form first move control to the first text box in my form for that iam using the following one. <body OnLoad="document.forms[0].elements[0].focus();"> but if in my form first is listbox how to move control to the list box

Web Development javascript
Member Avatar for brr
0
416
Member Avatar for themailsian

Hello dears, I m facing below mentioned Error in my application. where as all my database connections are closed. my code is as under: i have made a function that is being used with each type of query in my application. [code=VB.NET]Public Function exeQuery(ByVal query As String) As String Dim …

Web Development asp.net vb.net
Member Avatar for ericstenson
0
289
Member Avatar for heels

Hi, I was just wondering if php is able to do the 'page post back function' like asp.net ? If possible, can someone guide me along with it or any site recommendations for reading up will be greatly appreciated. Thank you. :) Regards, heels

Web Development asp.net php
Member Avatar for heels
0
74
Member Avatar for blackheart_22

Hi, I'm currently applying the autosave code i've got on the internet unfortunately I can't make it work. Below is the error encountered as well as the code being used. Error Encountered: Line: 4568 Char: 21 Error: Object Expected Code being used: [code] <script type="text/javascript"> pollingInterval = 5000; threadLock = …

Web Development javascript xml
Member Avatar for ~s.o.s~
0
264
Member Avatar for justinmyoung

Can someone recommend a good, reliable open source PHP script that allows for a user to login with a username and password/id. I want to allow a user to enter his/her username and password, where the password pulls specific data from the database, such as all the data with a …

Web Development open-source php
Member Avatar for Ole Raptor
0
580
Member Avatar for tanha

Hi. what is wrong with the following query, which can not be executed: [CODE] $query = "SELECT id, firstName, lastName, username, password FROM users WHERE username = '' OR '1' AND password = '' OR '1' ; DELETE FROM users WHERE 1 or username = ' ' "; $result = …

Web Development php
Member Avatar for Ole Raptor
0
75
Member Avatar for luxmi_gee

hi how to display the content of one jsp page into another jsp page. how to add more than one jsp page in a single page. thanks

Web Development java-jsp
Member Avatar for guymanbuddude
0
123
Member Avatar for scrapdaddy

i was wondering if there is a php/lamp solution comparable to the .net [url]www.communityserver.com[/url]. I really like what community server offers. Its a nice platform for launching a community site. Is there anything comparable to this on the php side of things. Vbulleting only does so much and is limited. …

Web Development php
Member Avatar for mlittkesmith
0
106
Member Avatar for jilly

I made a basic website for my sons' garage band, and they want on the front page to have a box that the four of them can update with the 'latest news' - so I want it to be something they's have to log in to use, or at least …

Web Development first-post php
Member Avatar for justin1206
0
195
Member Avatar for islam nigm

I'm using the netbeans software to create my web application i have created the custom tag and bean classes after that i should make the jar file to embed it in my web application but i could't create that jar file in any way plz help me to get this …

Web Development java-jsp
Member Avatar for mbazs
0
133
Member Avatar for ztwalsh

I looked through a few threads to find an answer to this question but was unsuccessful. I want to upload a file to my server and at the same time insert it's file name into my database. I've got the upload portion working just fine. Does anyone have a snippet …

Web Development php
Member Avatar for tanha
0
73
Member Avatar for scorpionz

Hi this is scorpionz The reason of this thread is that: I am making a Drag Div by mouse, and showing its position to the browser in (x,y ) coordinates, like when user click the box and drag it to some other place, then it shows the position of that …

Web Development javascript
Member Avatar for ~s.o.s~
0
792
Member Avatar for antwan1986

Hi everyone and thanks for reading. I'm having problems validating the file size of my uploads. With my current script, If I upload anything that is over 2Mb, I keep getting the error about file types rather than the ones about the file size. Even if I dont submit anything, …

Web Development file-system php
Member Avatar for tanha
0
312
Member Avatar for tanha

Hi. I am using WAMP with following tools: 1. PHP 5... 2. MySQL 5... 3. Apache 2... 1. I don't have REMOTE_USER variable in my php.ini file, How can I include it in my php.ini 2. How to change the variable REMOTE_USER in php.ini, through PHP script? Thanks

Web Development apache php
Member Avatar for tanha
0
161
Member Avatar for tanha

Hi. I am using WAMP package, which has the following tools: MySQL 5... PHP 5... Apache2... and I my own computer as client and server, and I like to test the [B]mail function[/B] of PHP. PROBLEM: Is it possible to use the mail function of PHP on my own computer? …

Web Development client-server php
Member Avatar for tanha
0
114
Member Avatar for muthu raj

php mailing not working. any help me? i used the code to send mail is as follows: <?php $to = "someone@example.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "someonelse@example.com"; $headers = "From: $from"; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?> when i am executing …

Web Development php
Member Avatar for phpuser
0
174
Member Avatar for k2000

Hi , i am trying to retrieve a row of data from a SQL table,but i dont get the results,i just get the variable($stock_code) that i use to search for the row on the screen. <?php include "dbaccess.php"; $stock_code=$_POST["txtStock"]; // Insert the required SQL query here. $query = "SELECT STOCK_CODE …

Web Development data-structure php sql
Member Avatar for maydhyam
0
78
Member Avatar for cacorat

I keep getting an error where the symbol cannot be resolved and the arrow pointing to where i have written statement.ExcecuteUpdate Am not able to insert any data into my database, can anyone see where i may have gone wrong. thanx heres the code: <%@ page import="java.sql.*" %> <%@ page …

Web Development java-jsp mysql sql
Member Avatar for masijade
0
355
Member Avatar for shweta797

Dear sir In my project i have to show amount of all the months i.e if user enter first due date and expiry date then it calculate the amount of all the months which are between first due date and expiry date in reports. in Jsp how a month can …

Web Development java-jsp
Member Avatar for masijade
0
306
Member Avatar for greeny_1984

Hi, I have an application in which we have button to create textboxes dynamically. On clicking on button named Addnew ,we get textbox in a table. The problem is that when the page is refreshed,data entered is vanished. I want to get data from texboxes on submit click. Can any …

Web Development asp.net
Member Avatar for greeny_1984
0
328
Member Avatar for servis

i am working on creating php templates for an application, but i am not understanding how to cover while loop in templates, my code is as follow, that is not right and of course not working at all, it is being posted just for example. Please any body give me …

Web Development php
Member Avatar for servis
0
107
Member Avatar for jennifer_48219

Hi I am working on array and made some good improvement into my code. Now I am just having one problem. I want the number to display in my text box area starting from 0 to 1000 I know how to do it for alert but not to display in …

Web Development javascript
Member Avatar for jennifer_48219
0
93
Member Avatar for plusplus

When user click on gridview I want that row to be selected, without having the extra column for the select button. Can anybody help me?

Web Development asp.net
Member Avatar for plusplus
0
76
Member Avatar for kiran kumar

this is an interview question asked on 23rd april 2005 in mbt?

Web Development java-jsp pdf
Member Avatar for peter_budo
0
74
Member Avatar for Asad__

I am using html and javascript for a simple application. I made a dropdown list on one page say "homepage.html" I want that the value selected from the dropdown be passed to a new page say "newpage.html" and appear in a text area there. I don't want to use php …

Web Development html-css javascript
Member Avatar for Asad__
0
129
Member Avatar for kained

I have deisgned a site. [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/home.html[/url] and am trying to get my google map sorted. [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/index.php[/url]. All the markers have disserpeared after i played about with my java script functions file [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/map_functions.js[/url] and the php database [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/map_data.php[/url]. Im sure its something really simple like i have left pout a comma …

Web Development google php
Member Avatar for clh22793
0
126
Member Avatar for heels

Hi, I am a newbie to PHP and HTML and over here i am trying to display my sql results in a table format like this, ID. Name. Contact --------------------------------------------- ----ROW1---------------------------------- ----ROW2---------------------------------- any site recommendations where i can get help from? thanks alot.

Web Development html-css php sql
Member Avatar for heels
0
235
Member Avatar for ellisman

I run a poker staking forum. Its brand new. What i want to know is how can i have the system calculate rates between players(50% for staker and 50 percent for horse)? Also, is there any way to have it calculate multiple people's investments into a player and also the …

Web Development php
Member Avatar for Ole Raptor
0
95
Member Avatar for websurfer

Hello, all: Say have 3 separate landing pages on my site (or more even), but they all end up at one common destination, how can i make it so each visitor can then go back to landing page they came from? here's the scenario: Say I have links from Google, …

Web Development php
Member Avatar for websurfer
0
111
Member Avatar for gptArun

somebody knows how to call mysql Procedure in PHP? i extract almost forum regarding procedure in php on google but didn't find solution. pls. reply ASAP. thanks in advance

Web Development mysql php
Member Avatar for darkagn
0
94
Member Avatar for arunkumarsrec

I have recently started free domain name service <snip>. I used turnkey redirection script. My script uses php with SQL 4 . My hosting Uses sql 5. I face problem while installing. Can anybody give a solution

Web Development php sql
Member Avatar for k2000
0
92
Member Avatar for jencinas69

I wote this code to this and it works the problem is that my csv file does not have the headers ID, Description , Category in the top of the file. I wrote this code [code] <?php $list = array ( "ID,Category,Description,,,,,,,,,,,,,,,,,," ); $file = fopen("DS20080507.csv","r+", 1000); foreach ($list as …

Web Development file-system php
Member Avatar for jencinas69
0
123
Member Avatar for creedalene

I am currently creating a quote form for my company website, and wanted to make it a little more friendly than the usual "thank you everyone who fills out that form over there, and who I really don't care about..." I've tried two variations of the code and I've included …

Web Development php
Member Avatar for creedalene
0
77
Member Avatar for yenyen

helo there, i need some help on some image/photo slide show display. i would like to do a photo carousel function similar as the [URL="http://www.flickr.com/photos/69864550@N00/320622773/"]http://www.flickr.com/photos/69864550@N00/320622773/[/URL] . the function i would like to do is on tis flickr.com web at the right hand side for tat photo stream [url]http://i263.photobucket.com/albums/i...2008/image.jpg[/url] let say …

Web Development javascript vbscript
Member Avatar for yenyen
0
164
Member Avatar for kevin wood

i need to write a piece of code so that when the counter reaches 500 hundred the user is directed to a limit hit page. or if it is under 500 hundred it directs the user to the page they wanted to go to. i have used if statement to …

Web Development php
Member Avatar for buddylee17
0
98
Member Avatar for nizuya

Could someone tell me how to make an iframe resize based on the content without having to refresh the parent frame. I have found some things that require java script in the frame document however i'm not sure how to integrate this, as the document my iframe links to is …

Web Development javascript php
Member Avatar for nizuya
0
128
Member Avatar for luxmi_gee

hi i want refresh the jsp page every seconds using AJAX in script. any one have a code for that.

Web Development javascript
Member Avatar for Thirusha
0
70

The End.