52,566 Archived Topics
Remove Filter ![]() | |
I am having trouble with some php code that was working fine on a unix server but when I try to move it to a Windows 2003 server I am getting errors like "Use of undefined constant x - assumed 'x' in ...". I am using PHP 5. Here is … Web Development php unix windows-server | |
Hi dears, I am working on an script for testing students. I have problem in javascript code. I want to open a new window using javascript. the code works fine in Firefox but it gives error in IE. The interesting thing is that it gives error where there is a … Web Development javascript | |
Hi everyone, i've just studied basic PHP and i usually study online. I wite this code for contact form.But i cannot find error and fix it-Because i'm new :-). Please help me. Thank very much [COde=php]]<?php /* Subject and Email Variable*/ $emailSubject = 'Email from Clients'; $webMaster = 'tracyn2k2@yahoo.com'; /* … | |
The script belwo works in IE, how do i get it to work in FireFox? [code=JavaScript]<script type="text/javascript" language="JavaScript"> <!-- JavaScript --> <!-- Begin mesg = "Welcome to WhiteCityCavaliers.com New Litter has just arrived....Ready for you after weaning!....More Love than you could expect from a puppy, Cavaliers love to please you...."; … Web Development javascript | |
ok so what i want this to do is to get the gallery name, then place it in a hyperlink, with the href including the gallery name so on the page im re-directing to i can use $_GET and get some information without a session etc. But there is nothing … | |
Hello! I created a simple CMS with PHP/MySQL and would like to make it easy for people to insert some formatting, such as bold, italics, underlined, links, etc., so that they don't have to know html code... What is the best solution to develop something like this? Javascript? Forms are … ![]() | |
Hello.. I dont know where to start with my question. I have a website that displays products (products retrieved from a database). I use Datalist to display these products and this Datalist is linked to a Command in the C# code. Within this datalist I have <itemtemplate> </itemtemplate> tags Between … | |
Hi everyone, Could anyone tell me how to pull a set of arrays from a different php script (for example i have created a script and the first thing it does is pull a name of a village out of the mysql and show it, Now what i would like … Web Development php ![]() | |
Hi all, I need to save a number to 3 decimal points, however I want 10.3 to be saved like this: 10.3 not this: 10.300 varchar will not work because ORDER BY rating treats 10 as being lower than 9... So what datatype should I use? Thanks, Max. | |
Hi I am creating a web application containing html and jsp files.....Actually the whole application is divided into three frames ie. left , center which expands to right also and bottom.....I have put my logout link there at bottom....The logout.jsp file has code [icode]<% session.invalidate() %> [/icode] which is terminating … Web Development java-jsp session web-browser | |
Hello all, I'm starting PHP and setting up my server on Stick. I'm fond of WAMP and find XAMPP interesting, and want to give it a go :D However, if you have ever worked with WAMP it have a behaviour of displaying all folders in www directory, and I don't … | |
Please help me find errors in this code, because it is not displaying what i requested. PLease answer A.S.A.P [code=php] $query = mysql_query("SELECT * FROM member"); $result = mysql_query($query); while ($row = mysql_fetch_array($result)) { if(mysql_num_rows($result) == 0) $result = mysql_query("UPDATE member SET flgCurrent = 'false' WHERE idMember =" .$row[0]); echo … Web Development php | |
Hello Readers, I need urgent help.Pls can anyone give me a demo of how to install PHP 5.0 for Windows XP on Apache Server or provide me a link wherein i can download both PHP compatible to Apache server. Web Development apache php windows-server | |
hi, Am developing a web app in php, mysql but using lots of javascript and ajax and css. okay. straight to the code. I am adding dynamic textfields to the document. There are 4 textfields in total. One of them has 'Quantity', the other has "Item Decsription", the next has … Web Development javascript | |
Dev't Tool: Visual C# 2003 and Javascript System Type: Web Application One requirement of the system is to dynamically create a table on client-side (Javascripting using createElement method.) The table has textboxes inside each cell. a few sample code: [code] for (i = 0; i < 4; i ++) // … Web Development javascript | |
I have my WAMP server on Vista but need it too on KUBUNTU so as I can use it even under linux. Can Anyone help me how to do it. I accept even how to separately install Apache, PHP and MYSQL. Pse help | |
ok so here is the code, this is for the search option on my site. However it only ever outputs: the else option. Whats wrong? [code=php]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title> Search Results </title> </head> <body> <?php include("header.php"); ?> <center> <div class=indexboxlarge2> <?php SESSION_start(); include("dbcon.php"); $searchresult = $_POST['result']; dbcon(); … ![]() | |
I'm very (no, VERY) new to ASP.NET and I have a server-side app that was written for me by a contractor with whom I have no contact now. Thing is, this app worked perfectly on a Canadian based server but has now been switched to UK. Fooolishly, the Canadian server … Web Development asp.net client-server | |
hello Everyone I was wondering if anyone can help me with a little php and mysql problem occurred to the CMS i am using. I have a function which is get data from a table after updating the table, the code is as follow: [code=php]public function getHtmlWrapper($id) { //get entire … ![]() | |
I cannot really explain what you call them. However, I will give an example. I was on this site and their URLs were: index.php?page=page-name They said you can achieve this using PHP scripts. How, exactly? Web Development php | |
Ok so heres the code . The error is this: $row[title] $row[content] $row[date] $row[title] $row[content] $row[date] $row[title] $row[content] $row[date] i mean thats all i get! and the code is this [CODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title> Blog </title> </head> <body> <?php $username = $_SESSION['username']; include("header.php"); include("dbcon.php"); dbcon(); $result = … | |
I have a web application using vb.net. What I need to do is get my datagrid to update and delete rows in a datagrid. I have a grid view that calls a web service, passing in a query string. The problem I am having is, I am not sure what … Web Development asp.net dataset vb.net web-server | |
Dynamically name array <input> checkbox ? Is it possible to generate dynamic array names for input checkbox forms ? I'm using this code to generate a form of text fields and checkboxs [code] <?php require_once("includes/connection.php"); require_once("includes/functions.php"); include("includes/header.php"); ?> <?php $query = "SELECT key_id, words FROM keywords"; $result = mysql_query($query); confirm_query($result); … Web Development php ![]() | |
any information regarding ruby on rails with php.iam working on oscommerce now.i want to learn ROR | |
Hello, Im new in ASP.NET and have been reading about state management and have a couple of questions, it be great if someone could help me understand. Im having trouble understanding the use of ViewState. It is only limited to the current page, what kind of typical/common use would it … | |
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() what to do ? Web Development php | |
hiii, plz help me in finding the history of online examinations.i browsed many sites but couldnt get the apt information like, 1)whats the 1st found web based tool for online examinations, 2)drawbacks of online examinations, 3)whats the reason behind the urge for web based online examinations. plzzz its urgent,thanks a … Web Development php ![]() | |
am using custom pagination using the following [code]Case "Prev" If GridView1.PageIndex > 0 Then GridView1.PageIndex = Int32.Parse(GridView1.PageCount) - 1 End If Case "Next" If GridView1.PageIndex < (GridView1.PageCount - 1) Then GridView1.PageIndex = Int32.Parse(GridView1.PageCount) + 1 End If[/code] for first and last its wrking properly but in using this two pagination … | |
hi all.... I'm trying mailing concept. After entering FROM address, TO address ,subject and body of the message and while clicking the send button am getting [COLOR="Green"] Mailbox unavailable. The server response was: 5.7.1 Unable to relay for "as@a.com" [/COLOR] what wrong i would have made? Plz guide me | |
hi, i am using php version 4.1.3 and i was using php constants like _FILE_ and _LINE_ in echo statements but when i run these statements in browser they give error that constants are undefined but other php constants like one for php version and operating system work quite well.. … Web Development operating-system php | |
Hi Please any one help me with a secure php image upload script... With out change the destination folder's chmod to 0777..... Please help me....... I am using php apache server... thx in advance | |
[CODE]$result = mysql_query($sql_query,$conn) or die('Invalid query: ' . mysql_error()); $tip = $details['TotalHouseholds']; $perc = 21.33% $sumone= $tip*$perc;[/CODE]could anyone tell me if this is remotley correct i have tryed it in a browser but i get the page displayed normally with a nice line of code telling me [QUOTE]Warning: Division by … Web Development php | |
I have a simple problem and I do not want to write 24 if statements. I am creating a URL string which requires precise formatting to work. This URL is getting created on the fly based on variables ($Layer1.','.$Layer2.','.$Layer3) I pass in to create the URL string. The URL string … Web Development php | |
The code is this: [code=php]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title> Search Results </title> </head> <body> <?php include("header.php"); ?> <center> <div class=indexboxlarge2> <?php SESSION_start(); include("dbcon.php"); $searchresult = $_POST['result']; dbcon(); $query = mysql_query("SELECT * FROM user_info WHERE 1_name LIKE '%$searchresult%' OR WHERE 2_name LIKE '%$searchresult%'") or die(mysql_error()); $total = mysql_num_array($query); if … | |
Heres my Code Goodluck lol any how the if statement works but always coming up true not false dont understand why [CODE]$_POST = valid_post($_POST); $i=1; $i4=1; $result4 = mysql_query("DESCRIBE ".$table2.""); while($row4 = mysql_fetch_array($result4)) { $test4 = mysql_num_rows(mysql_query("DESCRIBE ".$table2."")); if($row4["Field"] == "id") { print''; } elseif($row4["Field"] != "id" AND $i4 != … Web Development php ![]() | |
I had a php server and a directory named "images" in it. I need to change the folder's permission to 0777 via php script.... I had the code like this [CODE]chmod('/images',0777);[/CODE] But It will give the following results... [CODE]Warning: chmod() [function.chmod]: No such file or directory in /home/keralaba/public_html/bkp3/new.php on line … Web Development php | |
Hi, I recently started reading up on Ruby on Rails and decided to install it so I could give it a go. I found some inconsistencies and problems that I hope I can get some help with. First, when creating a project I used the ruby script/generate command and it … Web Development ruby | |
i am trying to retreive the contents of the table in my databse into a html form using servlets in tomcat. here isthe code: [code] import java.io.*; import java.lang.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class ServletusingData extends HttpServlet{ public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{ response.setContentType("text/html"); … | |
i have developed a c#/.NET web app using VS 2005 on my local machine. it works fine, and i have copied the files over to the web server (running ASP.NET 2), and it works great with JIT compiling on the server. before moving to production, i would like to compile … Web Development asp.net cms web-server | |
Hi there I'm a newbie to asp.net and trying to learning it doing small forum application. In the application I've a page which lists the available threads in a given topic and I used a gridview. In the gridview the thread's title is hyperlinked and when clicked it will redirect … Web Development asp.net web-browser web-server | |
Ive created a database driven web app in visual studio that works great in visual studio. Ive stored the connection string in my web config file with the following code: localhost/sqlexpress ect ect.... Works great!!! Now how do i adjust the connection string to work on a remote server. I … Web Development asp.net visual-studio web-server | |
hello I am trying to make a script that can upload multiple files (currently I set it to five). I made the form look like this: [CODE]$i = 1; while ($i <= 5) { $form .= "here goes the content of the form"; $i = $i + 1; }[/CODE] I … ![]() | |
Hi, I am using a Flash Component provided in asfusion.com to upload files in Coldfusion. I used in my flash forms exactly the same way as it is defined in the focumentation as; <cfformitem type="html"> <cf_flashUpload label="Upload Picture: " name="logo" fileTypes="*.jpg;*.png;*.gif" fileDescription="Image files" actionFile="upload.cfm"> <cf_flashUploadInput buttonStyle="corner-radius: 0;" inputStyle="fontWeight:bold" inputWidth="180" uploadButton="true" … Web Development coldfusion flash | |
Hi I had a community web site and I need to show "Recent Visitors" under a profile ( just like in Orkut ) I do it successfully and that will show in the page like this ... Name1, Name2 , Name3 .. But I need to make link in each … Web Development php | |
![]() | [COLOR=black]Hi, i am trying to use new method in asp.net for the database connectivity. --> using gridview[/COLOR] [COLOR=black]yet i am facing problem here in the "adding new" area.[/COLOR] [COLOR=black][/COLOR] [COLOR=black]here goes my code:[/COLOR] [COLOR=black][/COLOR] [CODE] <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … |
Hello friends As you know, the way to manage the code that you write, is very importnant. By manage, I mean that you have a good way to know where to control the core of the project, the objects' act, and managing separating view from object core. As I've reasearched, … Web Development php | |
I am unable to see the grid or the data. Here is my code from my .aspx file. I don't know what I am doing wrong: [code=asp.net]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="resumesearch.aspx.vb" Inherits="_Default" %> <!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 runat="server"> <title>Resume Search</title> <style type="text/css"> .style1 … Web Development asp.net html-css open-source pay-per-click web-server | |
i have crated web page usng netbeans .. in my php code i have fetch the data in array now i want that data to be pass that data in js file which in that project please help me... Web Development php | |
Hi everybody, I am unable to get the index of the row which is selected by the user through checking a checkbox. After getting the index I want to delete the row directly from the datagrid on that particular index. Please help me out.Its urgent... cheers, sneha Web Development asp.net |
The End.