i suggest you that you use database because in feature there are getting more trouble for finding any of user information in this file and also with database login is so simple and more secure then file. so use database for login information submission.

you should do this by connecting the database from your main domain name that is stored your all login information. you may use the below code for connecting with database:

[CODE]$host = "localhost"; //change your host here
$user = "test"; //change your username here
$pass = "password"; //change your password here
$db_name = "database"; //change your database name

$db = mysql_connect($host, $user, $pass); //connect to databse
mysql_select_db($db_name, $db); //select database[/CODE]

in $host value change here with your hosting ip address. and after that you may use the same database for every domain name.

to create a download option for all counted vote you should use the below code:

[CODE]<?php
$host = "localhost"; //change your host here
$user = "test"; //change your username here
$pass = "password"; //change your password here
$db_name = "database"; //change your database name

$db = mysql_connect($host, $user, $pass); //connect to databse
mysql_select_db($db_name, $db); //select database

$vExcelFileName="export". ".doc"; //replace your file name from here.

header("Content-type: application/x-ms-download"); //#-- build header to download the word file
header("Content-Disposition: attachment; filename=$vExcelFileName");
header('Cache-Control: public');

$query = mysql_query("SELECT * FROM user_table WHERE your_condition");
while ($row = mysql_fetch_array($query))
{

echo "<center>Voting Summery</center><br/><br/>
Total Vote Received by $row['user'] : $row['vote_count']";

}
?>[/CODE]

you should use the above code in new file called download.php and link it with voting counting page. so your all counted vote is download.

these all are posted "//" between is comment that will give u the information that where u can made any change in the script and also in the change file name section you could change your file name with your once that i will give it "export" in my code. you could change it with report or any other that you want.
and i will post your database code very soon here.

how u insert the value in $total variable.
from any form or from database?

please describe briefly.

hay John_K

have your problem solved?
or your getting any new error?

for WYSIWVG Editor in php follow hotscript.com:
[url]http://www.hotscripts.com/category/php/scripts-programs/wysiwyg-editors/[/url]

There are many type of WYSIWVG Editor provided.

You may export all data in ms word with the below code:

[CODE]<?php
$vExcelFileName="export". ".doc"; //replace your file name from here.

header("Content-type: application/x-ms-download"); //#-- build header to download the word file
header("Content-Disposition: attachment; filename=$vExcelFileName");
header('Cache-Control: public');

echo "hai";

?>[/CODE]

The above code is tested and export the text hai in word..

[QUOTE=murty14;1088517]Hello Sir,
Please tell How to call JavaScript start drawing the lines.

Please replay as soon as possible.
Murty[/QUOTE]

hay murty,
why not u read the whole forum that will be created by me and answered by atli. in this forum there are all things explained very well.

sorry ardev but the code posted by me is only php coding. i am not more consideration on html formatting.
anyway thanx for your suggestion i will be remember ths always.

could u post your code here for further detail. so daniweb can help you very best.

Use the below Specified Code for Looping Textbox:

[CODE]<form name=textbox method=post>
How Many Textboxes you Want to Apper: <input type="text" name="how_many" /><br/>
<input type=submit value="Get Text Box" name=submit />
</form>
<?PHP
if (isset($_POST['submit']))
{
$how_many = $_POST['how_many'];
echo "<form name=something_here method=post>";
for ($i=0; $i<$howmany; $i++)
{
echo "Textbox $i: <input type=text name=text id=text
$i><br/>";
}
echo "<input type=submit name=submit value=Submit></form>";
}
?>[/CODE]

Change Your Code with this:

[CODE]$query = "SELECT * FROM tbl_users order by user_name asc";

$result = mysql_query($query) or die(mysql_error());
echo "<form action='process.php' method='post'>";
echo "<table border='1'>";
echo "<tr> <th>Name</th> <th>Email</th> <th>Email Sent </th><th>Send Email</th></tr>";

