Jump to content

akshayhomkar

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by akshayhomkar

  1. CSV file not uploading it says not allowed to upload

     

    while fetching the table after uploading it shows me the special character where the white space and it was not removing the blank lines in the CSV file also

     

    Not only problem with blank lines I have problem also with space before or after any field

     

    while uploading CSV  file its shows me 

    • report.csv

      You aren't permitted to upload this kind of file

     

  2. Hello

     

    Is it possible to save data from saved htm table from other website in our mysql database system

     

    as I have problem that there is one htm page where i can get data but i want to save it in mysql table. as data is large on htm page 

    it was hard to copy so i want access it direct from php and save it in mysql table

     

    please guide

     

    awaiting your valuable reply.

     

    Thank in advance

  3. Hello

    I want to know that should we connect the crystal report with php.

    If yes then I want an example how to use that one with php which showing that selecting a particular user and showing its related information through crystal report. 

     

    awaiting your valuable reply.

  4. Hello

    I want to know that should we connect the crystal report with php.

    If yes then I want an example how to use that one with php which showing that selecting a particular user and showing its related information through crystal report. 

     

    awaiting your valuable reply.

  5. Hello
     
    I want to create attendance sheet on which date are printed as column and name of student/staff as column
    database is as shown
    CREATE TABLE IF NOT EXISTS `attendance` (
      `date` varchar(500) DEFAULT NULL,
      `time` varchar(1000) DEFAULT NULL,
      `staffname` varchar(1000) DEFAULT NULL,
      `id` int(11) DEFAULT NULL,
      `role` varchar(1000) NOT NULL,
      `status` varchar(1) DEFAULT NULL
    )
    but when I querying the table repeating the names of student and staff which not gives me report as expected here I attaching code also
     <table align="letf"  style="margin-left: 0px; border: 1px solid black; border-spacing: 0px;"  width="8"> 
            <th style="border: 1px solid black; text-align: center;">Date</th>
            <?php
             $sql133="select distinct date from attendance";
           $sql_row133=mysqli_query($dbConn,$sql133);       
           while($sql_res133=mysqli_fetch_assoc($sql_row133))       {
           $date=$sql_res133["date"];
                 ?>         
           <th style="border: 1px solid black; text-align: center;">
           <?php echo $date;  ?>
       </th>
                    <?php 
               
          $a=$date;
                    $sql13="     
      SELECT   atten.date,atten.time,atten.staffname,atten.id, atten.status, supst.id, supst.staffname
        FROM
         (examcenter.attendance atten INNER JOIN examcenter.supportstaff supst ON
             atten.id = supst.id) where atten.date='$a'    group by supst.staffname,supst.id ORDER BY
        atten.id ASC    ";
                     $sql_row13=mysqli_query($dbConn,$sql13);
                 while($sql_res13=mysqli_fetch_assoc($sql_row13))      {
                 $staffname=$sql_res13["staffname"];
             $status=$sql_res13["status"];
                                           ?>
            
            <tr>
               <td><?php echo $staffname; ?></td>
            <td><?php echo $status; ?></td>
           
        <?php
           }
           }
          
         ?>
        
    </table>
    please guide what do to create a report as expected
     
    Name/Date

     12-11-2013         

    13-11-2013 16-11-2013 Student name1 P             A A Staffname 1 P P A
    awaiting valuable reply

    post-142470-0-65703300-1389805691_thumb.jpg

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.