Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
php x 22
Member Avatar for shamsidah

hello everyone, i have a problem where i cannot run a php application in the IE. when i run, all the interface not displayed and function. is it true, i need to change the setting at internet option or else...

Member Avatar for diafol
0
115
Member Avatar for shamsidah

[CODE]<form id="form1" name="form1" method="post" action="updatebodyNo.php"> <table width="356" border="0" align="center"> <tr> <td width="94"><span class="style12"><span class="style12 style57">BodyNo</span></span></td> <td width="155"><span class="style12"><span class="style12 style57">Defect Code</span></span></td> <td width="93"><span class="style12"><span class="style12 style57">Quantity</span></span></td> </tr> <tr> <?php include ("connection.php"); // get value of id that sent from address bar $bodyNo=$_GET['bodyNo']; $sq1 = mysql_query ("SELECT * FROM paintshop WHERE …

Member Avatar for urtrivedi
0
128
Member Avatar for shamsidah

[CODE]<form method="POST" action="prosesMultiple.php"> <?php include 'connection.php'; $sql="SELECT defect_code,totalDaily FROM grandTotal ORDER BY totalDaily DESC LIMIT 10 "; $row = mysql_query ($sql); while ($check=mysql_fetch_array($row)){?> <input type="checkbox" name="defect_code[]" id="defect_code[]" value="<?php echo $check["defect_code"];?>" /> <?php echo $check["defect_code"];?> - <?php echo $check["totalDaily"]; ?> <input name="text" name="totalDaily[]" id="totalDaily[]" type="hidden" value="<?php echo $check["totalDaily"]; ?>"><br/> <?php } …

Member Avatar for Jay-Kandari
0
103
Member Avatar for shamsidah

[CODE]<?php include 'connection.php'; $data = mysql_query( "SELECT Date,color_code, COUNT(color_code) FROM paintshop WHERE Date BETWEEN '$startDate' AND '$endDate'") or die('error'); while($rw = mysql_fetch_array($data)){ ?> <td width="59" height="25" class="style5Copy"><?php echo $rw['Date']; }?></td>[/CODE] i want display the dates between i post from the form.. eg: start date = 1-12-2011 until end date 7-12-2011 …

Member Avatar for HITMANOF44th
0
85
Member Avatar for shamsidah

hello... i have a question about my final year project.. in my database i want to find 5 maximum values from total of defects from car's body... and the data that i'm found must valid for one year, and after one year (next year) maybe the 5 max values may …

Member Avatar for diafol
0
86
Member Avatar for shamsidah

hye.. i have a problem to display only numbers of date according the month automatically. I want to display in the table like this date 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17............31

Member Avatar for diafol
0
96
Member Avatar for jatinder_44

hello, I have written some code for it but it's not displaying date's in <td> where is the problem can any body tell me. [code=php] <?php //Get year 2008 $year = date('Y'); echo "Year $year</br>"; //get month $month = date('n'); echo "Month $month</br>"; //get day $day = date('j'); echo "Day …

Member Avatar for shamsidah
0
3K
Member Avatar for shamsidah

[CODE]<?php include 'connection.php'; $qry = mysql_query( "SELECT g.totalDaily, p.COUNT(DISTINCT bodyNo) AS qty FROM grandTotal AS g, paintshop AS p ") or die('error'); while ($rows = mysql_fetch_array($qry)){ ?> <td><?php $dpu = $rows['g.totalDaily'] / $rows['qty']; echo $dpu;?></td> <?php } ?>[/CODE] i want to display the $dpu which is defect per unit..the information …

Member Avatar for pritaeas
0
114
Member Avatar for shamsidah

Hi.. I need some help. I have a problem to insert 2 values or variable from drop down list to database at the same time. i want to insert name_relation into db, at the same time want to insert IcNo into db. here my code: [CODE]<?php include ("ConnectDB.php"); ?> <select …

Member Avatar for RCrizt
0
1K
Member Avatar for shamsidah

hello.. i have a table name [B]paintshop[/B] and have 4 fields for example [U][B]table:paintshop[/B][/U] bodyNo | defect_code | qty | date 58786859 | FM | 9 | 2011-11-29 58786859 | BB | 1 | 2011-11-29 58786859 | TN | 4 | 2011-11-29 58786860 | RN | 7 | 2011-11-29 58786851 …

Member Avatar for shamsidah
0
86
Member Avatar for shamsidah

Hi everyone. I'm new in php and need someone to help my problem. I have one table name [B]data_transaction[/B], from this table i'm want to search data between two dates that user key in. Here my code, $sum = "SELECT * , SUM(trans_charges) FROM data_transaction WHERE Location = 'HA1' AND …

Member Avatar for suresh ma
0
122
Member Avatar for shamsidah

hye everyone..i just want to share my problem using php..:$ i have data for field [B]total[/B] i.e total = (2,3,4,5,62,45,67,89,10,23,11,23,98,12) from all data i want 5 max values only. please help me to meet the solution.:)

Member Avatar for rotten69
0
102
Member Avatar for shamsidah

[U]Table's name: grandTotal[/U] (have two fields :defect_code and total) defect_code total LM 23 FM 15 DF 5 How this data can be an array like this array("LM" >=23, "FM">=15,"DF">=5) using query? please help me..:S

Member Avatar for shamsidah
0
119