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 websi
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
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: syntax error, unexpected
-
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'."*\
u'd told your mail client to do the
>> > latter.
>> >
>> > -Stut
>> >
>> > > On 1/2/07, zoticaic <[EMAIL PROTECTED]
>> > <mailto:[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:[EMAIL PROTECTED]
t; --
>> > 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]
[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>
> >> --
> >> > My Seeding Blog | http://bytes.nullp0inter.com
> >> > Hire me as Freelancer |
> >> http://www.getafreelancer.com/affiliates/shockx/
> >> > -Original Message-
> >&g
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
ter.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] Please help me
>
> When I send a mai
nju Prasad [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 02, 2007 5:13 PM
> To: php-general@lists.php.net
> Subject: [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.
> Please l
et
> Subject: [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.
> Please let me know if there's any way of how to tackle with this.
You need to add some headers that should indicate th
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.
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
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 $key) {
if(!in_array($key, $_SESSION[
@lists.php.net
Subject: [PHP] Please help me with a query
First of all I'm sorry for my english I don't know speak very well, I will
try to explain it, I hope you understain what I need.
I have two tables: centers and peoples, in table centers I have the centers
values and in table peoples
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
First of all I'm sorry for my english I don't know speak very well, I will
try to explain it, I hope you understain what I need.
I have two tables: centers and peoples, in table centers I have the centers
values and in table peoples I have the peoples values and in table columns
center the id
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 p
text file problem
read text file to array string. I use function File(). but when I display
data in text file it compress space in each lines such as first record
contain "1_2__3__4__" ( _ = blank )
when store in array string is "1 2 3 4" . I want you tell me howto do?
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
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 form instead of
just a variabl
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:
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:
23:52:08 EST, Timestamp=1076475128
18:52:08 GMT, Timestamp=1076457128
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
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 fields from the database.. so for example there are many rows there(
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
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]
&
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?
Regards..
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
Hi all..
I hope you can help me..
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 TextBox or
something li
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
Hi all..
I'm a beginner in PHP.. And I'm working on a project.. I want your help please to
learn how to :
1- MD5 with PHP values.
2- Random values in PHP.
3- Inserting values to mySQL DB by PHP and importing from them also to send echo. (For
example : after MD5 some strings in PHP I want to i
-- Original Message -
From: "Rausch Alexandru" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 26, 2003 8:50 PM
Subject: [PHP] Please HELP me
I have some problem with uploading a file from my harddisk using a ftp
connection.
Here are the 2 files:
test.php c
I have some problem with uploading a file from my harddisk using a ftp connection.
Here are the 2 files:
test.php contains the form:
Titlu gif
::
and test2.php is the script for upload :
";
}
$util=strtolower($util);
$destination="tit.gif";
if(ftp_put($con, $destination, $util,
Hello all,
I am having problems with a script. The script works great on one of my
sights, however, when I transferred it to another site, it does not
function. I contacted my hosting company (both sites are on the same
server), they told me that I needed to check the script and that it has
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
this is the message of the ERROR:
PHP has encountered an Access Violation at 012B7DE7
what this
Ysrael Guzmán Meza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all:
I was working with PHP 4.0.6, ISAPI on a Win2000, IIS server, ; now I install PHP
4.1.2 on the same server but CGI module and I'm geting the following errors when I try
to run any script:
Security Alert! PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-
"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
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 course wrong.
http://adam:9000//usr/loca
55 matches
Mail list logo