Forum: ASP Apr 18th, 2009 |
| Replies: 7 Views: 1,505 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: PHP Apr 16th, 2009 |
| Replies: 16 Views: 1,317 Hi,
Why don't you concatenate values in a string like
apple,orange,mango
and then store it in cookie. |
Forum: PHP Jul 30th, 2008 |
| Replies: 2 Views: 393 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: 393 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: JavaScript / DHTML / AJAX Jul 29th, 2008 |
| Replies: 2 Views: 839 Hi,
onchange event of from date textbox, copy the value of from date into todate textbox. |
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008 |
| Replies: 2 Views: 538 Hi,
Please post you code. |
Forum: PHP Jul 24th, 2008 |
| Replies: 11 Views: 928 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: PHP Jul 24th, 2008 |
| Replies: 11 Views: 928 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: 928 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: 560 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: 928 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: 928 Hi,
I have done the pagination check it.
<?phpsession_start();
include('database.php');
//Information for paging... |
Forum: PHP Jul 22nd, 2008 |
| Replies: 18 Views: 784 Hi,
I think the problem is in the way you are writing the code.
from the above code, you are passing
href="contractor_mail_action_contents.php?mail_id=<?$a=$row['mail_id']?>">
change your... |
Forum: PHP Jul 22nd, 2008 |
| Replies: 7 Views: 555 Hi Shanti,
Check this site.
http://www.velocityreviews.com/forums/t159596-rotate-an-image-90-degrees-.html |
Forum: PHP Jul 22nd, 2008 |
| Replies: 18 Views: 784 Hi,
I think the problem is in the following statement.
$query1="SELECT * FROM autoalto_mail where mail_id='".$_REQUEST['$mailid1']."'" ;
You are using session to get the value and you are... |
Forum: JavaScript / DHTML / AJAX Jul 15th, 2008 |
| Replies: 3 Views: 2,973 Hi,
always mark thread as solved, when you get solution, as it will help others if they are searching for a solution. |
Forum: JavaScript / DHTML / AJAX Jul 15th, 2008 |
| Replies: 3 Views: 2,973 Hi,
you can sumply use
t2 = "0"+t2;
but if you also want to give a condition that a 0 will be prefixed only for numbers less than 10. |
Forum: JavaScript / DHTML / AJAX Jul 15th, 2008 |
| Replies: 3 Views: 1,398 Hi,
Replace the ew_ValidateForm javascript function with
function ew_ValidateForm(fobj) {
if (fobj.a_confirm && fobj.a_confirm.value == "F")
return true;
var i, elm, aelm, infix;... |
Forum: ASP Jul 11th, 2008 |
| Replies: 3 Views: 1,362 Hi,
If you have got the solution, can you please close this thread. |
Forum: ASP Jul 10th, 2008 |
| Replies: 3 Views: 1,362 Hi,
you can use the following logic.
suppose the number is 123.567
take 2 integer variables say a and b and 2 float variables say c and d.
now c=123.567
a = c |
Forum: ASP Jul 10th, 2008 |
| Replies: 6 Views: 1,604 Close the Thread as solved, if you have found the solution. |
Forum: PHP Jul 9th, 2008 |
| Replies: 7 Views: 655 Hi,
Can you please let us know, what is the value in $POST_number.
as % sign is for getting reminder.
So if $POST_number will have value 0, then it will give divide by 0 error. |
Forum: ASP Jul 9th, 2008 |
| Replies: 6 Views: 1,604 Hi,
Use the following logic in menu
<a href="login.asp?fp=nb">Notice Board</a>
<a href="login.asp?fp=cr">Chat Room</a>
<a href="aboutUs.asp">About Us</a>
The logic in login... |
Forum: PHP Jul 8th, 2008 |
| Replies: 41 Views: 13,028 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.
<?php
// This is a very... |
Forum: ASP Jun 27th, 2008 |
| Replies: 6 Views: 1,604 Hi,
As I understand from your statement, you have an index.asp page, which has many links, one of those is for notice board.
like
Noticeboard
Forum
About us
when you click on a link you... |
Forum: ASP Jun 18th, 2008 |
| Replies: 5 Views: 2,584 I hope that you have a database and the expiry dates are stored in a table.
Then if you can run the page everyday, you can write a logic in asp page to check for the expiry date.
The page will send... |
Forum: ASP Jun 13th, 2008 |
| Replies: 5 Views: 2,584 Hi,
Yes it is possible in ASP.
You will need to schedule a asp page on windows and in that page you can check your condition. This page will run everyday on a specific time on server.
Hope... |
Forum: ASP Jun 13th, 2008 |
| Replies: 1 Views: 2,794 Hi,
you can use following method. |