Jump to content

santosh22

Members
  • Posts

    17
  • Joined

  • Last visited

santosh22's Achievements

Newbie

Newbie (1/5)

0

Reputation

  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. Thanks, I was looking for a guidance or standard where the conversion of mysql to mysqli is provided. I will dig more into internet and get it done.
  5. 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
  6. Hi mac_gyver, I have gone though a few examples. But I did not find anyone which helps in converting the currencies to right category. Appreciate your help. Thanks
  7. Hi, I want to convert the number to figures in words for a transaction amount in UK Currency. For example, if the number is 25.22, the output should come as twenty five pounds and twenty two Pence. Any help is highly appreciated. Many Thanks.
  8. Thanks Barand & Strider64. I have got a better approach for the code with your help. Thanks
  9. Hi Barand, Thanks for your response. I tried your option & now getting the below error. Catchable fatal error: Object of class mysqli_ext could not be converted to string Is there a way to declare the $db as a database object? Thanks.
  10. 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.
  11. Hi Ginerjm This is an excellent reply. I will try this out Thanks..
  12. 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
  13. 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
  14. thanks to all of your response. I have decided to go with YII. I am a beginner and would need to understand why framework first rather than choosing a framework at the first place.
  15. 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.
×
×
  • 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.