52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ErlendHL

Hey! I am making a chat program. I have a function Chat(); [code] function Chat(){ var fullMessage = document.getElementById('name').innerHTML +' '+ document.getElementById('message').value+'\n'; fullMessage = fullMessage.replace(/\'/g,"'"); fullMessage = fullMessage.replace(/\\"/g,"""); fullMessage = fullMessage.replace(/\[/g,'*lsb?'); fullMessage = fullMessage.replace(/\]/g,'*rsb?'); sendRequest('http://3rlend.com/pjattappend.php','F=allMessages.txt&D='+'fullMessage','POST',true); document.getElementById('message').value=""; } [/code] sendRequest(url,params,method,Asynch); i an AJAX function. Now when I try to execute Chat();, …

Web Development javascript
Member Avatar for ErlendHL
0
1K
Member Avatar for cpp.coder

from w3schools.com i have read this line. that http address doesn't maintain the state. can some one please explain it. thanks in advance the link from where i read this is [url]http://www.w3schools.com/php/php_sessions.asp[/url]

Web Development php
Member Avatar for diafol
0
224
Member Avatar for piers

Now I am using php and mysql so not sure if this should be in the php section. If you can help I would be most greatful. I am trying to create a search page so that it shows data and one of the columns in the mysql database contains …

Web Development file-system php
Member Avatar for piers
0
111
Member Avatar for niths

hi i am new to php. I am having some problem. i had created a dropdown list which contains project names. and below that a table with checkbox userid,username. till tat it is working properly. after selecting the project name and one cheque box and press submit button.It should display …

Web Development php
Member Avatar for JRM
0
77
Member Avatar for what_5626

hi, as the title has saiad, if the user click "ok" for exp it will link to [url]www.google.com[/url] and if the user click "cancel" it will link to [url]www.yahoo.com[/url]. below is my code [CODE] function calcFunc(){ var val1 = document.calcForm.selectQuantity1.selectedIndex; var val2 = document.calcForm.selectQuantity2.selectedIndex; var val3 = document.calcForm.selectQuantity3.selectedIndex; var val4 …

Web Development javascript
Member Avatar for Graphix
0
114
Member Avatar for rohitmanhas_12

cud any one tell me how to search particular data from database using data grid..... i had three text boxes for firstname,lastname and age.. and a search button... when i enter anything in any of the first two text boxes i.e either firstname or lastname or both, and enter search …

Web Development asp asp.net c#
Member Avatar for rohitmanhas_12
0
350
Member Avatar for phpdev

Hi all! this is my first post in this site.. the following code works fine with ff but not with **ie 8** - i had given [B]'windowname' [/B]in the place of **'_blank'** for ff, but that did not allow ie to open the window, so replaced it with blank, now …

Web Development javascript
Member Avatar for Suresh Vanam
0
144
Member Avatar for rouse

I am writing a contact form using jQuery AJAX POST and PHP. The form works well and sends the email. What I want to know is how to get the return values for error and success on the same page where the contact form is rather than having the message …

Web Development javascript php
Member Avatar for rouse
0
115
Member Avatar for dawsonz

Hi, I've currently got a gridView which selects data from my table, it also has the URL of an image in one of the columns. I want an imageField which can then display the image from the URL thats provided in the image column. My datagrid: [img]http://i41.tinypic.com/25ivst2.jpg[/img] My code for …

Web Development asp.net image
Member Avatar for dawsonz
0
90
Member Avatar for clueless07

I am trying to put the results of my query into a table on my webpage that i have made however, i am having problems as it prints some of the code out onto the webpage & doesn't display the table. [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html …

Web Development html-css php printer sql xml
Member Avatar for clueless07
0
134
Member Avatar for rainhider

[CODE] $result = mysql_query("SELECT * FROM Users") or die("could not select ".mysql_error()); if (!$result) { echo 'Could not run query: ' . mysql_error(); } $rows = mysql_num_rows($result) or die("no rows" . mysql_error()); if ($rows > 0) { $row = mysql_fetch_assoc($result); while ($row = mysql_fetch_assoc($result)) { print_r($row); }[/CODE] Every time I …

Web Development mysql php
Member Avatar for rainhider
0
122
Member Avatar for perceptiveforce

When a user logs in, the user is directed to a page called accountsummary.php. I have sessions enabled. I can successfully echo the inputed username, and echo the ENTIRE column of firstname and lastname for the entire table. The problem is that I do not want to echo the entire …

Web Development mysql php
Member Avatar for fobos
0
322
Member Avatar for Tekkno

I have the following AJAX script: [code=javascript] function callAHAH(url, pageElement, errorMessage) { document.getElementById(pageElement).innerHTML; try { req = new XMLHttpRequest(); /* e.g. Firefox */ } catch(e) { try { req = new ActiveXObject("Msxml2.XMLHTTP"); /* some versions IE */ } catch (e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); /* some versions …

Web Development javascript
Member Avatar for Fungus1487
0
173
Member Avatar for davidgoldsmith

syntax error, unexpected T_STRING in /home/earning1/public_html/wordpress/wp-content/themes/DavidGoldSmith_Theme/sidebar.php on line 40 Don't see the error???[code]<div id="cat_top"></div> <div id="sidebar"> <div class="rsidebar"> <div class="blog"> </div> <div id="photo" class="picture"> </div> <p> <?php wp_list_pages('title_li=<h2>David's Links</h2>' ); ?> <ul style="line-height:18px;"> <li ><div ><!-- SiteSearch Google --> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://davidgoldsmith.com/wordpress'>Home for David's Blog</a> </td> …

Web Development php wordpress
Member Avatar for Arsench
0
85
Member Avatar for UberJoker

So what im doing is actually in php, but just wanted to know whats the working logic of what im trying to do. I currently have 2 servers(virtual machines). i have a php file in ubuntu server that calls some other files on the windows server and vice versa. as …

Web Development javascript ubuntu windows-server
Member Avatar for UberJoker
0
214
Member Avatar for ragnarok511

I am kind of new to php. However, I created a form in html and the form action is linked to a php which all on the localhost. When I run the html file enter in information and hit submit. A window pops up and asks me if I want …

Web Development apache ide php ubuntu web-browser
Member Avatar for ragnarok511
0
136
Member Avatar for sallycheng

my program cannot update the value,but it can show the value of the database Thank you [code] <?php require_once('../Connections/connection.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) …

Web Development php
Member Avatar for sallycheng
0
108
Member Avatar for ace_almario
Member Avatar for ace_almario
0
188
Member Avatar for niths

hi all, i need to display only date in the createddate column and updateddate column. but iam getting 0000-00-00 00:00:002010-03-26 in the browser and in backend like 0000-00-00 00:00:00 so i need a help. [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); createsessions($username,$password); $con=mysql_connect("10.70.1.50","invensis","invensis"); if(!$con) { die('Could not connect: ' . mysql_error()); } …

Web Development php
Member Avatar for Zagga
0
104
Member Avatar for Katsurou

Hi so I wanted to make a little quiz in php [CODE]if(isset($_POST['City'])) { echo "<strong>Answer nr1:<BR></strong>"; $cities= $_REQUEST["City"]; $odp = "Madrid" || "madrid"; //$odp = "Madrid" && "madrid"; //neither of OR/AND works here if($cities== $odp){ echo "Your answer is <Font Color=#009900>correct</font> <P>"; } elseif($cities== ""){ echo "Please fill in this …

Web Development php
Member Avatar for Katsurou
0
110
Member Avatar for jellybeannn

Hi everyone, I've got a shopping cart with a total amount label, this works perfect with the products, if a product quantity is changed the label also changes. I have a shipping type drop down list determined by which region the user is, I would like the total amount label …

Web Development asp.net
Member Avatar for vuyiswamb
0
106
Member Avatar for gptArun

Hello there, I am developing sharepoint web site with ASP.NET . Stucked in home page design [didn't found home page]. I found default.master.aspx file but it changes all pages design. You have any idea ? googled out but didn't find nearby result. :( regards

Web Development asp asp.net sharepoint web-design
Member Avatar for gptArun
0
215
Member Avatar for dpreznik

Dear friends, I have a tab container with many tab panels in it. In each tab panel, I have a GridView which has an Edit button in each row. When Edit button is pressed, it turns into an Update button, and all fields become editable. When the Update button is …

Web Development asp.net
Member Avatar for dpreznik
0
883
Member Avatar for Connavar

Hi guys and gals I am new to the forums and was referred here by some friends. I am creating a site for a Xerox partner, and I am trying to pull content (a certain div) through, from the Xerox site, to mine, without pulling through the entire site. I …

Web Development asp.net
Member Avatar for Connavar
0
116
Member Avatar for Pooja J.

Hi to all, Here is my code, I want upload file which are only images. All images with jpg, JPG, jpeg, JPEG, gif are uploaded successfully except with bmp file. Plz, help me to find out the prob. why my code is fail with bmp extension file. [code] //file-detail-complex.php <?php …

Web Development file-system php
Member Avatar for Pooja J.
0
816
Member Avatar for sarithak

Hi, I m using first time url rewriting concept.. i m getting some errors when i used different symbols in url.. [B]$title="sachin's best shots KKR : MI ? ";[/B] here when i use normal text (with out any symbols) ..this is working fine..but, when i use (?,",',:)...page can not be …

Web Development php
Member Avatar for sarithak
0
93
Member Avatar for symphil

Hi, I'm using this script to open the enlarge version of a thumbnail image, in a new window: <a href="images/enlarge/20ans_1.jpg" onclick="window.open (this.href, 'child', 'height=400,width=600'); return false"> But the pictures opens smaller than the window and I have to click on the miage (zoom tool) to get the full size. What's …

Web Development image javascript
Member Avatar for almostbob
0
212
Member Avatar for josephe

Ok, so I'm learning PHP (and quite enjoying myself so far). I'm making a web page that will have a list of text boxes for the user to type info in. The boxes will be created dynamically via JavaScript (later on in development), and the id/name of the box will …

Web Development php
Member Avatar for josephe
0
231
Member Avatar for fiaolle

Hi I have trouble understanding, when I have to override and why I have to override. I'm using a WebUserControl I tried to use [CODE]Protected Sub Overrides OnPreRender(ByVal writer As System.Web.UI.HtmlTextWriter)[/CODE] but then I get the error [QUOTE]sub 'OnPreRender' cannot be declared 'Overrides' because it does not override a sub …

Web Development asp.net
Member Avatar for kvprajapati
0
182
Member Avatar for FidoNZ

Hi, I have set the content of a listbox through databinding. [CODE] myListBox.DataSource = myDataSource myListBox.DataTextField = "column01" myListBox.DataValueField = "column02" myListBox.DataBind() [/CODE] I have then set the selected index of the listbox using a loop [CODE] Dim myValue As Integer = [I]someValue[/I] Dim myListItem As ListItem = New ListItem …

Web Development asp.net
Member Avatar for kvprajapati
0
75
Member Avatar for MidiMagic

I need a way to practice using PHP and MySQL. But I have the following limitations: 1. My ISP requires me to change my URLs if I upgrade to its service which provides PHP and MySQL. 2. If I change my URLs, all of the resumes I already sent out …

Web Development audio php
Member Avatar for nika201
0
174
Member Avatar for jascook

Hi all, I've uploaded my asp.net site to my ISP. It works fine locally on VWDE 2005, in that I can create users, assign them to roles, and control role access to website folders etc. Obviously this is all with SQL 2005 Express on my PC. When I upload it …

0
87
Member Avatar for drewpark88

Hey Guys, I need to send an HTML email with the last 4 digits of the credit card. Everything else sends fine but must be an error in my code, probably didn't do it right can someone correct me please : ) [CODE]XXXX-XXXX-XXXX-".substr{$_REQUEST['cc_number'] , -4, 4}[/CODE] * Yeah I know, …

Web Development php
Member Avatar for edwinhermann
0
210
Member Avatar for faizal4cool

Hai friends, Anyone know firebug like plugin for IE.Pls help me Thanks

Web Development php
Member Avatar for ShawnCplus
0
112
Member Avatar for mrcniceguy

hi everyone! i`m trying to display a friend of a friend from a friend table,but i dont know how to do it. i have a table called friends,which has id,friendid and userid fields. Now i want if a member loggin, to be displayed a list of friends of his friends …

Web Development php
Member Avatar for mrcniceguy
0
115
Member Avatar for kevinwcaulfield

I am new to PHP, and I have this website. I want to know if i can have a page that is password protected (i know how to do that part), where the user can edit a variable from a text area. Example: if i had a $news variable, and …

Web Development php
Member Avatar for diafol
0
102
Member Avatar for Cap'nKirk

Hi all, I have a file download counter on my website, [URL="http://www.madtogger.co.uk/page/software"]here[/URL], that I am playing around with. The files are stored in a folder on my server and their filenames are used to populate a mysql database. What I would dearly like is for the filename without it's extension …

Web Development php
Member Avatar for Cap'nKirk
0
144
Member Avatar for moobaa

Hi dani-webbers... I am endevouring to build an application that drags in data from multiple sources, and compiles this into a single page in which users can then click through to the item on the desired site. Most of the sites I want to include provide an API, but one …

Web Development api php
Member Avatar for diafol
0
106
Member Avatar for b1izzard

Hi to all, I have installed VS2008 pro in Xp sp2 pro. I have a problem with positioning of the controls while in the Design mode during a webpage development. Whenever I Add a "BUTTON" or any control in the form and want to drag it anywhere within the form …

Web Development asp.net
Member Avatar for amitshrivas
0
98
Member Avatar for amalashibu

Hi, I had a problem when display the total amt from sql to textbox ------------------------------ create table get(Currentdate varchar(200),Expenses varchar(200),Amount decimal(38,2))-this a table ------------------------------ asp.net codings -------------------------- mycomm.CommandText = "SELECT sum(Amount) from get" dr = mycomm.ExecuteReader While dr.Read() TextBox6.Text = dr.GetDecimal(2) End While dr.Close() -------------------------------------------------------------- Error: Index was outside the …

Web Development asp.net sql
Member Avatar for amitshrivas
0
175
Member Avatar for Pankaj18

Hi, I am using RegularExpressionValidator to validate EmailID where ValidateExpresion is:: \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* Actually i want to validate EmailID that can also contain spaces. example:: < [email]raman@gmail.com[/email] >,<raman@gmail.com>,< [email]raman@gmail.com[/email]> I want to validate all of the above Email IDs as Valid. Please help me Thanks in advance

Web Development asp.net
Member Avatar for woodsrr
0
113
Member Avatar for mundee

New to the Java world. Can .jsp work on Windows based platform also, oppsoe to Linux? ~Mundee

Web Development java-jsp php
Member Avatar for masijade
0
72
Member Avatar for azegurb

hi all i have news publishing script. every script has own id ([url]www.example.com/index.php?id=12[/url] (for ex) who can help me Make comments script i want that let it possible to add comments each news when whatever news selected let it comes with its comments Thanks for attention

Web Development php publishing
Member Avatar for azegurb
0
96
Member Avatar for loverose420

[B]Please help me with this problem i need a tab control on a web page , pls guide me how to design it and if possible with a short example , thanks in advance to everyone [/B]

Web Development asp.net web-design
Member Avatar for vijaykathir
0
135
Member Avatar for sallycheng

I cannot select a row to edit in the repearter. How can i update correctly to the database? Thank you [code] <?php do { ?> <tr> <td height="42" bgcolor="#FFFF99"><div align="center"><?php echo $row_Recordset1['student_e']; ?></div></td> <td bgcolor="#FFFF99"> <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>"> &nbsp; Present <label> <input <?php if (!(strcmp($row_Recordset1['present_time'],"1"))) …

Web Development php
Member Avatar for sallycheng
0
100
Member Avatar for anuplike
Member Avatar for peter_budo
0
88
Member Avatar for Arun.N

i try to make a crawler that crawls a web page & retrieves the stock information from google,but can't do it . so plz help me 2 make that type of crawler. urgent plz...

Web Development php
Member Avatar for moobaa
0
169
Member Avatar for san_cash

Hi!, I want a simple code for a login system in php where users should be able to login in between 9.00 Am & 5.00 PM. Otherwise it should not allow users to login. Can anyone please help thank you Santosh

Web Development php
Member Avatar for sureronald
0
91
Member Avatar for fatcat2010

hello expert: got 2 basic questions: 1.don't know how to review php.ini content to check if register_globals is set "on" or "off". i know php.ini is on the server end. how to pull i up? 2. i see a paragraph says..."assuming register_globals is turned off"for this reason, we assume that …

Web Development php
Member Avatar for fatcat2010
0
182
Member Avatar for tmaniacco

This is my first website so please be kind. My form in my index.php has method="post" action="mailer.php" in my mailer.php I have the following code which I had hoped would take care of single and double quotes which may be entered into the message textarea $message = $_POST['message']; $message = …

Web Development php
Member Avatar for cwarn23
0
82

The End.