Forum: ASP.NET 11 Days Ago |
| Replies: 17 Views: 539 Use footer row to add a new record |
Forum: ASP Apr 18th, 2009 |
| Replies: 7 Views: 1,486 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,642 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: 829 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: 644 Hi,
This can be done directly in stored procedure. |
Forum: PHP Apr 18th, 2009 |
| Replies: 13 Views: 829 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: 831 Hi,
Why is mysql_close();
outside of <??> |
Forum: PHP Apr 18th, 2009 |
| Replies: 7 Views: 909 Hi,
Use the following code.
<?
$selectedGrades=$_POST['grades'];
foreach ($selectedGrades as $item)
echo $item."<br>\n";
?> |
Forum: PHP Apr 16th, 2009 |
| Replies: 7 Views: 909 Can you please explain it. |
Forum: PHP Apr 16th, 2009 |
| Replies: 16 Views: 1,252 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: 477 |
Forum: PHP Jan 14th, 2009 |
| Replies: 8 Views: 477 No,
I actually mean to seperate presentation layer from business logic. |
Forum: PHP Jan 14th, 2009 |
| Replies: 8 Views: 477 Yes, if I want to create one according to my requirement. |
Forum: PHP Jan 14th, 2009 |
| Replies: 8 Views: 477 Hi,
Can anybody provide me some examples of using templates in php |
Forum: ASP Aug 18th, 2008 |
| Replies: 2 Views: 683 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,284 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,288 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,298 Hi,
You will need to create a clock in javascript that will refresh the time. |
Forum: PHP Aug 8th, 2008 |
| Replies: 6 Views: 699 Hi,
I think you will need to unserialize the values after retrieving them from db.
Vivek |
Forum: PHP Jul 30th, 2008 |
| Replies: 2 Views: 389 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: 389 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,682 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,682 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,682 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: 917 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: 828 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,099 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 Views: 537 Hi,
Please post you code. |
Forum: ASP Jul 28th, 2008 |
| Replies: 7 Views: 2,682 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: 768 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: 516 Hi,
Post the code of update_buyer.asp |
Forum: PHP Jul 24th, 2008 |
| Replies: 11 Views: 921 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: 786 Hi,
Post your whole script |
Forum: PHP Jul 24th, 2008 |
| Replies: 11 Views: 921 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: 921 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: 548 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: 921 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: 921 Hi,
I have done the pagination check it.
<?phpsession_start();
include('database.php');
//Information for paging... |
Forum: PHP Jul 23rd, 2008 |
| Replies: 3 Views: 652 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: 381 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 =... |