₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,347,694 members, 8,528,829 topics. Date: Thursday, 03 December 2026 at 02:38 AM

Toggle theme

Adewasco2k's Posts

Nairaland Forum › Adewasco2k's Profile › Adewasco2k's Posts

1 2 3 4 5 6 7 8 ... 45 46 47 48 49 50 51 52 53 (of 126 pages)

Programming › How To Generate A Word File .doc/.docx Using Php by adewasco2k(op):
Merry Xmas to you all.

I am facing a problem right now and i could use some help.

I will like to know those who have used:

1. Zend Framework component phpLiveDocx or
2. OpenOffice templates

Let me explain what i intend to achieve.

- lets assume i have a template in an Ms word format (not necessarily so, it could be in xml)
the template have something like:



Dear $name,

"<u><b>".$title."</b></u>";

"<p>".$message."</p>";



Now what i want is to populate the above file with variables coming from a form field, then get the filled file in either .doc or .docx

I once came across a plugin that counld do something similar but cant seem to remember the name so i believe somebody here might have done something similar and could give a hint.


Happy holidays guys



Update 1:

i think i found exactly what i want grin

http://www.phpdocx.com/

i will give it a try, suggestions still welcome though

update 2:
Just in case some body needs this read all this

http://stackoverflow.com/questions/124959/create-word-document-using-php-in-linux
http://www.codeproject.com/Questions/297486/Dynamically-generate-a-MS-Word-document-using-HTML
http://www.joelonsoftware.com/items/2008/02/19.html
http://www.phpbuilder.com/columns/yunus20031124.php3
http://webcheatsheet.com/php/create_word_excel_csv_files_with_php.php
Webmasters › Re: How To Successfully Upgrade Mysql Of Wamp Server by adewasco2k(m): 5:19pm On Dec 24, 2013
Nice tuts
Music/Radio › Re: How Many Gospel Songs Do You Have On Your Phone? by adewasco2k(m): 6:45am On Dec 24, 2013
wow, i have 215, how i wish that's the way to measure righteousness sad
Programming › Re: Programmers, What Data Plan Do You Use? by adewasco2k(m): 6:20pm On Dec 21, 2013
temitopecoal: Thanks alot brodas.. Na dat MTN nyt subscription sure nw o. Can u gve me its activation code
see the details here: MTN 4.5GB Data Night Plan for 2500 Naira a Month
Programming › Re: Programmers, What Data Plan Do You Use? by adewasco2k(m): 12:06pm On Dec 21, 2013
temitopecoal: bro, is the 1.5g bonus always everymonth or afta sum mnth dy wuld stop giving u
They will always give you, this is my second this month
TV/Movies › Re: What Is The Scariest Movie You Have Ever Watched? by adewasco2k(m): 11:07am On Dec 21, 2013
Cursed of chukky
Conjurring
Evil dead

I saw this three just this week and all at night, I was screaming mummy
TV/Movies › Re: What Is The Scariest Movie You Have Ever Watched? by adewasco2k(m): 11:03am On Dec 21, 2013
samistry: Anyone seen the conjuring? Heard it occured in real life
Yes, saw it yesterday....it was scary....maybe to me though as I get easily scared....lol
Computers › Re: Huawei USB Modem Unlocker - Download Here! by adewasco2k(m): 6:52am On Dec 21, 2013
Onoriode125: Pls admin or anyone help me unlock my airtel huawei E153 modem
IMEI :356342040485985
49570451
Jokes Etc › Re: Ask Me Anything On Why The Chicken Crossed The Road. by adewasco2k(m): 7:04pm On Dec 20, 2013
Seriously why did the chicken cross the roadhuh

Phones › Re: How To Install Whatsapp On A Nokia S40 Phones by adewasco2k(m): 6:55pm On Dec 20, 2013
How to Install Whatsapp on s40 Java Phones Like Asha 200 & 205

Lindaabiz: Pls after downloading whatsapp on my nokia200,it will shw phn setup ad sty at 27% what should i do
Webmasters › Re: Which Is Better Between Addynamo And Adsense For Blogging? by adewasco2k(m): 8:18pm On Dec 19, 2013
Danjunior: Adsense. Jooor. Even tho i no even no wetin e b
Abi!!!!! grin
Webmasters › Re: Is Blogging This Profitable? How Much Have You Made On It? Liars Pls Swerve by adewasco2k(m): 2:32pm On Dec 19, 2013
DailyNews: Just to tell u how powerful that blog is, Seun blocked it on his forumgringrin

