Shanti C 106 Posting Virtuoso

what do you mean by datagrid here?????

Shanti C 106 Posting Virtuoso

thanks ...:)

Shanti C 106 Posting Virtuoso

i think you don't know how to execute database queries in a php file...
tel what database you are using...

check this url :
http://www.w3schools.com/php/php_mysql_select.asp

Shanti C 106 Posting Virtuoso

i think you want something like this:
http://www.w3schools.com/php/php_ajax_suggest.asp

try this example...

Shanti C 106 Posting Virtuoso

hey try w3schools.com...read ajax with php tutorial...its simple and understandable..

Shanti C 106 Posting Virtuoso
Shanti C 106 Posting Virtuoso

hello...
check this url why your mailto is not working...
http://apptools.com/rants/mailto.php

Shanti C 106 Posting Virtuoso

what is the meaning of this line:
mysql_query("SELECT DAYNAME('2000-01-09')")

here you didn't mention table name...
make it correct and try again..

Shanti C 106 Posting Virtuoso

you mean newsletters...
that can be achieved by any server side scriptings...just browse google for free scripts...

all the best.

Shanti C 106 Posting Virtuoso

hello post your query structure...

Shanti C 106 Posting Virtuoso

what error you got?????

Shanti C 106 Posting Virtuoso
Shanti C 106 Posting Virtuoso

thank you somuch for your detailed information....

Shanti C 106 Posting Virtuoso

hello troy..
very very thanks for your reply..
I can't understand exactly where to be placed...
can you please explain me with one example...
please ...
thanks again
Shanti.

Shanti C 106 Posting Virtuoso

Im developing a web page, where i can drag one image upon another background image and merge them...
my problem is , i want to know the position of dragged image by the user..
im using php and javascript functions to develop this...
please anybody know about this ..please get me information..

thanks in advance..
Shanti.

Shanti C 106 Posting Virtuoso

So Thanks For Your Interest...
I will read and Let you know if i found any doubts...

Thanks Again..
Shanti..

Shanti C 106 Posting Virtuoso

hello..
thank you for pdf on ajax...

i think you are familiar with XML..then i have some doubts...
I am developing some e-commerce website, in that website, how can i store all my product information on XML file and how to retrieve that data to my site..

Thank you..
Shanti

Shanti C 106 Posting Virtuoso

Edit
it
did
died
die

lounge

Shanti C 106 Posting Virtuoso

All are not one kind...So behave yourself...

Shanti C 106 Posting Virtuoso

check your table name once...
you mentioned category at line 13 and categories at rest of the code..
please check it once and try...

Shanti C 106 Posting Virtuoso

ya i got my image from that site only...

Shanti C 106 Posting Virtuoso

try echo your insert query.....

Shanti C 106 Posting Virtuoso

can you post some of your code...
or try this example:
this will disable text box,select box by using div id..

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/javascript">
function toggleAlert() {
toggleDisabled(document.getElementById("content"));
}
function toggleDisabled(el) {
try {
el.disabled = el.disabled ? false : true;
}
catch(E){
}
if (el.childNodes && el.childNodes.length > 0) {
for (var x = 0; x < el.childNodes.length; x++) {
toggleDisabled(el.childNodes[x]);
}
}
}
</script>
</head>

<body>
<div id="content">
<table>
<tr>
<td><input type="text" name="foo" /></td>
</tr>
<tr>
<td>
<select name="bar">
<option>a</option>
<option>b</option>
<option>c</option>
</select>
</td>
</tr>
</table>
</div>
<input type="checkbox" value="toggleAlert()" onclick="toggleAlert()" />
</body>
</html>

or use this line insted of your posted line:

document.getElementById('divID').style.display = 'none';
Shanti C 106 Posting Virtuoso

To add one just do as follows

<html>
<head>
<title>Page Title</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
//Rest of the page code

end quote.

I have just tried that code ...but i can't seen that icon on my address bar...
Please help me...

Shanti C 106 Posting Virtuoso

Hello Friends...

Tell me how to store my product information in xml file using php ...
Is this is a replacement of my database...

Please tell me any information on this...

Thanks in Advance..
Shanti

Shanti C 106 Posting Virtuoso

thank you heenix...

Shanti C 106 Posting Virtuoso

