Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
73% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
5 Commented Posts
0 Endorsements
Ranked #686
~20.5K People Reached
About Me

Sr. Software Engineer

Favorite Tags

85 Posted Topics

Member Avatar for rejisha

Hi, you can sumply use [code] t2 = "0"+t2; [/code] but if you also want to give a condition that a 0 will be prefixed only for numbers less than 10. then [code] if(t2<10) { t2 = "0"+t2; } [/code]

Member Avatar for revathyrace
0
111
Member Avatar for halleluijah

Use following program [code] int a = 100; int prime=2; int i=2; int start; int end; while(i<=a) { bool isprime = true; start=prime; end=prime%10; for(int j=2; j<i; j++) { if((i%j==0)) { isprime = false; break; } } if (isprime) { prime = i; Console.WriteLine(prime.ToString() + " - Prime"); } i++; …

Member Avatar for pyromania
0
277
Member Avatar for bjeffries

hi, Check this. I had provided solution for thumb nails. [url]http://www.daniweb.com/forums/thread133654-2.html[/url]

Member Avatar for bjeffries
0
333
Member Avatar for shaikh_mshariq

Hi, in this case first run the server page independently with a valid value in querystring. then check if this page displays a valid xml output.

Member Avatar for gecata83
0
153
Member Avatar for vicky_rawat

Hi All, I have implemented general LZW algorithm, if anyone can help me with motif base lzw algorithm. I will highly appriciate this.

Member Avatar for Adak
0
101
Member Avatar for tanha

hi, The problem was not with AJAX or PHP code, but it was with the xml generation. I have included the modified code. I have added a root element for the XML. [code]<?php // This is a very simple data provider for the cascading dropdown // example. A *real* data …

Member Avatar for cavalry
0
2K
Member Avatar for vicky_rawat

I am using following code to create a authentication cookie, but the problem is user is not getting authenticated. Please let me know if I am missing somthing. [code] HttpCookie authCookie = FormsAuthentication.GetAuthCookie(UserLogin.UserName, true); FormsAuthenticationTicket ticket = FormsAuthentication.Decrypt(authCookie.Value); FormsAuthenticationTicket newTicket = new FormsAuthenticationTicket(ticket.Version, ticket.Name, ticket.IssueDate, ticket.Expiration, ticket.IsPersistent, userDataString); authCookie.Value = …

Member Avatar for dnanetwork
0
67
Member Avatar for mshravs
Member Avatar for Dani

Hi, I am working as a web developer and I am quite good in my work. I work in ASP and learning PHP and ASP.net. I have good knowledge of C++,AJAX, CSS, Javascript, Flash Actionscript. Also, I know, if I have to design something in photoshop, I can do that. …

Member Avatar for anuj_sharma
2
765
Member Avatar for akhtarr

That's fine that courses are in an array, but where are the cost stored. Moreever, if you want to do something on user selection, then either you will need to post your page back to server or you will need to use AJAx.

Member Avatar for TomBCullen
0
128
Member Avatar for jameswoodhouse

Hi, You are missing double quotes [code] $sql = 'SELECT * FROM cartable'; $finalurl = <a href='$row["carwebsiteurl"]'>$row[carname]</a>; echo $finalurl; [/code]

Member Avatar for vidaj
0
205
Member Avatar for ammwebmaster2

there are 2 ways to do it. 1. Ajax- through which you can make server request without refreshing the page. 2. on page load, store all the values in a string variable as [code] str = "zip,state,country|zip,state,country|zip,state,country" [/code] then when user enters zip code, the using client side script, you …

Member Avatar for vicky_rawat
0
191
Member Avatar for kujoy
Member Avatar for jda318
Member Avatar for JimD C++ Newb
Member Avatar for macfi

Hi, Why don't you concatenate values in a string like [code] apple,orange,mango and then store it in cookie. [/code]

Member Avatar for macfi
0
4K
Member Avatar for chkchelsea
Member Avatar for suraj145
0
178
Member Avatar for vicky_rawat
Member Avatar for it2051229
0
177
Member Avatar for whisper_101

Hi, There are three ways, which you can use to store the values. 1. Session 2. Hidden variables 3. Querystring.

Member Avatar for aparnesh
0
107
Member Avatar for architact

Hi, The easiest way that I can think of is: Create the table dynamically and then when you move up and down, swap the table rows using javascript.

Member Avatar for R0bb0b
0
220
Member Avatar for joeduffy10001

Hi, What actually do you want to achieve. Open the word doc or gettting the content of word doc and then displaying them in a webpage.

Member Avatar for vicky_rawat
0
244
Member Avatar for ishlux

Hi, I think you will need to unserialize the values after retrieving them from db. Vivek

Member Avatar for langsor
0
137
Member Avatar for mamamiaw
Member Avatar for mamamiaw
0
97
Member Avatar for ishlux

Hi, Modify the following line. [code] <a href="contractor_inbox.php?mail_id=<? echo $row['mail_id'];//session_register("mail_id");//session_register("mail_id");?>"> [/code] with [code] ><a href="contractor_inbox.php?start=$start&limit=$limit&mail_id=<? echo $row['mail_id']; //session_register("mail_id");//session_register("mail_id");?>"> [/code]

Member Avatar for vicky_rawat
0
126
Member Avatar for venu@baylogic

Hi, You can use split function as follows [code] str = "Romans 3:1,5;Romans 4:1-10" arrstr = split(str,";") [/code]

Member Avatar for vicky_rawat
0
200
Member Avatar for lydia21

Hi, You will need to call two functions in AJAX. 1. for inserting the comment in database and returning the last inserted id 2. For displaying the comment using the returned id.

Member Avatar for adnanahsan
0
120
Member Avatar for vipinsgangwar

hi, There change your query with following query: [code] select checktime from checkinout where checktime like '%"&any_dt&"%' [/code]

Member Avatar for hmponline
0
111
Member Avatar for DonGlover
Member Avatar for rejisha

Hi, onchange event of from date textbox, copy the value of from date into todate textbox.

Member Avatar for rejisha
0
95
Member Avatar for moviemedic

Hi, the best solution to provide spamers is including a tricky game, like a mathematical opeartion on two numbers. provide them two random numbers and a mathematical operation and let them provide you solution. then on next page you can first check if you have got the correct answer, then …

Member Avatar for moviemedic
0
184
Member Avatar for jslick

Hi, Use the following code to get random values [code] <% Option Explicit Dim Tip(6) Tip(1) = "tip 1" Tip(2) = "tip 2" Tip(3) = "tip 3" Tip(4) = "tip 4" Tip(5) = "tip 5" Tip(6) = "tip 6" Function RandomNumber(intHighestNumber) Randomize RandomNumber = Int(intHighestNumber * Rnd) + 1 End …

Member Avatar for vicky_rawat
0
89
Member Avatar for punex
Member Avatar for marjan_m
Member Avatar for ishlux

Hi, I have done the pagination check it. [code] <?phpsession_start(); include('database.php'); //Information for paging //************************************************************************** $page_name="yourPage.php"; $limit=sql_quote($_GET['limit']); // Read the limit value from query string. $start=sql_quote($_GET['start']); // To take care global variable if OFF if(!($start > 0)) { // This variable is set to zero for the first page $start …

Member Avatar for ishlux
0
154
Member Avatar for friendship.ani
Member Avatar for ishlux

Hi, Can you tell, what is wrong with the delete operation, is it giving an error or what. The syntex is correct. You can print the sql syntex and then run the query in mysql directly.

Member Avatar for Shanti C
0
105
Member Avatar for lifeworks
Member Avatar for Shanti C
0
101
Member Avatar for ishlux
Member Avatar for ishlux
0
95
Member Avatar for airwinx

Hi, You need to use the following logic: [code] <a href="page.php?alp=a">A</a> <a href="page.php?alp=b">B</a> <a href="page.php?alp=c">C</a> <a href="page.php?alp=d">D</a> <? $char_sel = $_GET['alp']; ?> [/code] Replave page.php with the name of your page. Use this and the code will work

Member Avatar for vicky_rawat
0
86
Member Avatar for saikishore
Member Avatar for Shanti C

Hi Shanti, Check this site. [url]http://www.velocityreviews.com/forums/t159596-rotate-an-image-90-degrees-.html[/url]

Member Avatar for Shanti C
0
105
Member Avatar for rathor0407

Hi, can you elobrate your problem, as you there can be different ways depending on requirement Vivek Enjoy coding and keep smiling

Member Avatar for amitbajaj.tm
0
81
Member Avatar for ishlux

Hi, I think the problem is in the following statement. [code] $query1="SELECT * FROM autoalto_mail where mail_id='".$_REQUEST['$mailid1']."'" ; [/code] You are using session to get the value and you are using request in qurey. change your query to [code] $query1="SELECT * FROM autoalto_mail where mail_id='".$mailid1."'" ; [/code]

Member Avatar for vicky_rawat
0
148
Member Avatar for vinay114

Hi, Use the following method. [code] set oConno = Server.CreateObject("ADODB.Connection") set oRsMain = Server.CreateObject("ADODB.Recordset") oConno.ConnectionString = "Provider=SQLOLEDB;Data Source=[servername];Initial Catalog=[database];User Id=[userid];Password=[password]" oConno.Open [/code]

Member Avatar for vicky_rawat
0
95
Member Avatar for berti_2001
Member Avatar for adaykin

Hi, Buddy is right, You should always remember to enclose your javascript code inside <script language=javascript></script> block, in order to let browser know that this is a javascript code ant a sentence.

Member Avatar for digital-ether
0
135
Member Avatar for FCrivello
Member Avatar for FCrivello
0
152
Member Avatar for heath_spence

Hi , Can you please explain "but I need to get it to e-mail to an address and thank someone for submitting their information."

Member Avatar for heath_spence
0
153
Member Avatar for Vilice

Hi, I have some questions. 1. If you have that specific email that you want search then you can search that using sql query. like [code] select email from table1,table2 where table1.id = table2.id and (table1.email=email1 or table2.email = email1) [/code] 2. if you don't have emailid's and you want …

Member Avatar for Vilice
0
114
Member Avatar for punex

Hi, You can create a button in ASP and then on its click create a database connection and execute delete query on that table for the value. Hope this will help you out.

Member Avatar for vicky_rawat
0
44

The End.