whenever you want to print HTMLs in your code you don't need to call echo or
print everytime.
You can use plain HTML in your php code this way.
your HTML code
your HTML code
or you can use HEREDOC to print long string ( http://in.php.net/types.string)
- Jignesh
On Fri, Apr 10, 2009 at 12:37 P
kunal sharma wrote:
Hello,
I'm building my own website without any knowledge of PHP, & i'm almost done
with that..as my website works fine on my local server
i:e WAMPSERVER 2.0,
but the same code is not working on server...n i'm rilli 'd of coz of
that...
The error is :"PHP Parse error: syn
> Date: Fri, 10 Apr 2009 08:33:10 +0530
> From: usang...@gmail.com
> To: php-general@lists.php.net
> Subject: [PHP] Please Help Me ASAP
>
> Hello,
> I'm building my own website without any knowledge of PHP, & i'm almost done
> with that..as my website works fine on my local server
> i:e WAMPS
Jason Pruim
On Apr 9, 2009, at 11:03 PM, kunal sharma wrote:
Hello,
I'm building my own website without any knowledge of PHP, & i'm
almost done
with that..as my website works fine on my local server
i:e WAMPSERVER 2.0,
but the same code is not working on server...n i'm rilli 'd of
c
-
From: Steven Macintyre [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 02, 2007 2:44 PM
To: php-general@lists.php.net
Subject: RE: [PHP] Please help me
> When I send a mail using php using mail(), and using html tags in
> message
> body , these tags are being displayed as it is.
>
> When I send a mail using php using mail(), and using html tags in
> message
> body , these tags are being displayed as it is.
> Please let me know if there's any way of how to tackle with this.
I use phpmailer for all my email sending ...
Never had a problem with it
S
--
PHP General Mailing
# [EMAIL PROTECTED] / 2007-01-02 15:35:26 +0530:
> my problem got solved in gmail, but now i am not getting mails any where
> else...
> headers now i am using is:
>
> $headers = 'MIME-Version: 1.0'."*\n*".'Content-type:
> text/html;charset=iso-8859-1'."*\n*".'Content-Transfer-Encoding:
> 8bit'."*\
use and/or study this nice bit of code (well I like it anyway, Manuel Lemos
probably
diagrees :-)
http://phpmailer.sourceforge.net/
Anju Prasad wrote:
> my problem got solved in gmail, but now i am not getting mails any where
> else...
> headers now i am using is:
>
> $headers = 'MIME-Ve
my problem got solved in gmail, but now i am not getting mails any where
else...
headers now i am using is:
$headers = 'MIME-Version: 1.0'."*\n*".'Content-type:
text/html;charset=iso-8859-1'."*\n*".'Content-Transfer-Encoding:
8bit'."*\n*".'From:'.$sitename."*\n*".'return-path:'.$from;
On 1/2/07
Please don't reply to me directly. Always include the list in replies.
Anju Prasad wrote:
Headers i am using:
$headers = "MIME-Version: 1.0*\r\n*
Content-type: text/html;charset=iso-8859-1*\r\n*Content-Transfer-Encoding: 8bit
*\r\n\r\n*From:$sitename*\r\n*return-path:
$from";
Message body:
$m
actually this problem i am getting only when sending mail in gmail,
otherwise everywhere its coming correctly and fine
On 1/2/07, Anju Prasad < [EMAIL PROTECTED]> wrote:
Headers i am using:
$headers = "MIME-Version: 1.0*\r\n*
Content-type: text/html;charset=iso-8859-1*\r\n*Content-Transfer-Enco
emails.
--
> Outsource Now | GetAFreelancer
<http://www.getafreelancer.com/affiliates/shockx/>
_
From: Anju Prasad [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 02, 2007 5:26 PM
To: zoticaic
Cc: php-general@lists.php.net
Subject: Re: [PHP] Please help me
I am doing
Anju Prasad wrote:
I am doing that but still not getting any fruitful results.
Show us exactly what you're doing. If your mail client is not displaying
the email as HTML one of two things is happening. 1) You're not telling
it it's an HTML email, or 2) your mail client is ignoring the headers
I am doing that but still not getting any fruitful results.
On 1/2/07, zoticaic <[EMAIL PROTECTED]> wrote:
--
> My Seeding Blog | http://bytes.nullp0inter.com
> Hire me as Freelancer | http://www.getafreelancer.com/affiliates/shockx/
> -Original Message-
> From: Anju Prasad [mailto:[E
--
> My Seeding Blog | http://bytes.nullp0inter.com
> Hire me as Freelancer | http://www.getafreelancer.com/affiliates/shockx/
> -Original Message-
> From: Anju Prasad [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 02, 2007 5:13 PM
> To: php-general@lists.php.net
> Subject: [PHP] Plea
Chris G wrote:
> I have already tried using
>
> foreach($_GET['question'] as $key => $value)
>
> the in_array function does not work with it for some reason.
'does not work with it' ??
use var_dump(); to see what's actually in your variables.
>
>
> On 8/5/06, *Jochem Maas* <[EMAIL PROTECT
Chris G wrote:
> Hi all
>
> I have been stuck on this problem for 4 hours. Please anyone that can help
> here I would appreciate it.
>
> If I print_r($_GET) I have
>
> Array ([question] => Array ( [10] => 1 [11] => 2 [12] => 1 [13] => 1)'
>
>
> So now I try
>
> foreach($_GET['question'] as $k
Your query is wrong. You are selecting only one result yet you are
referencing three. I suggest...
SELECT * FROM centers ORDER BY idc asc
Jef
-Original Message-
From: Jesús Alain Rodríguez Santos [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 8:49 AM
To: php-general@lists.php.
if you want to ask a question don't be so lazy as to
simply reply to a post in an existing thread - it's considered
rude.
send a new email.
Jesús Alain Rodríguez Santos wrote:
...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 2/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> $filename =3D "c:data.txt";
> $contents =3D file($filename);
> echo $contents;
> ?>
> // data in text file is "1_2_3_4" < _ =3D blank>
> // output is "1 2 3 4"
> // I want fixed possition . please help me ?
I'm not really sure
ntable characters, I
suggested he substitute for the blank spaces. He also said "I want
fixed possition . please help me ?", and so I tried to help.
Regards,
HTD
- Original Message -
From: "Barry" <[EMAIL PROTECTED]>
To:
Sent: Thursday, February 16, 2006 12:37
Hugh Danaher wrote:
If you want to preserve the blank spaces then try;
str_replace(" ", " ", $contents); // is html for blank space.
HTH
HTD
no he don't:
qote:
> read text file to array string
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General
If you want to preserve the blank spaces then try;
str_replace(" ", " ", $contents); // is html for blank space.
HTH
HTD
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, February 15, 2006 10:26 PM
Subject: [PHP] please help me I try to post my question to Php.net 2
Carraccia, Giuseppe wrote:
Hello, can you please help me send an html email using php instead of
just simple text output. I'm trying to have the user fill out a form (
https://www.smilerochester.com/medical_form.html ) and have the exact
same form emailed to me with the same pretty format of a for
Hello Giuseppe,
Thursday, April 28, 2005, 2:22:20 PM, you wrote:
CG> Hello, can you please help me send an html email using php instead of
CG> just simple text output. I'm trying to have the user fill out a form (
CG> https://www.smilerochester.com/medical_form.html ) and have the exact
CG> same
On 11 February 2004 20:26, Richard Day wrote:
> Hello:
>
>
> Environment:
> Linux server
> PHP 4.3.4
>
> This code:
>
> echo ''.strftime('%T %Z',mktime()).', Timestamp='.mktime();
> echo ''.strftime('%T GMT',gmmktime()).',
> Timestamp='.gmmktime();
>
> yields this result:
>
>
Hello
This is a PHP list not an activex list.
Radwan Aladdin wrote:
Hi all..
I have in my database the fields :"CourseTitle, Language1, Language2, Language3, Language4, Language5, Language6...Etc.."
Now what I want to make is : By using an ActiveX Control I want to retrive the values for these f
Radwan Aladdin wrote:
Hi all
Is it possible in mySQL to put a timer that changes a value inside a row in a table every while?
For example : Add "1" to the value very 10 minutes for example.. Field number = 5 after ten minutes = 6 after another 10 minuste = 7..Etc..
Is it possible?And how?
Rega
JORDAN
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Please help me as fast as possible.. very important!!
Where can I fin tutorials about it? (CRON Tab)?
Regards..
- Original Message -
From: "Nick JORDAN" <[EMAIL PROTECTED]>
To: "Radwan Aladdin
Sent: Tuesday, January 20, 200
Im not sure about php but if you are desperate then you could also do it in
VB with a timer control.
-Original Message-
From: Radwan Aladdin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 11:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Please help me as fast as possible.. very imp
From: "Radwan Aladdin" <[EMAIL PROTECTED]>
To: "Nick JORDAN" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 12:05 PM
Subject: Re: [PHP] Please help me as fast as possible.. very important!!
> Where can I fin tutorials abou
http://www.google.com/linux?hl=en&lr=&ie=ISO-8859-1&q=cron+tutorials&btnG=Google+Search
> -Original Message-
> From: Radwan Aladdin [mailto:[EMAIL PROTECTED]
> Sent: 20 January 2004 10:05
> To: Nick JORDAN
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP]
Where can I fin tutorials about it? (CRON Tab)?
Regards..
- Original Message -
From: "Nick JORDAN" <[EMAIL PROTECTED]>
To: "Radwan Aladdin
Sent: Tuesday, January 20, 2004 1:56 PM
Subject: Re: [PHP] Please help me as fast as possible.. very important!!
> > Is
I've never done it but I can only imagine you'd need to run some sort of CRON job to
effect this at regular intervals.
HTH,
Michael Egan
> -Original Message-
> From: Radwan Aladdin [mailto:[EMAIL PROTECTED]
> Sent: 20 January 2004 09:45
> To: [EMAIL PROTECTED]
> Subject: [PHP] Please he
SASSINC Internet Solutions - Arabic Department wrote:
How to retrieve data from a PHP file?
(The value that will be retrieved of course
it is echoed in the PHP file, and it will be
shown in a TextBox in my VB program.. so I want
to retrieve it to my EXE VB program that will
put it inside a Te
Hello,
Friday, January 16, 2004, 11:54:26 AM, you wrote:
SISAD> I'm a beginner in PHP.. And I'm working on a project..
SISAD> I want your help please to learn how to :
SISAD> 1- MD5 with PHP values.
$md5 = md5($variable);
SISAD> 2- Random values in PHP.
$min = 1;
$max = 100;
$random = mt_rand
You're not giving us much to work with here. What's the actual problem?
Regardless, I can see a couple of thing wrong here.
1. You're trying to do a multipart/form-data transfer using GET. You need
to use POST.
2. Unless you've got register_globals on, and even if you do, you should be
referenc
Means php tried to access memory page address it did not have. Try to
find out if it was php itself or a loaded module, then upgrade the
offending
part and see if it still happens again.
Ysrael Guzmán wrote:
this is the message of the ERROR:
PHP has encountered an Access Violation at 012B7DE7
"Johan Vikerskog (ECS)" wrote:
> ok.
> I have this problem of mine which i dont know how to solve. therefor i use this
>great mailing list.
>
> Lets say i have a URL that looks something like below. This URL was generated from a
>program that starts netscape with this adress. This adress is of
39 matches
Mail list logo