52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mujahid158

I'm getting the following warning; Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\ep\login.php:1) in C:\xampp\htdocs\ep\login.php on line 2 If i comment session_start(), everthing works fine. Where is the actual problem? Here is my code; [CODE=php] <? session_start(); include "config.php"; global $c; require('functions.php'); …

Web Development php session
Member Avatar for Mujahid158
0
124
Member Avatar for obautista

Can someone tell me why this code is not displaying the "time" field in the table? I cannot figure it out. [CODE]<tr> <CFQUERY NAME="getAllTechsWeeklyActivity" DATASOURCE="VEHSALES"> SELECT date, time, DatePart(ww, date), datepart(dw, date) AS weekday FROM service_tech_activity WHERE DatePart(ww, date) = DatePart(ww, '#DateFormat("#editdate#", "yyyy-mmm-dd")#') AND DatePart(yyyy, date) = DatePart(yyyy, '#DateFormat("#editdate#", "yyyy-mmm-dd")#') …

Web Development coldfusion
Member Avatar for arrgh
0
122
Member Avatar for bonnysammy

Hi! I'm using C# and SQL Server. I need to take data from one table, display it to the user, allow the user to modify anything, and then when they click save, have the record added to a new table and deleted from the old. I have the first table …

Web Development asp.net
Member Avatar for padtes
0
146
Member Avatar for phpDave

Hello, I'm fairly new to php. I have a two page's, one where user creates account. The other one is for the user to insert other information. [B]If [/B]user completes both pages I want to direct them to their personal page, [B]else[/B], direct them to the second page to insert …

Web Development php session
Member Avatar for vandenzergen
0
118
Member Avatar for muralibobby2015

hello... anybody give suggestion.. i am doing one task what it zzz means my site is in english. i have dropdown list having multiple languages. if anybody changes language option site all pages change to that language. any body knows how to do it?

Web Development php
Member Avatar for muralibobby2015
0
2K
Member Avatar for xuexue

i have this problem, i want to have a data grid which functions like in vb6...now, whenever the user will click on any part of the table, the program will get the value of that specific row being selected. now, using clickable tables, i can get the value but in …

Web Development php
0
85
Member Avatar for xuexue

is it possible to have a clickable table wherein once you click that specific row, a dialog box will appear to display the entire row. could you help me with this one..thanks in advnce ^^

Web Development php
Member Avatar for xuexue
0
101
Member Avatar for xuexue

hi guys, just want to ask if how can i display the value of the textbox in javascript? as in, i will output it

Web Development display javascript php
Member Avatar for xuexue
0
609
Member Avatar for vampyrescene

Hi guys, this is my first post. I would also like to make clear that I am totally new to PHP and other languages, I am using a lot of site searches and google to get this working, however I am stuck on one thing. On the login script that …

Web Development database-design php
Member Avatar for JRM
0
92
Member Avatar for claudiu_is

Hi, I need help I have a form with an input field [B]addEdit[/B], after pressing a submit button I need to read the value from [B]addEdit[/B] and sent it to db. The problem is [COLOR="Red"]no value is sent through $_POST['addEdit'][/COLOR] . Why ? [CODE=html]<form name='frm' method='POST' action=''> <table cellpadding="0" cellspacing="0" …

Web Development javascript php
Member Avatar for JRM
0
146
Member Avatar for Lsmjudoka

I have a PHP script set up to regenerate a game character's statistics(health, energy, etc...). The approach I'm using is to store the result of a call to time() along with the character's data, and then when I pull the data out of the database I subtract the time of …

Web Development php
Member Avatar for Lsmjudoka
0
75
Member Avatar for WaltP

I have a page with a navigation column and a data column that I wish to control separately, both sides use forms. When I scroll down and click on a button on navigation side I want the data side to change accordingly but I want the nav side to stay …

Web Development php
Member Avatar for diafol
0
100
Member Avatar for powerbox

Hi guys I just need some enlightenment on how I should implement one of my projects. I've been migrating my codes from unmanaged to manged code and I chose Java as one of our primary PL to use. From time to time I've used some of Java products like GlassFish. …