Anyway, here it is:

ngozika nwiro ..com. Type all words together, try using a computer to visit and come back to say a word. I will be helping first 10 newbie bloggers to re-design their blog to look like mine for free. The promo starts now that I am freegringrin
NO sir, seun didnt block it because of its awesomeness but because of your banner signature promoting the blog.
Webmasters › Re: Is Blogging This Profitable? How Much Have You Made On It? Liars Pls Swerve by adewasco2k(m): 11:13am On Dec 19, 2013
^ all you guys asking for his url, you dnt know dailynews? Check his posts.

BTW nice on dailynews
Webmasters › Re: Is Blogging This Profitable? How Much Have You Made On It? Liars Pls Swerve by adewasco2k(m): 6:39am On Dec 19, 2013
festuskol: u r a very, tall, fat liar.
Where is ur proof? Show us ur blogsite. Let us be d judge.
who the Bleep are you to be the judge?
Webmasters › Re: Is Blogging This Profitable? How Much Have You Made On It? Liars Pls Swerve by adewasco2k(m): 12:52am On Dec 19, 2013
I have made
#Looks for calculator


N777,600 in ~12months
Webmasters › Re: Is Blogging This Profitable? How Much Have You Made On It? Liars Pls Swerve by adewasco2k(m): 12:11am On Dec 19, 2013
scribble: Google adsense is crap. had it up briefly in July. was set to make N80,000 my first month but Google f**ked me.

Its all right, i have a different kind of vision.

Google adsense can keep their cheese.

Im working on a few new programs a consultant just sent to me from USA, i hope those will hit pay dirt...

hard to tell if the demographic from American origin ads is there although my analytics tell me I have some traffic from USA...infact I will put it up...

Going hard with a Facebook campaign soon....

too think i was going to venture into investment banking...
http://medianexus.com/ contacted me few weeks back, i will try them out next year
Autos › Re: Toyota Highlander 2005 Model For Sale At N2.4M by adewasco2k(m): 10:51pm On Dec 18, 2013
The car is clean but hey 2.4M is too high, it should be within 1.8M to 2.2M
Programming › Re: Serious Error On My PHP Line Code by adewasco2k(m): 7:23pm On Dec 18, 2013
webdezzi: why not use relative paths?

e.g


it will give you less headache when you want to use a web host
That is not even his problem, backslash just before the single or double will escape the quote there by giving error, so he needs a fix to that even if he applies your way, which truly will help him when uploading to a host
Programming › Re: Serious Error On My PHP Line Code by adewasco2k(m): 10:12am On Dec 18, 2013
keleobasi: I have the code below in my php work but it shows error.


<?php

$main_path = "C:\xampp\htdocs\keleobasi\";
$include_path = "C:\xampp\htdocs\keleobasi\includes\";

?>


the trailing backslash (\) before the closing double quote ("wink makes the PHP see it that the string is not yet finished. Someone help
Simple: use double backslash, backslash in php denotes and escape character.

So you will use a backslash to escape the backslash. grin
Romance › Re: Backside View Of My Girlfriend "Hot Or Not"lol by adewasco2k(m): 10:10pm On Dec 17, 2013
you guys made him remove the pix without me seeing it? no cool sad
Webmasters › Re: Is Blogging This Profitable? How Much Have You Made On It? Liars Pls Swerve by adewasco2k(m): 9:46pm On Dec 17, 2013
macklef: hmmmm, thank u all. For urr sugestions. Am pleased no 1 has lied dat he/she too makes millions a year. Lol. Thank u too compyla for bein nice. But one more thing, must one be a perfect writter, in terms of punctuations n gramatical structure n tenses to make it in bloging? In other words can i gbagaun sometimes?
lol, though good grammer is good for blogging but believe me its no problem or anything to worry about

1 2 3 4 5 6 7 8 ... 45 46 47 48 49 50 51 52 53 (of 126 pages)