Search Results

Showing results 1 to 24 of 24
Search took 0.01 seconds.
Search: Posts Made By: sasankasekhar
Forum: PHP Nov 22nd, 2008
Replies: 1
Views: 373
Posted By sasankasekhar
Please check out the lines:
<?php
<$conn=mysql_connect("localhost","root","root");
echo("connected"); ......

Please remove the "<" before $conn

Regards
Forum: MySQL Nov 22nd, 2008
Replies: 2
Views: 590
Posted By sasankasekhar
1). You probably donot have the
`indiant1_indiantreaty` database
or
2). you already have the `events` table.

I ran your query and it showed no errors except for the database...
Forum: PHP Nov 22nd, 2008
Replies: 1
Views: 305
Posted By sasankasekhar
Consider the following:

<?php
if(isset($_POST['btnDelete'])){
for($i=1;$i<=4;$i++){
if(isset($_POST['checkbox'.$i])){
echo "<br>".$_POST['checkbox'.$i];
}
}
}
Forum: HTML and CSS Nov 22nd, 2008
Replies: 2
Views: 1,214
Posted By sasankasekhar
Is this what you want?

<html>
<head>
<title>Untitled Document</title>
</head>
<body>

<table width="305" height="252" border="0" cellpadding="0" cellspacing="1" style="border:1px solid...
Forum: JavaScript / DHTML / AJAX Nov 22nd, 2008
Replies: 2
Views: 989
Posted By sasankasekhar
Its difficult to figure out the problem without viewing the code of the while form.
Just a guess:
May be in the your fields have been assigned value after the form reset.
for example
$insert_sql...
Forum: JavaScript / DHTML / AJAX Nov 22nd, 2008
Replies: 5
Views: 1,792
Posted By sasankasekhar
This would help:

function addArr(){
var arr1 = [1,2,3,4];
var arr2 = [5,6,7,8];
arr3=arr1;//or u can use arr1 itself;
for(i=arr1.length,j=0;j<arr2.length;i++){
arr3[i]=arr2[j];
j++;...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 15
Views: 4,587
Posted By sasankasekhar
Sure,
you can do that. Use expressions in your css.

Example:

img{
display:expression((this.height<=300)?'block':'none');
}

Hope this solves your problem.
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 2
Views: 1,172
Posted By sasankasekhar
"cb is undefined"

Your problem is document.getres.checkbox is not giving you a list of checkboxes.
Instead I suggest you to loop through the rows of of the <Table> where you have placed your...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 3
Views: 1,079
Posted By sasankasekhar
You have assigned the value "2" to variable input...
if (input == 1 || input = 2)

you should have only checked it
if (input == 1 || input == 2)
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 3
Views: 557
Posted By sasankasekhar
Try This:
if(window.document.readyState=='complete'){
// call your image slide show functions ....
}

Regards ...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 3
Views: 557
Posted By sasankasekhar
Try this:

you can check whether your page is loaded completely using this:

window.document.readyState
if(window.document.readyState=='Complete') {
//start image preloaders ....
}
...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 1
Views: 868
Posted By sasankasekhar
Try this:
document.getElementById('txt').attributes['required'].value;
Regards...
Forum: JavaScript / DHTML / AJAX Nov 21st, 2008
Replies: 3
Views: 1,216
Posted By sasankasekhar
First thing, please remove keyword this. There is no need to use this.n ....
Rest is fine and I hope you will be able to solve it yourself. Still if you could not develop the function ... please...
Forum: PHP Nov 15th, 2008
Replies: 8
Views: 3,010
Posted By sasankasekhar
Sorry .... onChange="this.submit();" goes in the SELECT tag
Forum: JavaScript / DHTML / AJAX Nov 11th, 2008
Replies: 1
Views: 2,605
Posted By sasankasekhar
I hope this should solve your problem:

<script language="JavaScript">
function changeCSS(){
frame = window.document.frames[0];
frame.document.getElementById("myDiv").style.background="red";//OR...
Forum: JavaScript / DHTML / AJAX Nov 11th, 2008
Replies: 2
Views: 2,252
Posted By sasankasekhar
<script language="JavaScript">
function test(){
var listOfChildNodes = document.getElementById('IDofTheDiv').childNodes;
var numberOfChildNodes = listOfChildNodes.length;
var str="";...
Forum: PHP Nov 11th, 2008
Replies: 4
Views: 527
Posted By sasankasekhar
This should be the correct statement I suppose:
$query="SELECT count(*) FROM stats WHERE BirthCountry = ".$country." ;";

Regards.
Forum: PHP Nov 11th, 2008
Replies: 8
Views: 3,010
Posted By sasankasekhar
Replace your Double Quotes by Single Quotes, and vice versa.

echo "<form action='show.php' method='post' onChange='this.submit()'><select><option value selected>select</option><option...
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008
Replies: 3
Views: 3,156
Posted By sasankasekhar
Well, to post Data from one window to another we shall have to take the help of <iframe> (this is what I feel comfortable with).
The solution below may not be exactly what you wanted/ needed ... I...
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008
Replies: 1
Views: 1,271
Posted By sasankasekhar
var texture=document.getElementById('texture').value;
formdiv.innerHTML = formdiv.innerHTML +'<td align=center>' + texture + '</td>';


Hope this Helps.
Regards
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008
Replies: 3
Views: 3,156
Posted By sasankasekhar
Just to be clear: Do you want to post your data from the current form to add.php?

if the answer is YES, try this:
-------------------------------------------------------------------------------...
Forum: PHP Nov 10th, 2008
Replies: 9
Views: 1,007
Posted By sasankasekhar
try this : http://in2.php.net/download-docs.php

You can search for PHP Manuals in CHM format. CHMs are easier to deal with.
Forum: HTML and CSS Nov 10th, 2008
Replies: 13
Views: 1,178
Posted By sasankasekhar
The width of these three columns is : 264+371+297 = 932 px.

The width of the whole table cannot be reduced than 932px.

Please clear the width of the columns (the <TD> tags) of this row AND the...
Forum: HTML and CSS Nov 10th, 2008
Replies: 13
Views: 1,178
Posted By sasankasekhar
The Fourth Row in your Table has three columns:
News, Welcome to Unique... and Publications.

The width of these three columns is : 264+371+297 = 932 px.

The width of the whole table cannot...
Showing results 1 to 24 of 24

 


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

©2003 - 2009 DaniWeb® LLC