hi sunee..
image shadow means a shadow that is preceding below the image as shown in the following link:
http://alistapart.com/articles/cssdropshadows

and example code to make shadow to an image is:

.img-shadow {
  float:left;
  background: url(shadowAlpha.png) no-repeat bottom right !important;
  background: url(shadow.gif) no-repeat bottom right;
  margin: 10px 0 0 10px !important;
  margin: 10px 0 0 5px;
  }

And also check this once:
http://www.dynamicdrive.com/style/csslibrary/item/css-image-drop-shadows/

Shanti C 106 Posting Virtuoso
Shanti C 106 Posting Virtuoso

try your side....

Shanti C 106 Posting Virtuoso
Shanti C 106 Posting Virtuoso
Shanti C 106 Posting Virtuoso

Welcome dear...

Shanti C 106 Posting Virtuoso

I found several mistakes on your code..like:

<form onreset="alert('The form will be reset')">

where did you closed this form..
and i think you don't use form in another form..if you want use more forms in your page..use them after closing the first form..

And for all types of validations:
http://www.tizag.com/javascriptT/javascriptform.php
http://www.chrismcgrath.com/pagebuilder.php3?crossreference=53&partid=162

Shanti C 106 Posting Virtuoso

yes HTML is basic,
start your learning with HTML , CSS...
And then switch to server side scripting technologies...
www.w3schools.com is the best site for beginners...

Shanti C 106 Posting Virtuoso

Hello Friends...

Tell me how to store my product information in xml file using php ...
Is this is a replacement of my database...

Please tell me any information on this...

Thanks in Advance..
Shanti

Shanti C 106 Posting Virtuoso

use this:

if(empty($_GET))
{
//code
}
Shanti C 106 Posting Virtuoso

put this

<img src="downArrow.gif">

in

<a href...></a>

and then use onclick function.....

Shanti C 106 Posting Virtuoso

As i know Use multiple-row INSERT statements to store many rows with one mysQL statement is the best.....

For more information visit this...

Shanti C 106 Posting Virtuoso

Hello Friends...

I am completely newbie to XML..And I am a php developer...
I heard that XML can be used in the replacement of our databases...Is it right???
What is the purpose of XML to be used in our project....What are the advantages and disadavantages of XML...And How to use XML with php scripts...

I need information on this very urgently.....

Thanks in Advance...

Shanti.

Shanti C 106 Posting Virtuoso

Hello..
Welcome TO Daniweb...

Shanti C 106 Posting Virtuoso

"I never think of the future. It comes soon enough."
My hero, Albert Einstein

I am also in the same way....

Shanti C 106 Posting Virtuoso

Welcome...:)

Shanti C 106 Posting Virtuoso

hello...

Actually the $currentFile gives you the whole path of your file ,something like web/mysite/index.php
These two lines

#
$parts = Explode('/', $currentFile);
#
$pagename=$parts[count($parts) - 1];

to get out the pagename from the whole path...
Instead of this two lines code you can simply use this:

basename( $_SERVER["PHP_SELF"]);

Enjoy....

Shanti C 106 Posting Virtuoso

try this:

<?
$address = getenv("REMOTE_ADDR");
echo $address;
// Or simply use a Superglobal ($_SERVER or $_ENV)
$ip = $_SERVER['REMOTE_ADDR'];
?>

The function 'getenv' does not work if your Server API is ASAPI (IIS).
So, try to don't use getenv('REMOTE_ADDR'), but $_SERVER["REMOTE_ADDR"].

Shanti C 106 Posting Virtuoso

Sorry...i don't know much on this...
Any other experts will get you the information....
Sorry...

Shanti C 106 Posting Virtuoso
Shanti C 106 Posting Virtuoso

have you checked these...

Shanti C 106 Posting Virtuoso

You can execute linux commands within a php script - all you have to do is put the command line in backticks (`).

And also concentrate on exec() , this and shell_exec()..

Shanti C 106 Posting Virtuoso
Shanti C 106 Posting Virtuoso
<?
$currentFile = $_SERVER["SCRIPT_NAME"];
$parts = Explode('/', $currentFile);
$currentFile = $parts[count($parts) - 1];

if($currentFile == 'admin.php') {
  //put JS code here
}
?>

Instead we can use simply:

$currentFile=basename($_SERVER['PHP_SELF']);