52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for deeptakshd

i am tring to update but their neither any error displayed nor the data is update in the table plz help its urgent......i m using updateparameters.add ......thank u [code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using …

Web Development asp.net web-server
Member Avatar for smariano77
0
155
Member Avatar for ayesha789

Hi, this is my query [CODE]$result = mysql_query("SELECT SUM(`qty`) FROM sims_ac WHERE region ='North'");[/CODE] How I can show this [CODE]$result[0][/CODE] without using While loop or any other loop.

Web Development mysql php sql
Member Avatar for scaiferw
0
19K
Member Avatar for frankiedeguello

Hi everybody :) I have a very stupid answer but I cannot solve it! Connect to the mysql db, I get the records that are URLs, into the php loop I call an ajax function that reads the title tag address of the URL ajax code [CODE] function getTitle(str1,str2) { …

Web Development php
Member Avatar for diafol
0
996
Member Avatar for scorpio222

hi everyone, i am working on a project, where when a user registers, he would be provided with a link which he can give to anyone and ask them to register. once this new user, uses that link to register, he will be automatically assigned certain points, that was set …

Web Development perl php
Member Avatar for scorpio222
0
87
Member Avatar for urubullino

I need to run a pdf in cfm page. It needs to run the standard program (acrobat reader ,...) and then, open my PDF file. How can i do this? Thanks

Web Development coldfusion pdf
Member Avatar for arrgh
0
101
Member Avatar for knight fyre

I'm new to Javascript but not new to programming. I find JS more time consuming because I have to manually search line by line for a single error. In C++ or C the compiler tells me the exact line number of the error or at least what the error is …

Web Development javascript
Member Avatar for helioptra
0
274
Member Avatar for dan1992

1 guy's way i can not execute like this ? [CODE] <?php echo exec('SV/546463748.png'); $url="member.php"; $timeout_minutes = 0; $timeout_seconds = 1; sleep($timeout_seconds + $timeout_minutes * 60); header ('Location: '.$url); exit; ?>[/CODE] but if is like this the script worcks [CODE] <?php echo exec('546463748.png'); $url="member.php"; $timeout_minutes = 0; $timeout_seconds = 1; …

Web Development php
Member Avatar for dan1992
0
81
Member Avatar for deni_bg

Hello everybody, I want to write php script with classes, but I haven't enought knowledges. I want to delete multiple rows from mysql with chekbox, but I am wrong. I will be very happy if somebody responds me. This is my code function showNews(&$sHtml) { $sHtml.='<input type="submit" name="btnDel" value="delete"/>'; $aNews …

Web Development mysql php
Member Avatar for deni_bg
0
149
Member Avatar for grafiksinc

I am usng VS 2010 and I have a Website I am building using C#. My goal is when a user selects a value from the dropdownlist it is recorded in the database. I have been able to bind the DDL to a table called "TableA" to list the values …

Web Development asp.net c#
Member Avatar for stardust16
0
747
Member Avatar for whiteyoh

Hi All, the following is a script to search using LIKE. i know data exists, but its simply not playing. any help on syntax corrections would be appreciated. regards paul [code] <?php if (isset($_POST['search'])){ echo $column = $_POST['column']; echo "<br>"; echo $param1 = $_POST['param1']; $srch = "%".$param1."%"; echo $SQL = …

Web Development mysql php
Member Avatar for tomford
0
105
Member Avatar for Manuz

Hey, I have successfully made a transaction through my website with Pay Pal Direct Method and also done Partial Refund.Now here is my Question. I need to do a Partial Refund again for the same transaction. When i tried, it shows error message as [QUOTE] [ACK] => Failure [L_ERRORCODE0] => …

Web Development php
Member Avatar for Manuz
0
108
Member Avatar for nizuya

In an html form, I want a certain field to be invisible when "no" is checked and visible when "yes" is checked. This is my code: html: [code] <form action="pageName.html" method="post" name="formName"> Question? <input name="radioBool" type="radio" value="1" onchange="dispField('textInput');" />yes <input name="radioBool" type="radio" value="0" onchange="dispField('textInput');" />no <br /> <span id="textInput" style="display:none"> …

Member Avatar for nizuya
0
326
Member Avatar for kirtan_thakkar

This is a MySQL PHP question... how to count no of fields in a perticular database and in a perticular table?? I have three columns in a table :id , name , info I have to print the unique persons.. how could I?? How to code it in php?? Can …

Web Development mysql php
Member Avatar for kirtan_thakkar
0
103
Member Avatar for kirtan_thakkar

How to print more than one results in a page?? I want to print 10 results per page and show next button if it have more than 10 results.. In the next button it will show another 10 results.. How to code it..?? And please explain the code if you …

Web Development mysql php
Member Avatar for rajarajan2017
0
122
Member Avatar for dalip_007

Hi can anyone please let me know , how to check if table is empty or not? I am using php5 and mysql. Thanks in advance. :-)

Web Development php
Member Avatar for ppetree
0
8K
Member Avatar for ben.matthews18

Ok here's the scenario; I have an upload system which works and uploads image files to a folder called 'upload'. I also have a homepage. I want to be able to display the latest file that has been uploaded on the homepage. How can I achieve this? Thanks :)

Web Development image php
Member Avatar for pritaeas
0
150
Member Avatar for knkk

I have 2 sites, example.co.in and example.com, hosted on 2 different servers (I have all access details for both). When someone accesses example.co.in/a/b.php?c=d, I want it to show the HTML of example.com/a/b.php?c=d This site has to be search-engine-friendly, so I do not want to use an iframe, or even AJAX, …

Web Development apache php
Member Avatar for knkk
0
106
Member Avatar for jyotiu

Hi all i am using a curl script to go to a link and get its content for further manipulation. following is the link and curl script: [CODE] <?php $url = 'http://criminaljustice.state.ny.us/cgi/internet/nsor/fortecgi?serviceName=WebNSOR&amp;templateName=detail.htm&amp;requestingHandler=WebNSORDetailHandler&amp;ID=368343543'; //curl script to get content of given url $ch = curl_init(); // set the target url curl_setopt($ch, CURLOPT_URL,$url); …

Web Development php
Member Avatar for sohail_mubeen
0
2K
Member Avatar for BTW8892

Alrite so i am trying insert new values into my table, and when i try to, i get the following error [code]#1062 - Duplicate entry 'Hit Em High' for key 'team_home' [/code] Any idea how to fix this? I've heard it could be a primary key error, but im not …

Web Development php
Member Avatar for rajarajan2017
0
66
Member Avatar for anony

function gethotproperty($hot){ $gethot = "select p.reference_id, p.area, p.area_unit, p.transaction_type,p.property_type,p.property_name,p.address1,p.address2,p.city,p.locality,p.pincode,p.area_in_sqft,p.total_price,p.negotiable,". "p.rate_per_sqft,p.num_bedrooms,p.floor_number,p.intro_image_loc,p.amenities_detail, p.specification_detail, p.location_detail from " . DBConf::getDatabaseSchema() . "property p where p.hot = ".$hot; $result = mysql_query($gethot, $this->connection); $property = new Property(); while($row = mysql_fetch_array($result)){ $property->referenceId = $row['reference_id']; $property->transactionType = $row['transaction_type']; $property->propertyType = $row['property_type']; $property->propertyName = $row['property_name']; $property->address1 = $row['address1']; $property->address2 …

Web Development mysql php
Member Avatar for rajarajan2017
0
184
Member Avatar for Roshan_Jain

Hi, I call a JavaScript Function and now i want to call servlet from that function with parameters plz help me. Thanks in advance.

Web Development javascript
Member Avatar for chaituu
0
89
Member Avatar for ypdev

Hi, I am using SqlDataSource in order to bind data to dropdownlist and looking for a simple way to change text color based on specific value from database. Any idea if I can manipulate the SqlDataSource to do that? Is this something that I have to call from code-behind? This …

Web Development asp.net
Member Avatar for ypdev
0
148
Member Avatar for abhisriv
Member Avatar for mahesh2011
0
94
Member Avatar for canterorist

hi! I have problem with my jquery validation. When I successfully submitted my form, the value i enter is still there in the <input:text>. It supposed to be refresh and the form is emptied. here's my jquery code [CODE]// JavaScript Document $(document).ready(function(){ $("#myformcom").submit(function(){ var str=$(this).serialize(); //var result; $.ajax({ type: "POST", …

Web Development javascript javascript-jquery
Member Avatar for canterorist
0
97
Member Avatar for thomasbe

Hi everybody I need a help. codes below are written by someone else. I have a mysql database, html form to login to this database: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>1</title> </head> <body> <h4>Please provide correct username and password:</h4> <form enctype="multipart/form-data" action="login.php" method="post"> Login: <input …

Web Development mysql php
Member Avatar for thomasbe
0
119
Member Avatar for Tenaciousmug

Ok, I have all my functions working along with the real_escape_string(). Now I just need to find out WHY the password check isn't working properly. Whenever I try to login with the username: Dyl and the password it was signed up with, it says "Dyl is an existing username, but …

Web Development php
Member Avatar for ppetree
0
138
Member Avatar for baudday

Attached is a picture of the database layout I'm talking about. I would like to list out all the shirts in the database along with which categories they are in, and which textures and colors they come in. These are all many to many relationships, and hence the linking tables. …

Web Development php
Member Avatar for ppetree
0
128
Member Avatar for ppetree

I want to do an old C/C++ trick where I can conditionally define a function. for instance I want to conditionally output a string (debugging) so I can have some outputstring() interspersed in my code. Instead of adding/removing these during development, I want to turn them on/off. Is there a …

Web Development php
Member Avatar for ppetree
0
136
Member Avatar for Uzumaki52

Hi , I have text box and beside to it I have a linkbutton showing the link that is present in the text box. I am getting the URL from the website into the text from database.I need to open the link button in a new browser window. aspx page …

Web Development asp.net
Member Avatar for kvprajapati
0
226
Member Avatar for fankoff

Hi guys, I`m new to web-developing. Curruntly I`m battling with JSP and Databases. I `m using Eclipse as developing environment and I started receiving following error, which doesn`t tell me anythnig: HTTP Status 500 - type Exception report description The server encountered an internal error () that prevented it from …

Web Development apache java java-jsp web-server
Member Avatar for stephen84s
0
174
Member Avatar for hashtable

Hi all, firstly I'm new here and my English is not perfect but I think it is not important :) I have web page where user can upload file. He can select which file to upload with standard HTML input of type file. I want to add this feature: when …

Member Avatar for vani.golakoti
0
583
Member Avatar for mobo57

Brain going mushy, please help! My code: [CODE]$reguser = $_COOKIE['ID_my_site']; function curPageName() { return substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); } $currentpage = curPageName(); echo "$currentpage";[/CODE] Connect to the db then: [CODE]$query = ("SELECT rstextresume FROM scuserspro WHERE profilemng = '$currentpage'")or die(mysql_error()); $result = mysql_query($query); if($result == false) { user_error("Query failed: " . mysql_error() . …

Web Development php
Member Avatar for mobo57
0
73
Member Avatar for nertos

Hello:) , [CODE] $.each(myOptions, function(val, text) { $('#select').append($('<option></option>').val(val).html(text)); }); [/CODE] how can I add to option links for example to http://google.pl/search?q={text} thx 4 help;)

Web Development javascript javascript-jquery
Member Avatar for shubhamjain1
0
118
Member Avatar for Erco21

Hi! I have txt file containing something like: User1 123434 User2 435345 User3 234234 User3 234924 Now, i need to delete one user from that txt file, along with number that is after the user so lets say that i entered in delete form: User1 , then i would like …

Web Development php
Member Avatar for chrishea
0
108
Member Avatar for Trekker182

Hello everyone, I'm in the process of learning php in a class and had a quick question for one of my assignments. I am uploading a file to a server which the user can name the directory. However, after they upload the file, I have to give them the option …

Web Development php session
Member Avatar for chrishea
0
92
Member Avatar for pinkiguana

I have a table of questions for a survey, each one with its identifying number. I have a form that populates with all the questions (this is not an exact number, as more can be added) but I need to store the results into one field, using arrays, because the …

Web Development asp
Member Avatar for pinkiguana
0
147
Member Avatar for prem2

Hi Daniweb team, I am developing the sample servlet program.This is my sample program. Servlet Code: [code] package org; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld extends HttpServlet{ public void doGet(HttpServletRequest req,HttpServletResponse rsp)throws ServletException,IOException{ PrintWriter out=rsp.getWriter(); String type=req.getParameter("type"); if(type==null){ out.print("success"); } else{ out.println("Not a Null value"); } } …

Web Development apache java-jsp
Member Avatar for stephen84s
0
99
Member Avatar for wesleysoccer

Warning: Cannot modify header information - headers already sent by (output started at /home/wesleysoccer/webapps/wp/wp-content/themes/infocus/functions.php:1) in /home/wesleysoccer/webapps/wp/wp-login.php on line 302 Warning: Cannot modify header information - headers already sent by (output started at /home/wesleysoccer/webapps/wp/wp-content/themes/infocus/functions.php:1) in /home/wesleysoccer/webapps/wp/wp-login.php on line 314 This is what I'm getting in my wordpress login screen...can't login to …

Member Avatar for Manuz
0
208
Member Avatar for therest

Hi! I try to write my thumbnail creator script, no trouble with image load, resize cut, watermark, etc, but memory handling! File is submitted by simple file form. [CODE]function makeLog($logthis) // this is only for tracking mem usage { $handler=fopen("log.txt","a"); fwrite($handler,$logthis . " \r\n"); fclose($handler); } function handleImgUpload() { $fTName=$_FILES["Filedata"]["tmp_name"]; …

Web Development apache php
Member Avatar for therest
0
229
Member Avatar for ajwei810192

I have an XML here as follows, [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <countries> <country> <text>Norway</text> </country> <country> <text>Sweden</text> </country> <country> <text>France</text> </country> <country> <text>Italy</text> </country> </countries> [/CODE] And, I am trying to sort it without using XSLT, and I am not using this to edit the XML file. I only would …

Web Development asp.net vb.net xml
Member Avatar for ajwei810192
0
1K
Member Avatar for ayesha789

Hi this is my Form , when User fill form and by mistake he click on back button. I want when he open it next time all values be there, so he cant type again [CODE]<form name="form1" method="post" action="checklogin.php"> <input name="myusername" type="text" value="Enter Your Username"onfocus="this.value=''" /> <input name="mypassword" type="password" id="mypassword" …

Web Development php
Member Avatar for F-3000
0
150
Member Avatar for flynismo

Hi everyone, I am having a lot of trouble with this... I am using PHP/MySQL. What I have is a dating website. One of the tables in the database is called "users" which has many fields in it, storing the usual info (id, name, email, etc). What I want to …

Web Development php
Member Avatar for flynismo
0
118
Member Avatar for Darkwolf33984

I am working on a Joomla Website and Have Installed Jomsocial however I keep getting some syntax errors. The files and folders are exactly where they are supposed to be I believe its just the code and I cant see it. below is where my errors are said to be... …

Web Development php
Member Avatar for EvolutionFallen
0
82
Member Avatar for chr.s

Hi First of all, I apologise if I'm not posting in the correct place - I'll gladly ask elsewhere if deemed necessary. I've got a reasonable amount of experience with HTML and CSS and so far have only ever built websites that I know I'll be maintaining. So although updates …

Web Development cms html-css php web-design
Member Avatar for F-3000
0
145
Member Avatar for maria_mj

I am trying to open other page and pass data for selected row in gridview to be displayed in that page when user click the select button. i want to display the data in text box. so that, user can make editing from that page. i dont know how to …

Web Development asp.net
Member Avatar for rohand
0
694
Member Avatar for zia zia

Hi Guys... I'm making a form with the ability to delete users. But don't know how to do it... My form structure.. users.php ---- Lists a user with options like edit user / delete user. (His details are displayed from database on my html page in a table.) For delete …

Web Development mysql php
Member Avatar for therest
0
1K
Member Avatar for muralibobby2015

hello.... i am fully confussing with this problem. i have to display sorting order from my table. i have table like this. [CODE]auto_id,firstname,passportno(int).[/CODE] now i am displaying [CODE]order by passportno[/CODE] but here i saw very funny issue. i have passport nos like this.....[CODE]077,100,099,088,101,1000.[/CODE] now after executing the query [CODE]"SELECT * …

Web Development php
Member Avatar for EvolutionFallen
0
95
Member Avatar for ebabes

I am creating an ASP.NET web page using Visual Web Developer and using C# as my script. Can anybody give me a code in C# that will load another aspx web page? The situation is like this: a page is loaded automatically when a user pressed a button and satisfied …

Web Development asp asp.net
Member Avatar for kvprajapati
0
136
Member Avatar for reviloera

how do i print a specific area of a web page using php

Web Development php
Member Avatar for chrishea
0
71
Member Avatar for manojd

fellow developers...i am new to web development...I am developing a simple web application using Oracle for Weblogic Workshop with Weblogic 10Gr3 server. However my deployment server is weblogic 7.1. When i deploy and run the app, i get the following error Parsing of JSP File '/index.jsp' failed /index.jsp(6): class 'xxx.xxx.xxxx' …

Web Development java-jsp oracle session web-server
Member Avatar for Thirusha
0
309

The End.