while($row = mysql_fetch_array($result)){
            $user_id =  $row['user_id'];
            $user_email_sent =  $row['user_email_sent'];
echo "<tr><td>"; 
echo $row['user_name'];
echo "</td><td>"; 
echo $row['user_email'];
echo "</td><td>"; 
echo $row['user_email_sent'];
echo "</td><td>";
echo "<input type=hidden name=user_id value=$user_id><input type=hidden name=user_email_sent value=$user_email_sent><input type='submit' value='Send Mail' name='submit'>";
echo "</td></tr>";

}

echo "</table>";
echo "</form>";[/CODE]

[CODE]if (isset($_POST['submit']))
{
$user_id = $_POST['user_id'];
$user_email_sent = $_POST['user_email_sent'];
$email_counter = $user_email_sent + 1;

  $sql = "UPDATE tbl_users SET user_email_sent = $email_counter WHERE user_id=$user_id";

  $result = mysql_query($sql);
  echo "Email Sent.";

}[/CODE]

Thanx Atli for Your Help.
From Your Help my work is too Easy.
Now I Can do Calculation of Payment for Each Member and Level after Storing the Data in Level Array.

Thanx Again.
and also i am Send fully designed code to bobbymoir.
if he couldn't understand that we don't do nothing.

where u want to include image in email.
in background or in banner??

to Create the Counter use below tutorial:

first create a table:
[CODE]CREATE TABLE counter (
counter int(9) NOT NULL default '0'
) TYPE=MyISAM;[/CODE]

//counter.php file:
[CODE]############### Code

<?php
$host="localhost"; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
$db_name="test"; // Database name
$tbl_name="members"; // Table name

// Connect to server and select database.
mysql_connect("$host", "$username", "$password")or die("cannot connect to server ");
mysql_select_db("$db_name")or die("cannot select DB")

$sql="SELECT * FROM $tbl_name";
$result=mysql_query($sql);

$rows=mysql_fetch_array($result);
$counter=$rows['counter'];

// if have no counter value set counter = 1
if(empty($counter)){
$counter=1;
$sql1="INSERT INTO $tbl_name(counter) VALUES('$counter')";
$result1=mysql_query($sql1);
}

echo "You 're visitors No. ";
echo $counter;

// count more value
$addcounter=$counter+1;
$sql2="update $tbl_name set counter='$addcounter'";
$result2=mysql_query($sql2);

mysql_close();
?>[/CODE]

Enjoy!!!!

You may Use Micro Rate Rating PHP Script for Rating your Content.
This is Free Script Find it from Here: [url]http://www.phptoys.com/e107_plugins/content/content.php?content.64[/url]
or Use Another Free Script located at Hotscript from Here: [url]http://www.hotscripts.com/category/php/scripts-programs/reviews-ratings/[/url]

Could you paste Your search.php page code so i will review it.
and also please tell me that the above code will work fine or not?

I have Fix Your Code Please Use Below Code:

[CODE]<strong><p align="center">Air Conditioner Data Update</p></strong><br>

<?php
$host="localhost"; // Host name
$username="username"; // Mysql username
$password="pass"; // Mysql password
$db_name="dbname"; // Database name
$tbl_name="sims_ac"; // Table name

// Connect to server and select databse.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
$a=$_REQUEST['a']; //Its getting value from previoes page
echo $a; //its echoing value which I get from previous page.
//$a='1008'; // its static value this code work perfectly when I assign value like this, but not working when I get the value from previoes page.

$sql="SELECT * FROM $tbl_name WHERE mid(SiteID,7)='$a'";
$result=mysql_query($sql);

// Count table rows
$count=mysql_num_rows($result);
?>
<table width="500" border="0" cellspacing="1" cellpadding="0">
<form name="form1" method="post" action="sims_ac_update.php">
<tr>
<td>
<table class="mytable" width="500" border="0" cellspacing="1" cellpadding="0">

<tr>
<td align="center"><strong>SiteId</strong></td>
<td align="center"><strong></strong></td>
<td align="center"><strong>AcMake</strong></td>
<td align="center"><strong>AcCapacity </strong></td>
<td align="center"><strong>AMP</strong></td>
<td align="center"><strong>qty</strong></td>

