52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for uv4u

Hi , i am working on a web project , and there is a page where i have to display news. i am using repeater control , and it is working fine , but i want to add a "read more" link on long posts , i searched a lot …

Web Development asp.net
Member Avatar for geniusvishal
0
218
Member Avatar for arifkutty

class Jcart { public $config = array(); private $items = array(); private $names = array(); private $prices = array(); private $qtys = array(); private $urls = array(); private $subtotal = 0; private $itemCount = 0; can any body please explain what the meaning of above code. in the first line …

Web Development php
Member Avatar for arifkutty
0
164
Member Avatar for Maideen

hi anybody can tell How can session store in mssql database? How to do SQLServer Session Mode start? Pls help me Maideen

Web Development asp.net mssql session
Member Avatar for Maideen
0
173
Member Avatar for laura301019

I have a javascript table that displays contents from an XML file(that stores letter details), I have at each row a view button which I would like the user to be able to click and it will display the letter details for them. Is this possible? The javascript I have …

Web Development javascript
Member Avatar for GliderPilot
0
261
Member Avatar for kumar89hitesh

How to connect a web page with social media like facebook, twitter, LinkedIn etc.?

Web Development php social-media
Member Avatar for kumar89hitesh
0
111
Member Avatar for Moderns

I have created a slide show to load images, it should start the slide show after loading the images completely in the cache of the browser. The problem, the images are not loaded completely. When the slide show starts, I notice delay in viewing images. I would greatly appreciate your …

Web Development javascript
Member Avatar for theHop
0
226
Member Avatar for laura301019

Hi I have a web application that stores detail about letters in an XML file such as recipient, sender, title etc. On my HTML page for creating a letter I have given an option to include a URL which is then saved to the url element in the XML file. …

Web Development xml
Member Avatar for laura301019
0
154
Member Avatar for Muhammed Waseem

Hi guys I'm new to php. I've been given a task to write a code in php that would allow the user to input his initials and the program should out his/her initials as a star pattern. E.g if your initials T.T,it should be as follows... ***** ***** * * …

Web Development display php
Member Avatar for diafol
0
224
Member Avatar for shrikanthnk

Hi , Kindly help me to display tempnum when ahref is clicked. Looks like code marked as Italic requires needs to be updated?? <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".mylinktempnum").click(function(){ *alert($(this).attr('this.tempnum'));* }); }); </script > </head> <body> </body> </html> <?php <a class=\"mylinktempnum\" href=\"home.php?tempnum=$num\"></a> ?>

Web Development display javascript-jquery php
Member Avatar for shrikanthnk
0
189
Member Avatar for LeighWilkes

Hi I've created a website but some of my new pages are not ranking. I know a bit but I'm still learning. I created a number of pages but most of them are not ranking, I'll give you an example http://www.mrboilerrepairs.co.uk/ideal-Isar-repairs If I search google for 'ideal isar repairs' it's …

Web Development
Member Avatar for flashhtml5
0
137
Member Avatar for devianleong

Hi, I am developing a website and I want to use htaccess to change the url from `www.abc.com/user.php?c=devian` to www.abc.com/user/devian I use the code below to convert url and it's work but why all CSS and js not reading? `RewriteRule ^user/(.+)$ user.php?c=$1 [NC,L]` If I access `www.abc.com/user.php?c=devian` then I can …

Web Development html-css php
Member Avatar for devianleong
0
192
Member Avatar for Maideen

Hi I am developing the asp.net using Vb.net code. I need to notify my client if client's browser is disabled the cookies, when the launch the asp.page. Pls help me. Maideen

Web Development asp.net web-browser
Member Avatar for Maideen
0
249
Member Avatar for Alan_3

I have a requirement to make the height of a sidebar grow relative to the height of the main window. I currently have a sidebar that is sized to its content, but the main window is always much longer. Is it possible to (a) determine the height of the main …

Web Development javascript
Member Avatar for designershiv
0
4K
Member Avatar for soniasharma924

please tell me how to connect to a database which is on other machine on same network. i have two machines, client and server. server is asking questions and client is responding with one of four options. i have an answer table at server side, and i want it to …

