Archives : February-2020

Q(Question): Hi there, I wonder if anyone can tell me if it’s possible with PHP to generate an graphic like this: (or see attachement) (see image in high resolution here, in PDF here or other examples here) In the moment, it’s a Javascript which is used in Illustrator to read data from the UNEP GEO ..

Read more

Q(Question): Hi:) I have a series of pages that are totally static [no db required]. I dont want to use databases unless it is impossible. The contents of this page is stored in the main div section named maincontent. Is there anyway i could update that section only from PHP? That is, make changes to ..

Read more

Q(Question): I have a site I want done in PHP. Started off in JomSocial (we didn’t know any better) but now, with guidance we’ve been put on track and wish to start fresh. Any takers please msg me. A(Answer): if you want it done by someone, you should rather post in the jobs forum. A(Answer): ..

Read more

Q(Question): I need to change an existing listings page with pagination. Each page shows 10 listings and they are ordered by the date they are added to the site. Now recently added listings show up in the first page. I need to get all the listings to come on the first page by rotating the ..

Read more

Q(Question): I am getting error on signup at <URL removed at request of poster> PHP Fatal error: Uncaught exception ‘Swift_RfcComplianceException’ with message ‘Address in mailbox given [] does not comply with RFC 2822, 3.6.2.’ in C:\HostingSpaces\makemycr\makemycreative.in\wwwroo t\source\inc\php\swift\classes\Swift\Mime\Headers\ MailboxHeader.php:319 Stack trace: #0 C:\HostingSpaces\makemycr\makemycreative.in\wwwroo t\source\inc\php\swift\classes\Swift\Mime\Headers\ MailboxHeader.php(249): Swift_Mime_Headers_MailboxHeader->_assertValidAddress(”) #1 C:\HostingSpaces\makemycr\makemycreative.in\wwwroo t\source\inc\php\swift\classes\Swift\Mime\Headers\ MailboxHeader.php(107): Swift_Mime_Headers_MailboxHeader->normalizeMailboxes(Array) #2 C:\HostingSpaces\makemycr\makemycreative.in\wwwroo t\source\inc\php\swift\classes\Swift\Mime\Headers\ MailboxHeader.php(71): Swift_Mime_Headers_MailboxHeader->setNameAddresses(Array) ..

Read more

Q(Question): Greetings! I have a php page where I need to redirect the request but for this i need a script loaded first.. Something like: <script language="JavaScript"> function StatusChange(text) {window.status = text; window.status = ”} </script> and later… header("Location: javascript: StatusChange (‘screen’)"); How is this possible when PHP demands the redirect code BEFORE any header? ..

Read more

Q(Question): Is there a class for converting HTML file to PDF document? A(Answer): I don’t know. If only there were a way to search the internet for such things… O wait! Google: PHP class for converting HTML file to PDF A(Answer): @Atli If I didnt do that I wouldn’t post here. Thank You. Anybody with ..

Read more

Q(Question): Hi, I want to insert multiple rows in a database table, from an submit form. But not able to trouble shoot the problem in my code. Following is the code. <form action=test_insert.php method="post"> <table> <?php for($i=0; $i<10; $i++) { ?> <tr> <td><input type="text" name="employee_id" value="0" size = "2" ></td> <td><input type="text" name="task_no" value="0" size ..

Read more