[PHP] Re: 'Return values' from links

2003-10-17 Thread pete M
Some XML would do the trick pete [EMAIL PROTECTED] wrote: First of all, Hi! I just started getting into php a week ago, but already ran into a problem I can't seem to solve. The issue is this : I code 2 different websites, each has it's own mySQL-DB. Website A has a login-section, each time you

[PHP] Re: Return values?

2002-02-25 Thread Henrik Hansen
[EMAIL PROTECTED] (Daniel alsén) wrote: Hi, how do i display return values from functions? Ie i want to see whether mail() returns TRUE or FALSE. echo mail(...); shows the return value, then you can do: if (mail(...)) { //sent ok } else { //not sent } -- Henrik Hansen -- PHP

[PHP] Re: Return values?

2002-02-25 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... [EMAIL PROTECTED] (Daniel alsén) wrote: Hi, how do i display return values from functions? Ie i want to see whether mail() returns TRUE or FALSE. echo mail(...); shows the return value, then you can do: if (mail(...)) {