Haluk,
After you retrieve the date from the database you still have to convert it
from a string to time and then to a date. Try:
Terry
On 2 May 2012 22:36, Haluk Karamete wrote:
> This is my code and the output is right after that...
>
> $PDate = $row['PDate'];
> //row is tapping into ms-sq
Tom,
Here is how you would paginate in PHP.
//
// Number of records to show per page:
$display = 4;
// Determine how many records there are.
if (isset($_GET['np'])) {
$num_pages = $_GET['np'];
} else {
$query = "SELECT * FROM mytable";
$query_result = mysql
Terry Ally (Gmail) wrote:
Here is how you would paginate in PHP.
Terry - Tom is not trying to create this in PHP, but read existing ASP pages.
Tom - I don't think that it's simply a matter of the ASP code here, but rather
how they have constructed the set of information they are sending back.
I'm currently seeing this in 5.3.10, although it's an intermittent
problem I've seen earlier versions too. Occasionally I get a "maximum
execution time" error when calling fclose() on a parallel port file
descriptor. Code looks like this:
$fp = fopen('/dev/lp0','w');
if ($fp){
fwrite($fp,$LongS
Thanks Lester.
On Thu, May 3, 2012 at 3:49 AM, Lester Caine wrote:
> Terry Ally (Gmail) wrote:
>>
>> Here is how you would paginate in PHP.
>
>
> Terry - Tom is not trying to create this in PHP, but read existing ASP
> pages.
>
> Tom - I don't think that it's simply a matter of the ASP code here,
Do you know if the mailto script allow set headers?
Probably you must set a html header, something like this
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
Regards,
Gerardo.
On Tue, May 1, 2012 at 5:14 PM, Marco Behnke wrote:
>
>
> Am 29.04.2012 22:31, schrieb Terry Ally
Hi all,
This question is now closed.
There is nothing wrong with my script.
It was an error by Google when they switched over to the new-look email and
have since rectified the issue and all is back to normal.
Thanks to all who have responded.
Terry
On 3 May 2012 21:05, Gerardo Benitez wro
At 06:47 PM 5/2/2012, Matijn Woudt wrote:
On Wed, May 2, 2012 at 11:43 PM, Ethan Rosenberg
wrote: > Dear list - > >
Sorry for the attachment. Â Here are code
snippets --- Ethan, I don't want to sound rude,
but it appears to me you don't have any
understanding of what you're doing. It might
Hi,
I've spent hours researching this with no luck. I have a PDF with a form
field that I want to populate and output the PDF. Can someone point me in
the right direction? Can FPDF do this natively, or I need something else?
My host doesn't have PDFLib installed, so that's not an option. Than
On May 3, 2012 9:08 PM, "David OBrien" wrote:
>
>
> On May 3, 2012 8:53 PM, "Dan Joseph" wrote:
> >
> > Hi,
> >
> > I've spent hours researching this with no luck. I have a PDF with a
form
> > field that I want to populate and output the PDF. Can someone point me
in
> > the right direction? Ca
On May 3, 2012 8:53 PM, "Dan Joseph" wrote:
>
> Hi,
>
> I've spent hours researching this with no luck. I have a PDF with a form
> field that I want to populate and output the PDF. Can someone point me in
> the right direction? Can FPDF do this natively, or I need something else?
> My host doe
On Thu, May 3, 2012 at 9:13 PM, David OBrien wrote:
> I just found fpdfi using Google. It looks like what you need
>
Wow, you said the key phrase in your last e-mail, 'text on top'. I didn't
think of that. fpdi/fpdf does that like a charm, thanks!
--
-Dan Joseph
http://www.danjoseph.me
I need to access a FUNCTION I programmed within a different FUNCTION. Are
these able to be passed like a variable? Or are they able to become like a
$_SESSION variable in nature? How am I able to do this?
I am essentially programming:
===
function name( $flag1, $flag2 ) {
# some PHP
echo
On Thu, May 3, 2012 at 10:12 PM, Ron Piggott wrote:
> I need to access a FUNCTION I programmed within a different FUNCTION. Are
> these able to be passed like a variable? Or are they able to become like a
> $_SESSION variable in nature? How am I able to do this?
>
> I am essentially programmin
On Fri, May 4, 2012 at 4:29 AM, Dan Joseph wrote:
>
> Are these inside classes or anything? If they're just functions, they
> should work fine together, example of 2 working functions together:
>
>
> hellotwo();
>
> function helloone()
> {
> echo "hi 1";
> }
>
> function hellotwo()
> {
>
15 matches
Mail list logo