C
|
cgphp 6/30/2012 |
Are you sure the field in the where clause is Gebruiker and not GebruikerID? If the field in the where clause is an INT type, don't use the single quotes. |
S
|
shoppy author 7/1/2012 |
Are you sure the field in the where clause is Gebruiker and not GebruikerID? If the field in the where clause is an INT type, don't use the single quotes.
|
C
|
cgphp 7/1/2012 |
Try to echo your query before to send the email message. |
S
|
shoppy author 7/1/2012 |
Try to echo your query before to send the email message.
|
C
|
cgphp 7/1/2012 |
echo "select Gebruikersemail from _Gebruikers where Gebruiker='".$_SESSION["GebruikersID"]."'";
|
S
|
shoppy author 7/1/2012 |
echo "select Gebruikersemail from _Gebruikers where Gebruiker='".$_SESSION["GebruikersID"]."'";
|
S
|
shoppy author 7/2/2012 |
I will show you how I build it.
|
C
|
cgphp 7/2/2012 |
Why don't you use PHPrunner built-in functions? There are a lot of examples in the user guide: http://xlinesoft.com/phprunner/docs/send_email_to_email_addresses_from_user_table.htm |
S
|
shoppy author 7/2/2012 |
Why don't you use PHPrunner built-in functions? There are a lot of examples in the user guide: http://xlinesoft.com/phprunner/docs/send_email_to_email_addresses_from_user_table.htm
|
C
|
cgphp 7/2/2012 |
You can use db functions outside PHPrunner. You need to include the dbcommon.php file to your external php scripts. |
S
|
shoppy author 7/2/2012 |
I found the right query with some help ofcourse:
|