Web Development php
Member Avatar for sktthemes
0
174
Member Avatar for segunoloye

Can somebody please help me with the integration of "securimage" captcha on my form. I have tried to follow the procedure but couldn't and the guy is not responding. Pls help. The link to the installation instruction is: http://www.phpcaptcha.org/documentation/quickstart-guide/ My form procesor php code is below: <!DOCTYPE html PUBLIC "-//W3C//DTD …

Web Development php
Member Avatar for segunoloye
0
665
Member Avatar for Karineh_1

Hi everyone, I am populating a dropdownlist based on the selection from another dorpdownlist. As long as there is no postback happening, I see the list getting populated correctly but after a postback, my dropdownlist is empty. I am setting the DataValueField property of the ddl that I populate at …

Web Development asp.net
Member Avatar for Karineh_1
0
319
Member Avatar for HunainHafeez

I'm trying to delete a row from gridview manually, i mean that i can use SHOWDELETEBUTTON=TRUE, that's easy but i want to delete it via button code, so far i have done this but couldn'y figure out that what to do more .aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> …

Web Development asp.net dataset open-source
Member Avatar for geniusvishal
0
601
Member Avatar for Nayyar_1

I have to consume webservice that have a method like this: SubmitUser(UserReg user, HttpPostedFileBase image) { // webservice side processing` } UserReg is a custom class on webservice side that have several properties like username,id,latitude,longitude etc.. I have to submit my data through this method and save webservice response after …

Member Avatar for geniusvishal
0
211
Member Avatar for hasan101002
Member Avatar for geniusvishal
0
94
Member Avatar for NoUserNameHere

I'm new to Wordpress and from what I'm understanding if you're making a website with it, you don't have to write(or know(?)) code for anything unless you're making your own theme or plugin? Let's say you wanted to have a user registration/login system on your website, how would you do …

Web Development wordpress
Member Avatar for NoUserNameHere
0
219
Member Avatar for Clanstrom

I would like to know, why extending a built-in class in php is important. I mean let's take the PDO class for example. One can either work with using new PDO(); or class Foo extends PDO. to do the same task. I guess, maybe the only thing that makes sense …

Web Development php
Member Avatar for diafol
0
467
Member Avatar for Waado

Does anyone here know how i could modify this java script code which automatically refresh a page due to the time interval you set. I need assistance on how i can modify this code so it refreshes only once when the page is opened, <script> <!-- /* Auto Refresh Page …

Web Development javascript
Member Avatar for JorgeM
0
1K
Member Avatar for Anila_1

Hi.. 'm new to PHP so please guide me.. i just want to create a simple yet secure login page with PHP and MySql as db.. The following must be the program flow.. 1.when a user tries to login for the first time it should check whether the user is …

Web Development php session
Member Avatar for Clanstrom
0
173
Member Avatar for prnjn

Hi , I have a JSP page where i have few checkboxes and i have disabled few of them usign javascript for certain conditions. When i fetch the value from checkbox using `request.getParameterValues("CheckBoxName");` , then do i get the values from disabled checkboxes too or disabled checkboxes are not considered …

Web Development java-jsp
Member Avatar for GliderPilot
0
2K
Member Avatar for eric_arambula

I am a newbie programming Ruby. I have the below code. Method sum_to_n? which takes an array of integers and an additional integer, n, as arguments and returns true if any two elements in the array of integers sum to n. It should return true for the empty array with …

Web Development ruby
Member Avatar for eric_arambula
0
1K
Member Avatar for Priti_P

Hello, My application is in PHP. I use the below code to send invitation- <?php $message=" BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130901T121000Z DTEND:20130901T131000Z DTSTAMP:20110525T075116Z ORGANIZER;CN=From Name:mailto:from email id UID:12345678 ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Sample:emailaddress@testemail.com DESCRIPTION:Test the first invite LOCATION: Test Location SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Test the first icalendar invitation TRANSP:OPAQUE END:VEVENT END:VCALENDAR"; /*headers*/ $headers …

Web Development google php
Member Avatar for diafol
0
301
Member Avatar for praba_web

Hi, I am Freelance Web developer. i dont know How to Set Web Design and Web Development Prices? Recently i have done one web designing project.that project contains 16 pages with mysql. Please Tell me how much should i have to charge?

Web Development php web-design
Member Avatar for hag++
0
287
Member Avatar for klemme

Hi all, I'm trying to delete elements from an array - The array should be a shopping cart - So I need to ad/remove items from it. So far I can add items no problem, but i seem to keep failing to delete the correct indexes. The array contains a …

Web Development ecommerce php
Member Avatar for paulkd
0
3K
Member Avatar for yaragalla_mural

hi i have small doubt in understanding the difference of the following. the following code did not worked:- window.setTimeout(hello(),3000); function hello(){ alert("ju"); } But the following code worked fine:- window.setTimeout(function(){hello();},3000); function hello(){ alert("ju"); } So what is the difference between the two. In the first code snippet i have called …

Web Development javascript
Member Avatar for yaragalla_mural
0
137
Member Avatar for Folaju

I have a silly issue, I am creating a CMS at the moment. it has pages and menus . I created a page to add new pages. on that page i have a drop down list that is populated with data from the menu. I also have an edit page, …

Web Development cms mysql php
Member Avatar for sachin.padole1
0
10K
Member Avatar for sruthisru

is it possible in php to download uploaded excel sheet by taking only its filename from the database?? if so solve my pblm..thank u..:)

