52,566 Archived Topics
Remove Filter ![]() | |
Hello, This query works when entered directly into MySQL but when used in a php page it fails and generates the following error: [QUOTE] Column count doesn't match value count at row 3 [/QUOTE] Also, the date values are not accepted in either the php page or mysql terminal, they … | |
Please can someone help, I'm new to PHP and I need to know how to display the data from mysql database using PHP in a format like so ProductA(image) - ProductB(image) - ProductC(image) ProdAName - ProdBName - ProdCName ProdAPrice - ProdBPrice - ProdCPrice I've managed to get the Product images … | |
I am needing help. I want to create files with variable file names - I am creating a membership website and want each member to be able to have a blog username.htm The problem is that when I try to create this using the fopen function it is not recognizing … Web Development php | |
I am trying to make an online meta tag analyzer using php..The system should take a url as input ,analyze the url and print out all the meta tags used in the website....can i have the support some where on the net? Web Development php | |
Hi. I want to know how it is possible to export data through php to an already available template excel and word, and then how to read from those template? regards, Web Development php | |
Hi, I got two files a php file to process and record data to a text file Now when a visitor visits a page on my website.... it records some information about them and it is sent to process.php and then process.php then records the data in a .txt file. … Web Development file-stream php | |
could anyone help me how to use a date function for reservation on ASP.NET.... thanx | |
hi, my front end is flex and back end is C# in .NET. How can i get the value from flex(eg: name) to a variable in .NET ? | |
I am having trouble running some test code using SOAP::Lite for perl. The code (listed below) simply hits a prime number generator that is freely available that I found through xmethods.net. It should be relatively simple test code, the only complication being the internal proxy server, but that seems to … | |
I'm supposed to switch the themes of the "headline" and the "text", but I can't seem to get it. Here's what I have so far...anyone have any ideas why it doesn't work? Thanks :) [code=javascript] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> … Web Development html-css javascript xml | |
Hi all, I need a help from u... Please help me... Is it possible to have more than 1 servlet for an J2EE application... I have 2 JSP's (index & display page) 1 Servlet (myServlet) - Db Connectivity(insertion & selection) In index.jsp, i have 2 fields and a button, while … Web Development java-jsp | |
Wondering if anybody could help with what seems a very simple problem but is taxing for this noob. I set myself the task of creating a button which, when pressed, switches the background color randomly. It seems to work well enough but the random number it works from only generates … Web Development javascript xml | |
Hai, I want to print only the content of datagrid from php web page. Anyone help me from this problem. Please send me the code to resolve it. thanks, Web Development php | |
I have a file with a table with movie titles. When I wish to edit I click on a link which is represented in this following code: [code=PHP]<a href="edit.php?autoid='.$row['autoid'].'"> edit</a> [/code] This redirects me to an edit file where I can change the name, year and category. After updating it … Web Development php | |
Hello there, I am working on an update script that can be broken down into 3 parts. 1. The form (uses id to populate fields) 2. The UPDATE 3. The confirmation. Form: [CODE] <?php require_once("includes/connection.php"); $pid = $_POST['pid']; $delete = $_POST['Delete']; $update = $_POST['Update']; if(isset($update)) { $sql = "SELECT * … Web Development php | |
Please dont laugh at me for this simple doubt, bUT i have to ask . Please help me any one i am creating a html page when i minimize the page the contect in the pages are shuffled .ie normally if we minimize the page to a fixed limit . … | |
anybody known well in php , plz help me .i need multichatting script using php and mysql Web Development php | |
I'm working a basic layout for a database application, and I'm having some issues with giving a text input focus in Internet Explorer versions 6 and 7. If you'll look at the webpage I'm currently working on ([URL="http://persuasionarmy.org/ADBi/"]http://persuasionarmy.org/ADBi/[/URL]) using IE 6 or 7, and you press Ctrl+Alt+A or Ctrl+Alt+S, you'll … Web Development javascript | |
hello guys,i'm new to this forum.i am developing a website for my final year project.it's a dummy project.i need a free payment gateway or something like that.So that the user can pay via credit card.it is purely an academic project,so i don't want to spend money. i need your suggestion.how … Web Development java-jsp | |
Hi Everyone, I am working on a shopping cart. In which i am sending mail which product customer want to shop. But i am ubable to fetch more than one product with different name . Because for this i need a loop. And i am not understanding how i can … Web Development php | |
Hi, I am creating a website in php,i want my login page with only username and password,i don't want to display any default bars on the top of the form like menu bar,tool bar etc..I don't know how to remove this in php,please help me out with correct coding Regards, … Web Development php | |
can someone help me with this error? im trying to make a dynamic rss feed using php.. am i on the right track?? ERROR: Parse error: syntax error, unexpected T_SL in C:\xampp\htdocs\Gacer\rss.php on line 27 [code] <?php $output = '<rss version="2.0"> <channel>'; $dbhost = '127.0.0.1'; $dbuser = 'root'; $dbpass = … | |
Hi, I am getting the following error when I load the page shown below: [code]Object variable or With block variable not set. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated … Web Development asp asp.net first-post html-css microsoft open-source vbscript visual-basic visual-studio web-server | |
Hi, Can get my code working fully. its just works partially. Its a IF else statement, the value to the variable is to be read from a cell with intergers from 0 to 9, it works ok for value 4 = Open, but rest it not working. [ICODE] int MST … Web Development asp.net | |
Hello All, I know some of ASP.net but now I am finally getting ready to set up a web page. Here is my error message: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below … | |
Hi, I have a email piping code show below. It works fine, except that when i print the $message, it also shows me some headers. [B]How do i strip the headers from the message itself?[/B] [B]email_piping.php file[/B] [code] #!/usr/bin/php -q <?php //header('Content-Type: text/html; charset=utf-8'); header("Expires: Mon, 26 Jul 1997 05:00:00 … | |
Dear Friends., Am new to the java world.. I am creating a application where i have to generate a html page from a Dynamic jsp page.. I have tried my best and i was able to create a static html page from a JSP.. But how to fill the data … Web Development file-stream file-system html-css java-jsp | |
Hi, Does anyone have a simple script that i could put on my webpages that when a user clicks on a link to download a file it displays something like (File Downloaded XX times) on the webpage. I found many scripts with admin interface etc, but i just want it … Web Development php user-interface | |
I mostly work with PHP. I am not really a JavaScript guy at all, but in this day and age we all end up working with it a bit. I'm trying to do something that seems like it should be fairly simple. Unfortunately, I am not having any success getting … Web Development javascript | |
I've been working at this and I just can't get this. Can anyone please tell me why this just will not work? [CODE=php] function procNewsStory() { global $session, $database; $admin = $session->username; $date = time(); $title=$_POST['title']; $story=$_POST['story']; $story_id = time(); $q = "INSERT INTO " .TBL_SITE_NEWS. " VALUES ('$admin', '$time', … | |
Im getting this error: Parse error: syntax error, unexpected $end in /hsphere/local/home/blah/blahblah.com/home/phonenumber.php on line 188. Problem is line 188 is </html> only. Also, I'm having problem making this code to work, it doesnt display the tables that I want [code=php] <?php $selection = $_POST['person']; $conn = mysql_connect("mrrrr.com","yyyyy","yyfffsd"); mysql_select_db("hhhh_ggg", $conn); // … Web Development php | |
Hey! I'm using an ajax script to load external html pages into a div tag. The script works just fine, however I would like to use it in a jump menu. [CODE]<select name="Jumpmenu" > <option value="1" onclick="ajaxpage('page1.php', 'DivId');" >Option 1</option> <option value="2" onclick="ajaxpage('page2.php', 'DivId');" >Option 2</option> </select>[/CODE] The script works … Web Development javascript | |
Hey, I have the following query which I would like to insert into another table which I guess would demand some kind of loop or such. The query: [CODE]$colname_GetName = "-1"; if (isset($_SESSION['MM_Username'])) { $colname_Name = $_SESSION['MM_Username']; } mysql_select_db("db_name"); $query_Recordset = sprintf("SELECT * FROM Table WHERE UserName = %s", GetSQLValueString($colname_GetName, … | |
I have over 50 sites on a host that provides Cpanel for each site. Through the Cpanel, I can do manual backups of the public_html directory, was well as the MySQL databases for each site, and have had those backups mailed to me quite successfully, but to do each site … | |
Hi, Everybody! I have one problem, I want to use same sql query in MySql and SqlServer. In case of Sql Server generally you have to write query in this way- select * from databasename.dbo.tablename but in case of MySql you have to write query in this way- select * … | |
i am trying to validate a form so that all required fields are filled before submission. If they are not filled then an error message should appear.. But I keep getting this error: "Parse error: parse error, unexpected '{' in C:\Program Files\wamp\www\template1\updateReceipt.php on line 31 " Here is the code … Web Development php | |
I'm working on updating a website using as much AJAX as possible to give it a very streamlined feel. I've been able to do it for the most part, but have hit a snag. Let me first explain what I have working. I have tabbed navigation at the top of … Web Development html-css javascript | |
I was thinking about making an avatar system (like Gaia Online; I've tried befor but it's hard). Can anybody help me with one? I'm gonna make an open source site like Gaia... I can't do it by myself, though. Web Development open-source php | |
Hi, I wish to add the following to my web.config file: [code] <appSettings> <add key="networkDrive" value="C:\test"/> </appSettings> [/code] But everytime I add it i get the following error: [code] Sections must only appear once per config file [/code] I looked in the file to see if it appeared more than … Web Development asp.net assembly file-system vbscript visual-studio web-design xml | |
Hi Friends, I just want to output the xml using php and mysql. Like If i have data in jan month and feb. I wanted to display that in xml sheet. How to go about this please help me. Regards Raghu | |
hi all, i have a problem with the array search in php.I have an array like ("apple","orange","mango") and i have a variable as $var="apple 1". Now i want to search this $var is exist in the above array and if so want to retreive that element from the array? that … | |
I included a file in one of my sites via an iframe (simplest solution and by FAR not permanent), just to get a feel for the way it might look on the site However, after adding the iframe to the site, i have no other data, the page is saved … | |
Hi, Im creating a website that will be used to monitor servers, the user can add and remove servers and the servers list will be constantly chaning. I need to create a generic page to display the monitoring results that will adapt depending on which server the user selects. The … Web Development asp.net | |
Hi, i have been trying to use the javascript confirmation box to delete files from a Gridview, however when ever i click "cancel" on the box it still deletes the file! i really need some help, heres the code i have: [code=c#] <asp:TemplateField HeaderText="Delete File"> <ItemTemplate> <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" … Web Development asp asp.net javascript | |
This is a problem I don't really understand. I think it maybe a time out issue. I have a search box accessing csv files. if the browser is open for 20 minutes and I run a search the browser crashes. if I stop a search in the middle of resolving … | |
hi a have a gridview with datafield column which is bound to a datetime column. i want the grid column to show the date when the day is first, like this: 24/2/2009 i tried the following format: [CODE=asp]DataFormatString="{0:dd/MM/YYYY}"[/CODE] but the grid is still shows the date when the month is … Web Development asp.net | |
Hi all i am a newbie and try different things everyday and always come here when i am stuck with something. I want to write a script using curl and php that goes to this link :[url]http://tools.cisco.com/WWChannels/LOCATR/openBasicSearch.do[/url] and then goes through each page for each country capturing a list of … Web Development php | |
Hi to all I'm new in the forum and I have the following question: can I share a javascript object between pages? I'll explain my self, I have a page that contains two frames: Currently I can call methods from frames, I was wandering if can retreive the all object, … Web Development javascript | |
I'm trying to figure out why some of the ajax tabs are not working. The first two tabs work, the third through 5th tabs do not work when you click on them. The js file is tab.js and contains this: [CODE]// JavaScript Document function tab(){ var labels=document.getElementById("tab_product").getElementsByTagName("li"); var part_1=document.getElementById("part_1"); var … Web Development html-amp html-css javascript multimedia | |
Dear all, here is my AJAX file [code]<script language="javascript" type="text/javascript"> var xmlHttp; var temp; function showHint(str,IdDet,str2) { temp = IdDet; if (str.length==0) { document.getElementById("txtHint"+temp).innerHTML="€0"; return; } xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("Your browser does not support AJAX!"); return; } var url= "<?php echo $mosConfig_live_site."/administrator/components/com_virtuemart/html/basketAJAX.php";?>"; if(window.location.protocol == 'https:') url= str_replace("http://", "https://", … Web Development http-protocol javascript |
The End.