Web Development api java java-jsp web-server
Member Avatar for pelegri
0
248
Member Avatar for NoID

Hello Guys, i have this text area. [code] <td><font>more Information</font></td><td><textarea cols="45" rows="5" name="Details" ></textarea></td> [/code] However someone has just filled this form, am not sure how much he wrote as when i got to my admin side that i have created it shows some of the text, id say 3,4 …

Web Development php
Member Avatar for diafol
0
90
Member Avatar for MDGM

Hi all, Im doing my myspace profile and im using submit buttons in a form and the form action as the url for the page that the user gets taken to, however my external links dont work, and i also want them to be opened in a new window. How …

Member Avatar for Pharoah
0
118
Member Avatar for kings

hi, can someone tell how to upload a file in php.i want to know the difference betweeen uploading a file and storing it in a folder and uploading a file and storing in a database.i want to know which method is good

Web Development php
Member Avatar for mohamedsafiq
0
1K
Member Avatar for girl.java

hi everyone!!! how are you? i'm trying to make some game using while loop this is my code but, Unfortunately it doesn't work :( please help me [CODE]<html> <SCRIPT LANGUAGE='javaScript'> var puzzle=rabbit; var input; var i=0; input=window.prompt('White and fast with four legs ??guess the answer',' '); while(puzzle != input){ alert('hehe …

Web Development javascript puzzle
Member Avatar for girl.java
0
88
Member Avatar for fsn812

A very simple PHP/Javascript snippet to detect the resolution of a user's monitor and create a table using that resolution to best fit within the user's browser (to avoid scrolling). Note: This is a PHP script which includes Javascript

Web Development javascript
Member Avatar for almostbob
0
543
Member Avatar for Stefano Mtangoo

till now I have never done anything dealing with exceptions. Now I have to deal with exception. Basically I have function below which I want to wrap in try/exception. I want to connect to database and if database connection failed then it should catch exception that will do some stuffs …

Web Development php
Member Avatar for Stefano Mtangoo
0
96
Member Avatar for Dhruvi Shah

Hello, I am doing a project titled online university management system and want to perform video conferencing. Is it possible to perform video conference using php technology? If yes then what are the requirements? and how can i code for the same? please solve my problem as soon as possible. …

Web Development php video
Member Avatar for diafol
0
320
Member Avatar for hno

HI, I have two webserver and two domain and I want to share information between them.What I want to do is this to share the database between two webserver so ,if I add new information through domain 'A' that information can can be catch from domain "B" and I have …

Web Development php
Member Avatar for kireol
0
85
Member Avatar for sehsa6

Hey frenzz I wanna make a Web content filter as my project. I have been looking for some help from past one month. I want ur help in making my project. Please help me explaining about its implementation or provide me with some links If u can. Any kind of …

Web Development asp.net
Member Avatar for sehsa6
0
111
Member Avatar for muusa

hey friends i m using servlet in order to write the output to jsp but i m getting output as something BufferedReader.io.inpitstreamreader@somenumbers i want to return the string output to jsp back .i need help stuck i this thing [code=java] try { String line; // String path="/home/muzammil/apache-tomcat-6.0.18/work/Catalina/localhost/remote_compile/"+filen[0]; Process p = …

Web Development apache java-jsp
Member Avatar for muusa
0
284
Member Avatar for cjay175

Hi there I'm trying to use jquery to load some content on a page but cannot seem to find anything through google. I have about 10 checkboxes, once 4 are selected I want to get their ids, than load 4 divs with textareas depending on the ids of the checked …

Web Development javascript javascript-jquery
0
76
Member Avatar for venky9589

hey, my name is venkatesh and m an final yr information science student. i needed some help for ma project.I wanted to know how can i access all the errors generated by the OS.I wanted to make an .NET application that reads out all those errors..do you think its possible??? …

Web Development asp.net
Member Avatar for venky9589
0
95
Member Avatar for cloud09

I have a form at the bottom my website's homepage. I was wondering if there was a way, when you clicked the submit button, especially if there were errors with the form, to send you directly to the bottom of the page with either, javascript, php, or html. The code …

Web Development php
Member Avatar for Lsmjudoka
0
104
Member Avatar for wisefool

Hi. Hoping someone can help. From what I've researched I think I need to use a multidimensional array but I'm not getting my head around this problem so there might be another way. I'm building a basic web app. It's a mysql database of links to county record offices nationwide. …

Web Development php visual-basic
Member Avatar for wisefool
0
63
Member Avatar for filch

I have the following files: 1. a PHP page that is loaded first and includes a number of functions. It calls a couple of other pages: 1a. a template file that has the following function in the head: [CODE]function checkForm( what ) { var ret = false; if( isBlank( document.getElementById('firstname') …

Web Development javascript
Member Avatar for filch
0
120
Member Avatar for aparnesh

I am developing an intranet application, in which, in some pages, when the user selects an option, I am using a pop-up window to retrieve the data and displaying it in the main page. The pop-up opens, fetches data, puts in main page and closes itself. Since the user is …

Web Development javascript
Member Avatar for bapjg
0
6K
Member Avatar for jfrojasdelrio

Hi there. I am using the slideshow along with the singlegalery.js happily. Now I want to know if you have a version of slideshow that accept width as a percentage as opposed to now that just accept pixels. I know we could modify the singlegalery.js to make this possible but …

Web Development javascript
Member Avatar for jfrojasdelrio
0
86
Member Avatar for Chosen13

My website is [url]http://www.stickmin.com/[/url] (Please Register!) I have it so when a user Logs In it updates their status to "Online" and if a user clicks Logout it updates their status to "Offline"... The problem I have is that some users just click the exit button on their browser and …

Web Development php
Member Avatar for CJesusSaves
0
4K
Member Avatar for webbee

Hi Friends, I need to create an application that will open a popup when the user closes a window. I can do that easily via onUnload event of javascript but the catch is that the popup must open only when we close the window and not when we submit a …

Web Development javascript
Member Avatar for freelancerquest
0
146
Member Avatar for praveen_dusari

hi all, iam familier to php forum here but completely new to vb.net, i am developing a web application using oracle database,vb.net and asp.net,just stuck up with generating manage content table with edit and delete you can see it in image file attached which is done in php here is …

Web Development asp.net oracle vb.net visual-basic
Member Avatar for praveen_dusari
0
113
Member Avatar for sitie_aniem

[code]function calculateDate(value) { if (document.form.fromDate.value != null && value != null) { var date = getDate(document.form.fromDate.value); date.setDate(date.getDate() + parseInt(value)-1); var curr_date = date.getDate(); var curr_month = date.getMonth()+1; var curr_year = date.getFullYear(); var dateString = formatString(curr_date) + "-" + formatString(curr_month) + "-" + curr_year; document.form.toDate.value= dateString; } } function calculateValidDays() { …

Web Development javascript
Member Avatar for sitie_aniem
0
115
Member Avatar for Midnite002

I am new to PHP and have not yet learned all the syntax and commends but was wondering if an easy script can be made to copy files of the same name from one directory over to another directory thru a PHP script in other words if I have 2 …

Web Development php
Member Avatar for Ezzaral
0
88
Member Avatar for the0ry

I don't know if this is possible with php, but i am trying to set the background of a site to a series of randomly placed, random images of the same size. What i am curious about is whether there is a way to take a handful of images and …

Web Development php
Member Avatar for the0ry
0
144
Member Avatar for takeshi

G' day!i have my code here in searching a record..it runs very well..but i want to add an options..i want to add like this: [CODE]<select> <option name="course">course</option> <option name="surname">surname</option> <option name="department">department</option> <option name="email address">email address</option> <option name="student no">student no</option> </select>[/CODE] i want to add that code in my program..and i …

Web Development php
Member Avatar for takeshi
0
823
Member Avatar for coolguy20

Hey Guys, I appreciate any and all help. I'm trying to print out the results of a query I've made to another server using the nusoap client. I'm successfully sending my XML Array to their WSDL web service and they are sending an XML response back. <RESULTS><TEXT>Success</TEXT></RESULTS> However all < …

Member Avatar for mitcrellim
0
199
Member Avatar for almahmeed

Hi, I have developed an application a while ago and used CSS for the formatting of the generated web pages. As I am using Google Chrome, everything was working fine and I have tested it few times on Firefox and noticed slight differences. Yesterday, one of the users complained that …

Web Development html-css php
Member Avatar for diafol
0
175
Member Avatar for justted

Hiya, Ive been using sessions for my website login but dont actually seem to be able to get my head round the data and content of it! For example ... if im using a session that holds the username of the member which is used to indetify and check access …

Web Development php session
Member Avatar for vaultdweller123
0
85
Member Avatar for xuexue

hi guys, i just want to ask how could i input an action to a link?? the best choice was to create a button which will do the act, however, im having difficulties with it. now my resort was to add the code to the link..meaning instead of the submit …

Web Development php
Member Avatar for vaultdweller123
0
1K
Member Avatar for Chosen13

Help, my forums worked great until I got over 1000 posts, but then they stopped ordering correctly. Whenever someone posts a new thread it puts it on the second page now. HELP!

Web Development php
Member Avatar for vaultdweller123
0
97
Member Avatar for hbat66

Hello, I've wound up with a strange problem with my php script. The script goes into a SQL DB and checks the values of two different columns to see if they are equal. If the columns are not equal, then I store all of the possible values in column 1 …

Web Development php sql
Member Avatar for vaultdweller123
0
195
Member Avatar for feoperro

Hi, I'm having a problem debugging a piece of code. I will paste the JSP version (that works) and then the exact same thing in Servlet form (that does not work). The code's function is to change a picture on mouseover and then revert onmouseout. I will paste for only …

Web Development java-jsp javascript
Member Avatar for feoperro
0
205
Member Avatar for barryw33

Hi I am trying to dynamically open a popup window but ie8 blocks it with the popup blocker. basically within a ajax fuction I have a confirm button and if the user clicks yes it opens a popup window. now I tried it with a javascript function but it got …

Web Development javascript
Member Avatar for almostbob
0
111
Member Avatar for nats01282

Hello i have been trying this now for 2 weeks and its messing with my head, i can not seem to get a WYSIWYG editor working on my site, main page [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>my site</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> …

Web Development html-css javascript-jquery php xml
Member Avatar for pritaeas
0
304
Member Avatar for kanuri1

please help me how to insert data into database by using grid view here iam using asp.net with vb.net database sqlserver-2005 give me any code or suggestions....... pls help me urgent...........................

Web Development asp.net vb.net
Member Avatar for Pari13
0
112
Member Avatar for aeinstein

Hi all, I've finally decided to get serious about learning JavaScript, and to facilitate this endeavor I've unearthed my copy of Danny Goodman's JavaScript Bible, 3rd Ed. (circa 1995, for which I no longer have the companion CD), but on reading the first chapter alone Ive realized just how outdated …

Web Development javascript
Member Avatar for flexsmith093
0
353
Member Avatar for ashabhatt

[code] SqlConnection con = new SqlConnection(scon); con.Open(); SqlDataAdapter da = new SqlDataAdapter("select Question,Option1,Option2,Option3,Option4 from QuestionData", con); DataSet ds = new DataSet(); da.Fill(ds); foreach (DataColumn dc in ds.Tables[0].Columns) { foreach (DataRow dr in ds.Tables[0].Rows) { Questionlable.Text = dr[0].ToString(); OptionList.Items[0].Text = dr[1].ToString(); OptionList.Items[1].Text = dr[2].ToString(); OptionList.Items[2].Text = dr[3].ToString(); OptionList.Items[3].Text = dr[4].ToString(); } …

Web Development asp.net dataset
Member Avatar for kvprajapati
0
105
Member Avatar for esakkirajak

HI Friends, I want to disable a browser back button in one of my aspx page.my frd suggested me to use javascript ..but i ahve no idea about it..plz help me..

Web Development javascript
Member Avatar for almostbob
0
162

The End.