Web Development php
Member Avatar for paulkd
0
243
Member Avatar for falcongr

Hello everyone I am having this simple contact form and i want to make the name , email fields to be required.Also i want to add a thank you message after someone press the sumbit button. Your help will be much appreciated. Php <? if ($_POST['name'] == '' || $_POST['subj'] …

Web Development php
Member Avatar for falcongr
0
502
Member Avatar for patk570

I have a simple login script that I want to test if the password is in temp status or not, if it is, then I want it to take them to changepass.php instead of index.php as seen below... but it doesnt take you to changepass.php it take you right to …

Web Development php
Member Avatar for phorce
0
102
Member Avatar for sing1006

here is my function.when i click on the readp button,it will show undefined variable,but still can show out the string in txt file. <?php if(isset($_GET['readp'])){ readinfo($fname,$lname,$phone,$email,$mname,$gender,$city,$country,$fax,$exp); } ?> <?php function readinfo($fname,$lname,$phone,$email,$mname,$gender,$city,$country,$fax,$exp){ $info=file('log.txt'); for($i=count($info)-1;$i>=0;--$i){ echo cleanOutputData($info[$i])."<br>"; } } ?>

Web Development php
Member Avatar for sing1006
0
314
Member Avatar for urbanthistleuk

Hello, I am currently working on a project which involves sending email out automatically when certain conditions are met in a MySQL dB using a php script, I have managed to build the email part and works, my question is how do you prevent an email being sent out twice …

Web Development php
Member Avatar for iLikePHP
0
190
Member Avatar for swapnil.jambe

friends i am trying to redirect from login page to home page....when login is succeeded...but not able to do this. I have tried request Dispather it gives me illigal state exception and by using String site=new String("home.html"); response.setStatus(response.SC_MOVED_TEMPORARILY); response.setHeader("Location", site); not able to redirect....plz help me to overcome this problem

Web Development java-jsp
Member Avatar for asmira
0
132
Member Avatar for pjh1985

Hi, I am building a website and decided to try and add clean URL's using mod_rewrite. This is my first time using mod_rewrite so i decided to follow a guide which resulted in URL's such as [url]www.example.com/gallery/12[/url]. This URL would then be rewritten to index.php/gallery/12. The problem I am having …

Web Development cms php
Member Avatar for diafol
0
154
Member Avatar for jamiecarmichael101

I am trying to update my WAMP install to the latest versions of PHP and Apache. The links on the WAMP homepage are not up date php or apache wise so I am downloading and installing manually. I have successfully downloaded and installed the latest version of php (5.3.17) I …

Web Development apache
Member Avatar for jamiecarmichael101
0
1K
Member Avatar for facarroll

Some help would be great here. The following snippets work, but I am unable to figure out how to activate the error message "You did not select a name for editing". Both of the other error codes work but if I input 'given' and 'family' and forget to select the …

Web Development php
Member Avatar for whiteyoh
0
136
Member Avatar for gahhon

protected int getRowCount() { int RowCount = 0; SqlConnection conRowCount = new SqlConnection(ConfigurationManager.ConnectionStrings["connMSJ"].ConnectionString); SqlCommand cmdRowCount = new SqlCommand("SELECT Category FROM MonthlyBudget WHERE (Username=@username AND CurrentMonth=@current) GROUP BY Category", conRowCount); cmdRowCount.Parameters.AddWithValue("@username", Master.getUsername); for (int i = 0; i < intMonth.Length; i++) { cmdRowCount.Parameters.AddWithValue("@current", Convert.ToDateTime("1/" + intMonth[i] + "/" + ddlYear.SelectedItem.Text)); conRowCount.Open(); …

Web Development asp.net sql
Member Avatar for gahhon
0
174
Member Avatar for sarthak25
Member Avatar for crazyvonzipper

Hi There, I am quite new to simpleXML and I would like to know how I can access child nodes by index singe I do not have the node name The XML would look like this: <?xml version="1.0" encoding="UTF-8"?> <Root> <SubRoot> <Content ItemType="ItemType1"> <ItemDetails> <ItemDetail> <City Code="CPT"><![CDATA[Cape Town]]> </City> <Item …

Web Development php xml
Member Avatar for Mike Askew
0
259
Member Avatar for kimmi_baby

I have a slideshow I've found online. It's quite a large slideshow and the images take a really long time to load and I've already reduced the file size. I was hoping someone could show me how I preload the images to hopefully make it load quickly. I'm also having …

Web Development html-css javascript
Member Avatar for designershiv
0
236
Member Avatar for lewashby

In the following code blocks I don't see any affect that my java scipt is having on my form. Any ideas? Thanks. Form: if($row['password'] == $passwd) { echo "<html>"; echo "<body>"; echo "<script src='check.js'></script>"; echo "<form id='form1' action='changepassword.php' method='post'>"; echo "<table>"; echo "<tr><td>"; echo "New Password<center><input type='text' name='newpassword1'></td></tr></center>"; echo "<tr><td>"; …

Web Development javascript
Member Avatar for lewashby
0
269
Member Avatar for kelley82879

Why would my html file need to be downloaded in order for it to work properly?

Web Development html-css php
Member Avatar for paulkd
0
223
Member Avatar for pebesoft

Could you please tell me why this code does not put the data in a row ? --------------- foreach ($_POST as $key => $value){ $sql = "INSERT INTO ir3 ($key) "; $sql .= "VALUES ('$value')"; if (!mysql_query($sql)) { die('Insert Row Failed!' . mysql_error()); } $sql=""; } } Thanks for any …

Web Development php
Member Avatar for Byzantine
0
12K
Member Avatar for facarroll

My web host recently advised me that my site was being migrated (after the event). I am led to believe that this is in the interests of improving the service. Immediately after the migration I discovered that one php file using date/time functions was stalling and numerous files were showing …

Web Development
Member Avatar for Dani
0
127
Member Avatar for Drugsxxx

down vote favorite I would like to draw Bezier Curves in SVG, and i know that the code looks like: path.setAttributeNS(null, "d", "M5,5 C5,45 45,45 45,5" but what to do if i want to give attributes on page i mean like: circ.setAttributeNS(null, 'cx', x); circ.setAttributeNS(null, 'cy', y); circ.setAttributeNS(null, 'r', bokU); …

Web Development javascript
Member Avatar for Drugsxxx
0
130
Member Avatar for msz900

HY! i have an issue in php session. the issue is that the session work fine in index page but the username can't show in other pages. lohin.php code <?php session_start(); include './header.php'; include 'connection.php'; if(isset($_POST) && count($_POST)>0) { $user = $_POST['username']; $pass = $_POST['password']; $sSQL = "SELECT * FROM …

Web Development php session web-design
Member Avatar for jkon
0
307
Member Avatar for cgull

Hello, I am developing a site where I have once class file that deals with a few database tables. My question is: Is it better to have one big file (the class) and then require only this file or have a class for each table and then have more require …

Web Development oop php
Member Avatar for jkon
0
219

The End.