[PHP] PHP Mailto() - Google now displaying HTML as Plain Text

2012-04-29 Thread Terry Ally (Gmail)
Hi all, I have been using a mailto() script for the last three years and from April 25, 2012 incoming HTML email in Goggle mail is displaying as Plain Text. Something clearly changed with Google. Perhaps there is some change I need to make with my script?? // First set up some variables for reci

Re: [PHP] PHP & Database Problems

2012-05-02 Thread Terry Ally (Gmail)
Dear Ethan, It would be useful to see what code you are using. The syntax is: UPDATE table_name SET column1=value, column2=value2,... WHERE some_column=some_value The data that you are required to enter is for Intake3. I am assuming that the only change is the History and/or Phone that you nee

Re: [PHP] date conversion/extraction issues

2012-05-03 Thread Terry Ally (Gmail)
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

Re: [PHP] Retrieve pages from an ASP driven site

2012-05-03 Thread Terry Ally (Gmail)
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

Re: [PHP] PHP Mailto() - Google now displaying HTML as Plain Text

2012-05-03 Thread Terry Ally (Gmail)
at 5:14 PM, Marco Behnke wrote: > > > > > > > Am 29.04.2012 22:31, schrieb Terry Ally (Gmail): > > > >> Hi all, > >> > >> I have been using a mailto() script for the last three years and from > >> April > >> 25, 2012 incoming HTML ema

Re: [PHP] Calculating driving distance between UK postcodes

2012-05-04 Thread Terry Ally (Gmail)
just the distance. I need the distance so that I can calculate cost of a trip. http://maps.googleapis.com/maps/api/distancematrix/json"; method="get"> Get Distance On 4 May 2012 15:08, David OBrien wrote: > Google is still your friend > > On Fri, May 4, 20

Re: [PHP] Date comparison going wrong, wrong, wrong

2012-11-11 Thread Terry Ally (Gmail)
ovember 2012 18:48, shiplu wrote: > You can always use timestamp which is integer. > > $todaydate = time(); > $showenddate = strtotime($showsRecord['end_date']); > > > On Mon, Nov 12, 2012 at 12:30 AM, Terry Ally (Gmail) > wrote: > >> Hi all, >&

Re: [PHP] Date comparison going wrong, wrong, wrong

2012-11-11 Thread Terry Ally (Gmail)
Stuart, I reversed it as you suggested and every future show is displaying as having ended. Terry On 11 November 2012 19:11, Stuart Dallas wrote: > Please include the list when replying. > > On 11 Nov 2012, at 19:08, "Terry Ally (Gmail)" > wrote: > > > What I

Re: [PHP] Date comparison going wrong, wrong, wrong

2012-11-20 Thread Terry Ally (Gmail)
must convert both $todaydate and $showendate with strtotime() > function, then you can compare them. > > On Mon, Nov 12, 2012 at 1:30 AM, Terry Ally (Gmail) > wrote: > >> Hi all, >> >> I am having a problem with comparing time. I am using the following: >> >

Re: [PHP] Date comparison going wrong, wrong, wrong

2012-11-20 Thread Terry Ally (Gmail)
_**date']); > > >> if ($todaydate< $showenddate): >> echo "The date of the show has not yet arrived"; >> else: >> echo "The show has ended"; >> endif; >> >> You must convert both $todaydate and $showendate with strt

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Terry Ally (Gmail)
You could echo HTML code e.g. Number: *Submit* or include it as one of your form attributes: ** First name: Last name: On 4 March 2013 07:16, Maciek Sokolewicz wrote: > On 4-3-2013 6:44, John Taylor-Johnston wrote: > >> I have many different submit button. >> >> >> >> When php

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Terry Ally (Gmail)
I was using an example and NOT intended to show ASP. On 4 March 2013 08:35, Maciek Sokolewicz wrote: > On 4 March 2013 09:32, Terry Ally (Gmail) wrote: > > You could echo HTML code e.g. > Which is still purely HTML and has nothing whatsoever to do with PHP. > > > > &g

Re: [PHP] webform spam prevention

2013-04-04 Thread Terry Ally (Gmail)
I am running captcha but the problem that I am having is that fly-by-night SEO marketeers are using the form to send marketing messages anyway. We get so many spam messages that I put up in red letters on the form that we do not want cold-calling SEO marketing messages. Since that message there has