Jump to content

santosh22

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by santosh22

  1. someone suggested me to use this plug-in. Scriptx

     

    I will see if that suits my needs. I have tried the PDF file one, but it also has the same problem of alignment. I am going to use one browser but again the challenge is some css is not working in different versions. 

     

    Thanks for all suggestion. IF there are any more, I would love to welcome.. 

  2. Hi,

     

    I need to get dynamic contents (name & address) from database and have them printed in labels. 

     

    I am preparing a HTML page with the right height, width & margins defined for the type of labels (AVERY). However, while printing those, I feel it is not having right effect on the alignment. 

    Based on the text length, the labels get printed over eachother & margins are not aligned.

     

    Can you please suggest a browser plug in which would take my content & give me rightly aligned output from the printer? I am using a normal HP printer.

     

    Thanks 

  3. Well, I have completed the changes. By doing this, I am using a single object in all of my components that access db in a php page. i m hopeful that it will improve my performance, else i will again see you guys in this forum.

     

    thanks for all your help. This forum is really helpful for every question I have. 

  4. Hi,

    I am using a grid function which creates a data grid based on the query provided. this is rich & now i find that i need to convert all functions into mysqli compatible. 

     

    below are the error lines

     

                // execute the query through the "database" object
                $this->queryResult = $this->dbRefference->query($this->query);
                // get the total number of records in the result (ignoring the LIMIT)
                $this->totalRecords = $this->dbRefference->foundRows;
     
    this shows error as "Notice: Undefined property: mysqli_ext::$foundRows "
     
    attaching the file for reference.
     
    any help is highly appreciated.
     
    Thanks

    class.datagrid-backup.php

  5. Hi All,

     

    I have created a PHP Class file which is called from my php page. This class contains many functions to do the database operations. 

     

    For the database operations, I have created a different class (db.inc.php) which is included in my calling page. 

     

    however, for each of the functions that I call from the class to do a database operation, I need to include the db.inc.php class in order to execute the functions. Kindly help me in avoiding this.

     

    Calling PHP Page:

    include "inc/db.inc.php";
     
     
    PHP Class Functions:
    function __construct()
    {
    include "db.inc.php";
    $db = new mysqli_ext($mysql_hostname, $mysql_username, $mysql_password, $mysql_database);
     
    }
     
    public function request_app($app_id)
    {
    include "db.inc.php";
    $arr_details; 
      $db = new mysqli_ext($mysql_hostname, $mysql_username, $mysql_password, $mysql_database);
    $arr_details = $db->select("select a.*, b.APPL_NAME from tbldetails a, tbltype b where a.APPL_ID = b.APPL_ID and a.ID = ?", 's', $app_id);
    return $arr_app_details;
    }
     
     
    If I remove the include from the above function, it just does not work. 
     
    Thanks.
     
  6. Thanks for the response .. 

     

    Below is the answer to your queries.

     

    Input I get from the user: Name of the recipients, & the content to be printed. (more than one recipients)

    Search in the database: Search the name of the recipients in the user table and fetch the address for each of them.

    Journal Output : At the top address of the user followed by the content printed by the user

     

    I use mysql database.

     

    Thanks again 

  7. Hello,

     

    I have working on a PHP application which would print journals. The user will type in the content (rich editor with formatting) and select the recipients.

     

    Upon submit, my code would need to fetch the address details of the selected recipients from database & use the content typed by the user to print a separate hard copy for each of the selected recipients. 

     

    Till now, I had been working on static printing using JavaScript. This is new to me. Any idea to design the code in order to get the iterative print is highly appreciated.

     

    Many Thanks

  8. well, i followed instructions given in the symfony website to set it up in my local server. but i could not do it. I would appreciate if you can help me with some online documentation which would help me in setting up the library.

  9. I am working on a custom application design which is going to be used for tracking the document (by physical location) & some short of billing. 

     

    I have gone through CakePHP & CodeIgniter but I am not sure if those are helpful to build up custom applications like this. Can anyone suggest a simple framework for me. I am looking forward to the below

     

    1. simple functions to manage common activities like interacting with database, managing session etc.

    2. Good security module with Hashing and other security features

    3. In-build functionalities like data grid, pagination etc. 

     

    Any help is highly appreciated. 

×
×
  • 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.