Search Results

Showing results 1 to 40 of 132
Search took 0.02 seconds.
Search: Posts Made By: vicky_rawat
Forum: ASP Apr 18th, 2009
Replies: 7
Views: 1,461
Posted By vicky_rawat
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...
Forum: ASP Apr 18th, 2009
Replies: 5
Views: 1,612
Posted By vicky_rawat
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

str =...
Forum: PHP Apr 18th, 2009
Replies: 13
Views: 804
Posted By vicky_rawat
ou will need to paste your code so that we can check what is the actual problem
Forum: ASP Apr 18th, 2009
Replies: 1
Views: 638
Posted By vicky_rawat
Hi,

This can be done directly in stored procedure.
Forum: PHP Apr 18th, 2009
Replies: 13
Views: 804
Posted By vicky_rawat
Hi,

You are missing double quotes


$sql = 'SELECT * FROM cartable';
$finalurl = <a href='$row["carwebsiteurl"]'>$row[carname]</a>;
echo $finalurl;
Forum: PHP Apr 18th, 2009
Replies: 5
Views: 793
Posted By vicky_rawat
Hi,

Why is mysql_close();

outside of <??>
Forum: PHP Apr 18th, 2009
Replies: 7
Views: 866
Posted By vicky_rawat
Hi,

Use the following code.


<?
$selectedGrades=$_POST['grades'];
foreach ($selectedGrades as $item)
echo $item."<br>\n";
?>
Forum: PHP Apr 16th, 2009
Replies: 7
Views: 866
Posted By vicky_rawat
Can you please explain it.
Forum: PHP Apr 16th, 2009
Replies: 16
Views: 1,198
Posted By vicky_rawat
Hi,

Why don't you concatenate values in a string like

apple,orange,mango
and then store it in cookie.
Forum: PHP Jan 15th, 2009
Replies: 8
Views: 462
Posted By vicky_rawat
Yes, you are right.
Forum: PHP Jan 14th, 2009
Replies: 8
Views: 462
Posted By vicky_rawat
No,
I actually mean to seperate presentation layer from business logic.
Forum: PHP Jan 14th, 2009
Replies: 8
Views: 462
Posted By vicky_rawat
Yes, if I want to create one according to my requirement.
Forum: PHP Jan 14th, 2009
Replies: 8
Views: 462
Posted By vicky_rawat
Hi,

Can anybody provide me some examples of using templates in php
Forum: ASP Aug 18th, 2008
Replies: 2
Views: 680
Posted By vicky_rawat
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.
Forum: PHP Aug 18th, 2008
Replies: 4
Views: 1,250
Posted By vicky_rawat
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.
Forum: ASP Aug 18th, 2008
Replies: 4
Views: 1,276
Posted By vicky_rawat
Hi,

There are three ways, which you can use to store the values.

1. Session
2. Hidden variables
3. Querystring.
Forum: ASP Aug 11th, 2008
Replies: 3
Views: 2,249
Posted By vicky_rawat
Hi,

You will need to create a clock in javascript that will refresh the time.
Forum: PHP Aug 8th, 2008
Replies: 6
Views: 692
Posted By vicky_rawat
Hi,

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

Vivek
Forum: PHP Jul 30th, 2008
Replies: 2
Views: 382
Posted By vicky_rawat
Ohh sorry, use this.


<a href="contractor_inbox.php?start=<?=$start?>&limit=<?=$limit?>&mail_id=<?=$row['mail_id'];?>">
Forum: PHP Jul 30th, 2008
Replies: 2
Views: 382
Posted By vicky_rawat
Hi,

Modify the following line.

<a href="contractor_inbox.php?mail_id=<? echo $row['mail_id'];//session_register("mail_id");//session_register("mail_id");?>">



with
Forum: ASP Jul 30th, 2008
Replies: 7
Views: 2,619
Posted By vicky_rawat
Hi,

an you properly explain your pronblem, as the way you have given the requirement, that will be the solution that you will get.

As per my understanding now, your requirement is " if...
Forum: ASP Jul 29th, 2008
Replies: 7
Views: 2,619
Posted By vicky_rawat
Ohh, your string contains both comma and semicolon, in this case the logic that I provided you will fail.
Forum: ASP Jul 29th, 2008
Replies: 7
Views: 2,619
Posted By vicky_rawat
Hi,

use the following logic to solve this
Suppose your string that user inputs is
str

splitstr=""
if InStr(str, ";") <> 0 then
splitstr=";"
elseif InStr(str, ",") <> 0 then
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008
Replies: 2
Views: 913
Posted By vicky_rawat
Hi,

Will this quiz be purly in javascript or will it be a webbased game.
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008
Replies: 2
Views: 815
Posted By vicky_rawat
Hi,

onchange event of from date textbox, copy the value of from date into todate textbox.
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008
Replies: 10
Views: 3,069
Posted By vicky_rawat
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.
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008
Replies: 2
Solved: Objects in Ajax
Views: 535
Posted By vicky_rawat
Hi,

Please post you code.
Forum: ASP Jul 28th, 2008
Replies: 7
Views: 2,619
Posted By vicky_rawat
Hi,

You can use split function as follows

str = "Romans 3:1,5;Romans 4:1-10"
arrstr = split(str,";")
Forum: ASP Jul 28th, 2008
Replies: 2
Views: 765
Posted By vicky_rawat
Hi,

Use the following code to get random values

<%
Option Explicit
Dim Tip(6)
Tip(1) = "tip 1"
Tip(2) = "tip 2"
Tip(3) = "tip 3"
Forum: ASP Jul 28th, 2008
Replies: 1
Views: 509
Posted By vicky_rawat
Hi,

Post the code of update_buyer.asp
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 908
Posted By vicky_rawat
Hi Use this code, its not giving any error, also change
$page_name="test.php";
with
the name of your page


<?
session_start();
include('database.php');
$page_name="test.php";
Forum: ASP Jul 24th, 2008
Replies: 2
Views: 785
Posted By vicky_rawat
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 908
Posted By vicky_rawat
Hi,

Post the code for page_new_navigation.php page.

becausethe code that I send you should not give problem
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 908
Posted By vicky_rawat
Sorry, That is one function that I had used to prevent SQL injection.

Please remove that function from the code.
like

$limit=sql_quote($_GET['limit']);


change it to
Forum: PHP Jul 24th, 2008
Replies: 7
Views: 539
Posted By vicky_rawat
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.
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 908
Posted By vicky_rawat
Hi,

Just forgot to tell you one thing.
Change the following line in code with the page name.


$page_name="yourPage.php";
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 908
Posted By vicky_rawat
Hi,

I have done the pagination check it.

<?phpsession_start();
include('database.php');
//Information for paging...
Forum: PHP Jul 23rd, 2008
Replies: 3
Views: 616
Posted By vicky_rawat
Hi,

you can use onblur event of a element.
So you can add this event on all checkboxes.

onblur event is fired when a element loses focus.

Hope this will help you.
Forum: PHP Jul 23rd, 2008
Replies: 4
Views: 378
Posted By vicky_rawat
Hi,

I think this is the code that you need to be converted. Right?

<?phpsession_start(); include('database.php');$result = mysql_query("SELECT * FROM autoalto_mail" ); while($row =...
Forum: PHP Jul 23rd, 2008
Replies: 4
Views: 378
Posted By vicky_rawat
Hi,

Provide your code and I will convert it into pagination
Showing results 1 to 40 of 132

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC