php-windows Digest 13 Apr 2010 08:37:27 -0000 Issue 3788

Topics (messages 30009 through 30018):

Re: Mail Function Not Working
        30009 by: Keith Davis
        30010 by: Richard Quadling
        30011 by: Alice Wei
        30012 by: Sascha Meyer
        30013 by: Keith Davis
        30014 by: Alice Wei

Send Mail from PHP Using SMTP Authentication
        30015 by: Alice Wei
        30016 by: Ferenc Kovacs
        30017 by: Niel Archer

Trouble running a select query against a database, when I know the connection 
is working, and the data is there
        30018 by: Jacob Kruger

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Why are you using Live's SMTP servers? Is this hosted on live.com? If it
is not, I am sure they will require authentication, if thy allow for
this at all. If it is hosted there, probably needs to be localhost as
the smtp server.

Keith Davis (214) 906-5183

-----Original Message-----
From: Alice Wei [mailto:aj...@alumni.iu.edu] 
Sent: Monday, April 12, 2010 8:20 AM
To: php-wind...@lists.php.net
Subject: [PHP-WIN] Mail Function Not Working







Hi, 

I have an issue here where I see no PHP errors on my mail function
usage, and yet I am not getting the mail in the desired account. Here is
what I have for my PHP code:

$headers = "From: aj...@alumni.iu.edu" ; $to =  $email; $subject =
"Comments Regarding My Site"; $body = "From: $your_name\n E-Mail: 
$email\n Reason Contact: $question\n Comments:\n $comments"; mail($to,
$subject, $body,$headers);

This is what I have in my PHP.ini:

[mail
 function]
; For Win32 only.
SMTP = smtp.live.com
smtp_port =
587

; For Win32 only.
sendmail_from = aj...@alumni.iu.edu

