AIL PROTECTED]]
Sent: 23 July 2001 13:04
To: Sandeep Hundal
Cc: php general list
Subject: RE: [PHP] mail with html
The question is how do I declare the html coding in the message part. Any
samples
Adrian
On Mon, 23 Jul 2001, Sandeep Hundal wrote:
> well all you need to do is use part of the
ught you needed that.
/sunny
-Original Message-
From: Adrian D'Costa [mailto:[EMAIL PROTECTED]]
Sent: 23 July 2001 12:26
To: Sandeep Hundal
Cc: php general list
Subject: RE: [PHP] mail with html
Hi Sandeep,
Thanks for your mail but I was looking at something else. This is what I
need.
Message-
From: Sandeep Hundal [mailto:[EMAIL PROTECTED]]
Sent: 23 July 2001 11:06
To: 'Adrian D'Costa'; php general list
Subject: RE: [PHP] mail with html
here's a script i wrote a while back. copied and pasted.
-
http://www.wde.org/me/";);
here's a script i wrote a while back. copied and pasted.
-
http://www.wde.org/me/";);
mail($to, $subject, $message, $headers);
}
else {
echo "";
$myemail1 = "nothing <[EMAIL PROTECTED]>";
echo "
have a look at other people's codes. you can start by looking at my forum,
which is pretty simple to install and work with
: http://www.wde.org/me/php/
/sunny
-Original Message-
From: Jason Wang [mailto:[EMAIL PROTECTED]]
Sent: 23 July 2001 08:06
To: [EMAIL PROTECTED]
Subject: [PHP] que
i always use such statements like :
if ($submit) { then do this }
else { render the page
}
and it works fine...
-Original Message-
From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2001 15:16
To: Php (E-mail)
Subject: [PHP] if $submit
Whenever I use the ? statement in
hi all!
i need to see if a $variable has a piece of text included in it. how do i do
that?
i need to do something like:
if ($variable =matches= "@monkeys.com") { then do this}
tia!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
what you could do is something like get the unix time, and add an hour to
that, and then use the date function to output the date.
$today = (time() + 3600);
$output = date("F jS Y, h:ia", $today);
hope that helps!
/sunny
-Original Message-
From: Good Fella [mailto:[EMAIL PROTECTED]]
Se
have a look at :
http://www.hotscripts.com/PHP/
and www.devshed.com
and zend.com
sunny
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2001 14:45
To: [EMAIL PROTECTED]
Subject: [PHP] Re: WELCOME to [EMAIL PROTECTED]
Dear sir,
I am new to php.kindly
why not just use a message board?
-Original Message-
From: shaun [mailto:[EMAIL PROTECTED]]
Sent: 14 May 2001 18:15
To: [EMAIL PROTECTED]
Subject: [PHP] achive style message center
i was wondering if anyone has or knows were i can find
an archive style message system much like the php
damn, yeah thats my problem. how do i clear out all variables then??
thanks!
/sunny
-Original Message-
From: Mark Roedel [mailto:[EMAIL PROTECTED]]
Sent: 14 May 2001 14:56
To: Sandeep Hundal; [EMAIL PROTECTED]
Subject: RE: [PHP] my query results won't clear!! :(
> -
hi all,
i'm trying to write a mail application that i will be releasing soon for
people to download, but i've hit a slight bug / problem.
i have an index file with email addresses listed alongside names. each email
address has a checkbox which look something like this:
--
doh! forgot to add, you need to put this in your tage as well :
name="formname" onSubmit="return formCheck()"
regards
/sunny
-Original Message-
From: Sandeep Hundal [mailto:[EMAIL PROTECTED]]
Sent: 14 May 2001 10:43
To: 'Meir Kriheli - MKsoft'; Chris Ma
here's one that i use along with my forms you can ofcourse expand it to
include all forms as long as you change the input names too
hapy coding :)
/sunny
transmitted = 0;
function formCheck() {
if (document.formname.inputname.value == "") {
alert("You need to enter an emai
i'm running a select query on a table, and ihave a form right underneath it,
with similar names to the
information selected in the query above.
yet despite using mysql_free_results before my form starts, it still
keeps the last result of the query 1 in memory :(
are there any solutions??
thanks
-Original Message-
From: Steve Werby [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2001 17:04
To: Sandeep Hundal; php
Subject: Re: [PHP] i need some help with extracting data from mysql
"Sandeep Hundal" <[EMAIL PROTECTED]> wrote:
> i've got a simple problem, yet it
doh! i just realised the difference in $query number, but thats not an issue
in the actual code, i just cleaned that up a bit
/sunny
-Original Message-
From: Sandeep Hundal [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2001 16:49
To: 'bill'; [EMAIL PROTECTED]
Subject: [PHP] i
unfortunately, that doesn't seem to work either. it basically only gives me
on name per group. here's my php:
$query = "SELECT * FROM $tablename WHERE approved='yes' GROUP BY group ORDER
BY group, name";
$result2 = mysql_query($query2);
if ($result2) {
while ($r2 = mysql_fetch_array($result
surely all you need to do is put the php right at the top, and say
if (isset($variable) { print this message }
else {do this
header (); }
i've done that loads of times so the form data goes back to the page, and
once its inserted into the db, it sends a header to redirect.
/sunny
---
hi all,
i've got a simple problem, yet it doesn't work, so i hope someone can
help me out here.
i've got a table with id, group, and name. each group has many names
ofcourse.
now i need to output the data like :
> group1
>name1
>name2
>name3
>group2
>name4
>name5
>group3
>n
there's a simple and free one i'm releasing very soon from my
homepage : http://www.wde.org/me/php/ its got a working example too.
/sunny
--- Kian On <[EMAIL PROTECTED]> wrote: > Hi,
>
> Does anyone know a FREE forum or bulletin board that
> written in PHP? Please give the name or URL.
> I wou
hi all!
just a quick thing. i've got loads of info in mysql, which i extract
and then use a "while ($r = mysql_fetch_array($result)) {" to output
the result.
the only thing is, because its a loop, all results look the same,
whereas i want the first row to be displayed differently than the
next 4
hi all!
i'm trying to get simple 2 line results from mysql in a wml card, but
i can't seem to manage it. here's my code:
");
?>
http://www.wapforum.org/DTD/wml_1.1.xml";>";
";
$result1 = mysql_query($query1);
if ($result1) {
Hi all,
I got two small questions. I'm trying to make an events calendar for
my site, in which I want people to input in future dates, and then
have the database display events by date.
NOw they will probably be given a form which allows them to choose,
and then gets inputted into the datase as
i wrote one a few months back, and use it as a diary. the enhanced
one out for release soon will look more like the slashdot system, but
much easier.
http://www.wde.org/php/
/sunny
--- Chris Anderson <[EMAIL PROTECTED]> wrote: > I prefer to
write my own
> - Original Message -
> From: "Ze
hi all,
just wanted to say thanks to everyone for helping me out with my php
enquires over the last few months. in the general free spirit
ofcourse, i'm going to try and make all the code that i write
available for free download.
anyway, for starters, i've made a simple diary / news system on my
ihi all,
i was reading somewhere on how ASP uses microsoft's xml engine to
transform xml documents which have accompanying xsl stylesheets.
basically what i would like to do is write an xml document, write an
accompanying xsl sheet, and then run a php script on the web so that
an html file is pr
hi all, just a quick question.
i've made a personal addressbook, the code for which i'm going to
release soon (best probably for newbies). anyway, i want to make it
so that i can pass multiple email address from one page to another.
basically it'll be a form select function like :
name1
nam
Thanks a lot for your help everyone!!! It worked!! Woohoo!! Not only
that, I learned about joins! :)
/sunny
--- Steve Werby <[EMAIL PROTECTED]> wrote: > "Sandeep Hundal"
<[EMAIL PROTECTED]> wrote:
> > thanks for the tip steve. i read up on left joins, an
d = comments.id GROUP BY
> comments.id
> > ORDER BY diary.id DESC "
--- Steve Werby <[EMAIL PROTECTED]> wrote: > "Sandeep Hundal"
<[EMAIL PROTECTED]> wrote:
> > SELECT diary.id, diary.thedate, diary.topic, diary.entry,
> > count(comments.id) AS c
Hey all,
I got this massive query, which I hope you'll be able to understand:
SELECT diary.id, diary.thedate, diary.topic, diary.entry,
count(comments.id) AS comments FROM diary, comments WHERE
diary.month='$month' AND diary.id = comments.id GROUP BY comments.id
ORDER BY diary.id DESC "
Basical
Hi all,
I'm basically really struggling with this query, so would appreciate
any pointers on how I could do this. I've included my experimental
code underneath, and need to make it work.
The first query, which I know works, pulls info from a mysql table.
Now for each of my diary entry, I want
All,
can I string 2 sql queries one after the other?
like "select * from $table; select * from $table2;" ???
If I can, does that mean if I use mysql_fetch_array then it'll
convert results from both queries into variables?
TIA
__
Get personalized
Hey guys,
I need an answer to a problem I've been trying to work on for days :(
I made a message board, which has a front page which lists Topic
name, topic started by, and what date. All this info, and the topic
message is stored in one mysql table. when you click on any of the
topics, it leads
Hi All,
just a quick question. Say my script is inserting values into a
database, which has an autoincremental id. Now I usually send out a
mail also with the contents of the inserted stuff. The only problem
is that of the ID field. How can I get the script to determine what
id number was given t
35 matches
Mail list logo