I've got the following problem:
I'm trying to send a number of messages to a certain number of e-mails,
the e-mails are writen in a text file and I need to findout when the
file is over.
The sample code is under this line , if someone can help me, I'd
apreciate it.
";
$Assunto = "Assunto
Please read the manual on what file() does.
www.php.net/file
It reads a file and assigns each line of it to an array. So $Emails will
be an array with each line of "emails.txt" in an element.
So, to see how many elements you have, you count() them.
$num_emails = count($Emails);
for($Cnt=0;$Cnt
Arpan De,
you have mysql not mssql. Your statement might work if you change it
from mssql_connect()
to mysql_connect()
Hope this helps,
Hugh
- Original Message -
From: "Arpan De" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 6:09 PM
Subject: Re: [PHP] What'
On Tuesday 30 April 2002 09:49, Shane wrote:
> Greetings folks. I'm looking for a solution to make thumbnails from my
> binary files inside my mySQL DB.
>
> Can anyone give me some direction for options besides Image Magick?
Manual > Image functions
--
Jason Wong -> Gremlins Associates -> www.g
Maybe, but I believe he's trying to connect to MSSQL, which uses mssql_*
functions.
---John Holmes...
> -Original Message-
> From: hugh danaher [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 29, 2002 8:36 PM
> To: php
> Subject: Re: [PHP] What's wrong
>
> Arpan De,
> you have mysq
Hello all,
How can i force a transfer to another php page from an if statement?
I have been trying:
if (condition){
echo "Link";
}
else {
something else
}
without much luck, i keep getting parse errors. Thanks for anyhelp in
advance!
Cheers From
baldey_uk
--
PHP General Mailing List (
On Tuesday 30 April 2002 12:36, baldey_uk wrote:
> Hello all,
>
> How can i force a transfer to another php page from an if statement?
>
> I have been trying:
>
> if (condition){
>
> echo "Link";
>
> }
> else {
>
> something else
> }
if (something) {
header("Location: http://www.somewhere.com";
I have a PHP script which gets a parse error on the last line (a
blank line after the last ?>). I really have no idea what could
cause this. I checked for all my closing brackets.
=
Question
__
Do You Yahoo!?
Yahoo! Health - your guide to hea
That's the only likely solution -- missing }'s.
Unless you're working on a mac, in which case the unix machine might be
reading your entire file as one line, hence not giving you an acurate line
for the error.
I do my editing in BBEdit, which the option of saving all files in unix or
windows or
On Tuesday 30 April 2002 12:40, Ironfroggy wrote:
> I have a PHP script which gets a parse error on the last line (a
> blank line after the last ?>). I really have no idea what could
> cause this. I checked for all my closing brackets.
Check for missing braces } & semicolons ;, they're the usua
Check again. You're missing a closing bracket or an ending quote...
something along those lines.
---John Holmes...
> -Original Message-
> From: Ironfroggy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 29, 2002 9:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] parse error after ?>
>
>
Here is the file, with unuseful header comments and passwords
removed, of course.
";
?>
http://www.w3.org/TR/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
ironfroggy.com
function SetPageAuthor() seems to be missing a }
:)
Justin French
on 30/04/02 3:19 PM, Ironfroggy ([EMAIL PROTECTED]) wrote:
>
> /* Standard Globals */
> $GLOBALS["PageTitle"] = "ironfroggy.com";
> $GLOBALS["SiteName"] = "www.ironfroggy.com";
> $GLOBALS["STD_PHP_Version"] = "1.0";
> $GLOB
Dear all
I had made a page which import some csv file data into Mysql, when i test
this page, it doesn't show any message or error, but the data didn't load
into mysql table, so is there anyway i could use in php to show me the
status of mysql?
--
Thx a lot!
Jack
[EMAIL PROTECTED]
--
PHP Gen
On Tuesday 30 April 2002 13:56, Jack wrote:
> Dear all
> I had made a page which import some csv file data into Mysql, when i test
> this page, it doesn't show any message or error, but the data didn't load
> into mysql table, so is there anyway i could use in php to show me the
> status of mysql?
201 - 215 of 215 matches
Mail list logo