</tr>
<?php
while($rows=mysql_fetch_array($result)){
?>
<tr>

<td align="center"><? //$SiteId[]=$a; ?><? echo $a; ?></td>
<td align="center"><input name="SrNo[]" type="hidden" id="SrNo" value="<? echo $rows['SrNo']; ?>"></td>
<td align="center"><input name="AcMake[]" type="text" id="AcMake" value="<? echo $rows['AcMake']; ?>"></td>
<td align="center"><input name="AcCapacity[]" type="text" id="AcCapacity" value="<? echo $rows['AcCapacity']; ?>"></td>
<td align="center"><input name="AMP[]" type="text" id="AMP" value="<? echo $rows['AMP']; ?>"></td>
<td align="center"><input name="qty[]" type="text" id="qty" value="<? echo $rows['qty']; ?>"></td>
</tr>
<?php
}
?>
<tr>
<td colspan="4" align="center"><input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>
</td>
</tr>
</form>
</table>
<?php
// Check if button name "Submit" is active, do this
if (isset($_POST['Submit']))
{
for($i=0;$i<$count;$i++){

echo $a;
$b= $_POST['AcMake'][$i];
//echo $b;
$c= $_POST['AcCapacity'][$i];
//echo $c;
$d= $_POST['AMP'][$i];
//echo $d;
$e= $_POST['qty'][$i];
//echo $e;
$f= $_POST['SrNo'][$i];
//echo $f; ...

witch type of project title you want?

Why not You Chose the Login System in Your Site Admin Panel because this Make Your Admin Panel More Secure and Only You are Access Your admincp.php page not anyone.

Carrots commented: Thanks man +1

Change Your Line #65 from:

[CODE]if($_REQUEST["Submit"]=="Submit")[/CODE]

With this One:

[CODE]if (isset($_POST['Submit']))[/CODE]

Your Code will Work.

you may done this with C Language.
after adding your aircondition to your computer and create hardware point in C Language.
Please Post Your Question in C Language.

To Hide .php Extension from your all files then Use the Copy Below Code and Paste it in .htaccess file:

[CODE]RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php[/CODE]

The above code is Tested and Work Fine with all Your Server Files.
[B]Example: if your filename is "www.yoursite.com/file.php" then your may access this file directly with "www.yoursite.com/file" or "www.yoursite.com/file.php"[/B]

Hi Atli.
Could u Tell me That How I Can Store the Tree Level in Array.
For Example the 2,3,4,5 is First Level Node then i want to store these value in one array called $firstlevel
and another 6,7,8,9,10 is second level node of Parent Level then i want to store it in one array called $secondlevel
for Payment Devidation for MLM Business.

or If u Have any other Payment Devidation Solution then Please Tell me.

if we select whole table then the code is work but when we select the data with recursion function this will not work this only store first two variable in database ie $id,$name or $id,$parentID.
You may Tested it from the code posted on first page.
this will give u error.....

may be..
when am tested my code this will give me the five number. so i think that this will work nice. so am post my code here.
anyway thanx for fix bug in my code.

to Backup all Your Software Then Use the Following Trick:

Click on Start > All Program > Accessories > System Tools
and Click on Backup.
Then Click on Next Button
Select Backup files and setting and Click on Next
Select Let me choose what to back up and Click on Next
Select Your C Drive Program Files Folder and Click on Next.
after Choose the File Save Location and Enter your Backup File Name.
Now Click on Finish.

That's all You Have Done it..

Now after Reinstalling Your Windows Please Restore Your Files from The above Store Located.

Thank you..................

Database Schema:

[CODE]-------------------------------------------------------------------------
id name parentID

1 ABC 0
2 BCD 1
3 DEF 1
4 GHI 1
5 JKL 1
6 MNO 2
7 PQR 2
8 STU 2
9 VWX 3
10 YZX 3
11 MNO 3
12 JKL 4
13 Hemant 4
14 Abhi 5
15 Sanjay 5
16 Pankaj 10
17 MMM 15
18 AAA 3
19 BBB 1
20 CCC 8
21 DDD 8
22 EEE 8
23 FFF 7
24 GGG 7
25 HHH 6
26 III 5
27 JJJ 22[/CODE]