;
 For Unix only.  You may supply arguments as well (default: "sendmail -t
-i").
;sendmail_path =

; Force the addition of the specified
parameters to be passed as extra parameters ; to the sendmail binary.
 These parameters will always replace the value of ; the 5th parameter
to mail(), even in safe mode.
;mail.force_extra_parameters =

Yet, I don't see any mail in the mail box with the address $email is at.
Can anyone on the list please give me some pointers on what I may have
done wrong here? 

Thanks for your help.
Alice
 
        

_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from
your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:
ON:WL:en-US:WM_HMP:042010_2

This message (including any attachments) may contain confidential or otherwise 
privileged information and is intended only for the individual(s) to which it 
is addressed. If you are not the named addressee you should not disseminate, 
distribute or copy this e-mail. Please notify the sender immediately by e-mail 
if you have received this e-mail by mistake and delete this e-mail from your 
system. E-mail transmission cannot be guaranteed to be secured or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses. The sender therefore does not accept liability 
for any errors or omissions in the contents of this message or that arise as a 
result of e-mail transmission. If verification is required please request a 
hard-copy version from the sender.

www.pridedallas.com


--- End Message ---
--- Begin Message ---
On 12 April 2010 14:47, Keith Davis <keithda...@pridedallas.com> wrote:
> Why are you using Live's SMTP servers? Is this hosted on live.com? If it
> is not, I am sure they will require authentication, if thy allow for
> this at all. If it is hosted there, probably needs to be localhost as
> the smtp server.
>
> Keith Davis (214) 906-5183
>
> -----Original Message-----
> From: Alice Wei [mailto:aj...@alumni.iu.edu]
> Sent: Monday, April 12, 2010 8:20 AM
> To: php-wind...@lists.php.net
> Subject: [PHP-WIN] Mail Function Not Working
>
>
>
>
>
>
>
> Hi,
>
> I have an issue here where I see no PHP errors on my mail function
> usage, and yet I am not getting the mail in the desired account. Here is
> what I have for my PHP code:
>
> $headers = "From: aj...@alumni.iu.edu" ; $to =  $email; $subject =
> "Comments Regarding My Site"; $body = "From: $your_name\n E-Mail:
> $email\n Reason Contact: $question\n Comments:\n $comments"; mail($to,
> $subject, $body,$headers);
>
> This is what I have in my PHP.ini:
>
> [mail
>  function]
> ; For Win32 only.
> SMTP = smtp.live.com
> smtp_port =
> 587
>
> ; For Win32 only.
> sendmail_from = aj...@alumni.iu.edu
>
> ;
>  For Unix only.  You may supply arguments as well (default: "sendmail -t
> -i").
> ;sendmail_path =
>
> ; Force the addition of the specified
> parameters to be passed as extra parameters ; to the sendmail binary.
>  These parameters will always replace the value of ; the 5th parameter
> to mail(), even in safe mode.
> ;mail.force_extra_parameters =
>
> Yet, I don't see any mail in the mail box with the address $email is at.
> Can anyone on the list please give me some pointers on what I may have
> done wrong here?
>
> Thanks for your help.
> Alice
>
>
>
> _________________________________________________________________
> Hotmail is redefining busy with tools for the New Busy. Get more from
> your inbox.
> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:
> ON:WL:en-US:WM_HMP:042010_2
>
> This message (including any attachments) may contain confidential or 
> otherwise privileged information and is intended only for the individual(s) 
> to which it is addressed. If you are not the named addressee you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately by e-mail if you have received this e-mail by mistake and delete 
> this e-mail from your system. E-mail transmission cannot be guaranteed to be 
> secured or error-free as information could be intercepted, corrupted, lost, 
> destroyed, arrive late or incomplete, or contain viruses. The sender 
> therefore does not accept liability for any errors or omissions in the 
> contents of this message or that arise as a result of e-mail transmission. If 
> verification is required please request a hard-copy version from the sender.
>
> www.pridedallas.com
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

The recipient (held in $email) needs to be an address held on the
live.com server.

You will not be able to use the live.com mail servers to send email to
me (at GMail.com), for example.

That is called relaying and more specifically, due to the lack of
security, an open relay.

If you want to use live.com to send email to someone not on their
servers, then you would need to use authentication. This may not be
just a case of a username/password, but also logging into your POP3
mailbox as a proof of a "real" program and user.



-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

--- End Message ---
--- Begin Message ---
> From: rquadl...@googlemail.com
> Date: Mon, 12 Apr 2010 14:54:24 +0100
> To: keithda...@pridedallas.com
> CC: aj...@alumni.iu.edu; php-wind...@lists.php.net
> Subject: Re: [PHP-WIN] Mail Function Not Working
> 
> On 12 April 2010 14:47, Keith Davis <keithda...@pridedallas.com> wrote:
> > Why are you using Live's SMTP servers? Is this hosted on live.com? If it
> > is not, I am sure they will require authentication, if thy allow for
> > this at all. If it is hosted there, probably needs to be localhost as
> > the smtp server.
> >
> > Keith Davis (214) 906-5183
> >
> > -----Original Message-----
> > From: Alice Wei [mailto:aj...@alumni.iu.edu]
> > Sent: Monday, April 12, 2010 8:20 AM
> > To: php-wind...@lists.php.net
> > Subject: [PHP-WIN] Mail Function Not Working
> >
> > Hi,
> >
> > I have an issue here where I see no PHP errors on my mail function
> > usage, and yet I am not getting the mail in the desired account. Here is
> > what I have for my PHP code:
> >
> > $headers = "From: aj...@alumni.iu.edu" ; $to =  $email; $subject =
> > "Comments Regarding My Site"; $body = "From: $your_name\n E-Mail:
> > $email\n Reason Contact: $question\n Comments:\n $comments"; mail($to,
> > $subject, $body,$headers);
> >
> > This is what I have in my PHP.ini:
> >
> > [mail
> >  function]
> > ; For Win32 only.
> > SMTP = smtp.live.com
> > smtp_port =
> > 587
> >
> > ; For Win32 only.
> > sendmail_from = aj...@alumni.iu.edu
> >
> > ;
> >  For Unix only.  You may supply arguments as well (default: "sendmail -t
> > -i").
> > ;sendmail_path =
> >
> > ; Force the addition of the specified
> > parameters to be passed as extra parameters ; to the sendmail binary.
> >  These parameters will always replace the value of ; the 5th parameter
> > to mail(), even in safe mode.
> > ;mail.force_extra_parameters =
> >
> > Yet, I don't see any mail in the mail box with the address $email is at.
> > Can anyone on the list please give me some pointers on what I may have
> > done wrong here?
> >
> > Thanks for your help.
> > Alice
> >
> >
> >
> > _________________________________________________________________
> > Hotmail is redefining busy with tools for the New Busy. Get more from
> > your inbox.
> > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:
> > ON:WL:en-US:WM_HMP:042010_2
> >
> > This message (including any attachments) may contain confidential or 
> > otherwise privileged information and is intended only for the individual(s) 
> > to which it is addressed. If you are not the named addressee you should not 
> > disseminate, distribute or copy this e-mail. Please notify the sender 
> > immediately by e-mail if you have received this e-mail by mistake and 
> > delete this e-mail from your system. E-mail transmission cannot be 
> > guaranteed to be secured or error-free as information could be intercepted, 
> > corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. 
> > The sender therefore does not accept liability for any errors or omissions 
> > in the contents of this message or that arise as a result of e-mail 
> > transmission. If verification is required please request a hard-copy 
> > version from the sender.
> >
> > www.pridedallas.com
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> The recipient (held in $email) needs to be an address held on the
> live.com server.
> 
> You will not be able to use the live.com mail servers to send email to
> me (at GMail.com), for example.
> 
> That is called relaying and more specifically, due to the lack of
> security, an open relay.
> 
> If you want to use live.com to send email to someone not on their
> servers, then you would need to use authentication. This may not be
> just a case of a username/password, but also logging into your POP3
> mailbox as a proof of a "real" program and user.
> 
> 
> 
> -- 
> -----
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

No, the site I am creating is not on the live.com server, so in this case, 
looks like I would be relaying it. From what you said, looks like POP3, 
pop3.live.com is not going to work 
either.

I have set up Windows Mail as my default mail program, but if relaying is not 
going to work, then which addresses can I use to send emails to recipients who 
use the site? 

Thanks for your help.

Alice
                                          
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

--- End Message ---
--- Begin Message ---
Hi Alice,

Alice wrote:
> I have an issue here where I see no PHP errors on my mail 
> function usage, and yet I am not getting the mail in the desired 
> account. Here is what I have for my PHP code:
> 
> $headers = "From: aj...@alumni.iu.edu" ;
> $to =  $email;
> $subject = 
> "Comments Regarding My Site";
> $body = "From: $your_name\n E-Mail: 
> $email\n Reason Contact: $question\n Comments:\n $comments";
> mail($to,
>  $subject, $body,$headers);
> 
> This is what I have in my PHP.ini:
> 
> [mail
>  function]
> ; For Win32 only.
> SMTP = smtp.live.com
> smtp_port = 
> 587
> ...

As Keith and Richard already told, it is not enough to point PHP to an existing 
mail server, you also need to take care of proper authentication or relaying of 
messages.

To get you started, here are two tutorials for sending mails with SMTP 
authentication (one using a PEAR class, the other uses sockets instead of the 
mail function):

http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm
http://www.codewalkers.com/c/a/Email-Code/Smtp-Auth-Email-Script/

If your provider requires "SMTP after POP", it will be quite tricky (but not 
impossible) to send mails with PHP.

Regards,

Sascha

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

--- End Message ---
--- Begin Message ---
Where is your site being hosted? Does the hosting server have SMTP available? 
That is the easiest method and what I use for 99% of my sites.


Keith Davis (214) 906-5183

-----Original Message-----
From: Sascha Meyer [mailto:harlequ...@gmx.de] 
Sent: Monday, April 12, 2010 9:19 AM
To: Alice Wei; php-wind...@lists.php.net
Subject: Re: [PHP-WIN] Mail Function Not Working

Hi Alice,

Alice wrote:
> I have an issue here where I see no PHP errors on my mail 
> function usage, and yet I am not getting the mail in the desired 
> account. Here is what I have for my PHP code:
> 
> $headers = "From: aj...@alumni.iu.edu" ;
> $to =  $email;
> $subject = 
> "Comments Regarding My Site";
> $body = "From: $your_name\n E-Mail: 
> $email\n Reason Contact: $question\n Comments:\n $comments";
> mail($to,
>  $subject, $body,$headers);
> 
> This is what I have in my PHP.ini:
> 
> [mail
>  function]
> ; For Win32 only.
> SMTP = smtp.live.com
> smtp_port = 
> 587
> ...

As Keith and Richard already told, it is not enough to point PHP to an existing 
mail server, you also need to take care of proper authentication or relaying of 
messages.

To get you started, here are two tutorials for sending mails with SMTP 
authentication (one using a PEAR class, the other uses sockets instead of the 
mail function):

http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm
http://www.codewalkers.com/c/a/Email-Code/Smtp-Auth-Email-Script/

If your provider requires "SMTP after POP", it will be quite tricky (but not 
impossible) to send mails with PHP.

Regards,

Sascha

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


This message (including any attachments) may contain confidential or otherwise 
privileged information and is intended only for the individual(s) to which it 
is addressed. If you are not the named addressee you should not disseminate, 
distribute or copy this e-mail. Please notify the sender immediately by e-mail 
if you have received this e-mail by mistake and delete this e-mail from your 
system. E-mail transmission cannot be guaranteed to be secured or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses. The sender therefore does not accept liability 
for any errors or omissions in the contents of this message or that arise as a 
result of e-mail transmission. If verification is required please request a 
hard-copy version from the sender.

www.pridedallas.com


--- End Message ---
--- Begin Message ---

> Date: Mon, 12 Apr 2010 09:22:53 -0500
> From: keithda...@pridedallas.com
> To: harlequ...@gmx.de; aj...@alumni.iu.edu; php-wind...@lists.php.net
> Subject: RE: [PHP-WIN] Mail Function Not Working
> 
> Where is your site being hosted? Does the hosting server have SMTP available? 
> That is the easiest method and what I use for 99% of my sites.
> 
> 

  I host the site on my own machine, so I am not sure the answer to your 
question. How can I check that anyway?
  Plus, the default mail program I use is Windows Mail, so would it not catch 
the live.com automatically as the authentication?

  I am getting confused.

Alice

> -----Original Message-----
> From: Sascha Meyer [mailto:harlequ...@gmx.de] 
> Sent: Monday, April 12, 2010 9:19 AM
> To: Alice Wei; php-wind...@lists.php.net
> Subject: Re: [PHP-WIN] Mail Function Not Working
> 
> Hi Alice,
> 
> Alice wrote:
> > I have an issue here where I see no PHP errors on my mail 
> > function usage, and yet I am not getting the mail in the desired 
> > account. Here is what I have for my PHP code:
> > 
> > $headers = "From: aj...@alumni.iu.edu" ;
> > $to =  $email;
> > $subject = 
> > "Comments Regarding My Site";
> > $body = "From: $your_name\n E-Mail: 
> > $email\n Reason Contact: $question\n Comments:\n $comments";
> > mail($to,
> >  $subject, $body,$headers);
> > 
> > This is what I have in my PHP.ini:
> > 
> > [mail
> >  function]
> > ; For Win32 only.
> > SMTP = smtp.live.com
> > smtp_port = 
> > 587
> > ...
> 
> As Keith and Richard already told, it is not enough to point PHP to an 
> existing mail server, you also need to take care of proper authentication or 
> relaying of messages.
> 
> To get you started, here are two tutorials for sending mails with SMTP 
> authentication (one using a PEAR class, the other uses sockets instead of the 
> mail function):
> 
> http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm
> http://www.codewalkers.com/c/a/Email-Code/Smtp-Auth-Email-Script/
> 
> If your provider requires "SMTP after POP", it will be quite tricky (but not 
> impossible) to send mails with PHP.
> 
> Regards,
> 
> Sascha
> 
> -- 
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> This message (including any attachments) may contain confidential or 
> otherwise privileged information and is intended only for the individual(s) 
> to which it is addressed. If you are not the named addressee you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately by e-mail if you have received this e-mail by mistake and delete 
> this e-mail from your system. E-mail transmission cannot be guaranteed to be 
> secured or error-free as information could be intercepted, corrupted, lost, 
> destroyed, arrive late or incomplete, or contain viruses. The sender 
> therefore does not accept liability for any errors or omissions in the 
> contents of this message or that arise as a result of e-mail transmission. If 
> verification is required please request a hard-copy version from the sender.
> 
> www.pridedallas.com
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
                                          
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

--- End Message ---
--- Begin Message ---
Hi, 

  Just as I am exploring some of my alternatives for using the mail() in PHP, I 
came across a web page that one of the users on the list has provided me: 
http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm.
 Does anyone know what the Mail.php is referring to here? 

<?php

require_once "Mail.php";

$from = "Sandra Sender <sen...@example.com>";

$to = "Ramona Recipient <recipi...@example.com>";

$subject = "Hi!";

$body = "Hi,\n\nHow are you?";

?>

If it is something from PEAR package, why isn't it necessary for it to specify 
the path to that code? 
Can it tell by itself?

Thanks for your help.

Alice

                                          
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

--- End Message ---
--- Begin Message ---
http://www.php.net/manual/en/ini.core.php#ini.include-path

Tyrael

On Mon, Apr 12, 2010 at 10:06 PM, Alice Wei <aj...@alumni.iu.edu> wrote:

>
> Hi,
>
>  Just as I am exploring some of my alternatives for using the mail() in
> PHP, I came across a web page that one of the users on the list has provided
> me:
> http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm.
> Does anyone know what the Mail.php is referring to here?
>
> <?php
>
> require_once "Mail.php";
>
> $from = "Sandra Sender <sen...@example.com>";
>
> $to = "Ramona Recipient <recipi...@example.com>";
>
> $subject = "Hi!";
>
> $body = "Hi,\n\nHow are you?";
>
> ?>
>
> If it is something from PEAR package, why isn't it necessary for it to
> specify the path to that code?
> Can it tell by itself?
>
> Thanks for your help.
>
> Alice
>
>
> _________________________________________________________________
> Hotmail is redefining busy with tools for the New Busy. Get more from your
> inbox.
>
> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

--- End Message ---
--- Begin Message ---
> 
> Hi, 
> 
>   Just as I am exploring some of my alternatives for using the mail() in PHP, 
> I came across a web page that one of the users on the list has provided me: 
> http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm.
>  Does anyone know what the Mail.php is referring to here? 
> 
> <?php
> 
> require_once "Mail.php";
> 
> $from = "Sandra Sender <sen...@example.com>";
> 
> $to = "Ramona Recipient <recipi...@example.com>";
> 
> $subject = "Hi!";
> 
> $body = "Hi,\n\nHow are you?";
> 
> ?>
> 
> If it is something from PEAR package, why isn't it necessary for it to 
> specify the path to that code? 
> Can it tell by itself?

Because if PEAR is setup correctly, then its directory is in the include
path and this file will be found there.

> Thanks for your help.
> 
> Alice
> 
>                                         
> _________________________________________________________________
> Hotmail is redefining busy with tools for the New Busy. Get more from your 
> inbox.
> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

--
Niel Archer



--- End Message ---
--- Begin Message --- I am trying to simply just loop through a set of records to spit out <li /> tags for the data therein, and on the same page, it's successfully running another query against the same connection - which I have also tried turning off just in case it was a problem with running two queries against the same connection (really don't think so), but it just tells me there are no records being returned, although I have tried simplifying the sql statement, pulling records from another table, etc. etc., and I really don't know what am doing wrong with this really simple bit of scripting:

$qry = mysql_query("select CatName from tblCats where Id = " . $_REQUEST['id']);
$arr = mysql_fetch_array($qry);
echo "<h2>" . $arr['CatName'] . "</h2>";
//that part works fine
$sql = "select Id, CatID, LinkName, LinkDescription, LinkURL from tblLinks where CatID = " . $_REQUEST['id'] . ";"; //the SQL statement seems to come out fine as well if I echo it out to the browser
$qry = mysql_query($sql);
$arr = mysql_fetch_array($qry);
if ($arr.count > 0)
{
echo "<ul>";
while($row = mysql_fetch_array($arr))
 {
echo "<li>" . $row['LinkName'] . " - " . $row['LinkDescription'] . " - ";
echo "<a href='" . $row['LinkURL'] . "' target='_blank'>" . $row['LinkURL'] . "</a></li>";
 }
echo "</ul>";
}
else
{
echo "no links in category";
}
mysql_close($con);


It permanently just keeps on deciding there are no rows to output, so I'm a bit confused at the moment.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5023 (20100412) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




--- End Message ---

Reply via email to