I want to create in html textbox named **b** and php code which gets email from it with $_POST. Unfortunately as setBcc is used as an array and I cannot convince php to get emails from this textbox. This is the code of php: <?php require_once 'lib/swift_required.php'; $transport = Swift_MailTransport::newInstance(); $message = Swift_Message::newInstance(); $message->setTo(array( "manlaughin@interia.pl" => "Nightbitch" )); $message->setBcc(array('email1@gmail.com', 'email2.gmail.com', 'email3@gmail.com')); $tekst = 'OK'; $message->setSubject("Funkcjonalnoƛci: 3 kategorie, zasady komentarzy"); $message->setBody($tekst,'text/html'); $message->setFrom("no-reply@admin.allegro.pl", "Allegro.pl"); // Send the email $mailer = Swift_Mailer::newInstance($transport); $mailer->send($message); and this is the line I want to setup with $_POST: $message->setBcc(array('email1@gmail.com', 'email2.gmail.com', 'email3@gmail.com')); Of course I paste email in …

Member Avatar
Member Avatar
+0 forum 20

I just couldnt find a soluation for this. How to insert a one record inside one forum with muliple sql tables in one php page? Here is my code i have two insert button, i only need one for the both form <?php require_once('Connections/Omar.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": …

Member Avatar
Member Avatar
+0 forum 1

Hi all, i have a table for instance, systemid | phonenumber 1 62222222 1 92222222 1 64444444 2 91111111 3 63333333 3 63333333 i want my select query output to be systemid | phonenumber | phonenumber2 | phonenumber3 1 62222222 92222222 64444444 2 91111111 3 63333333 63333333 I tried to find, pivot , case?? anyone could help me Thanks in advance

Member Avatar
Member Avatar
+0 forum 1

The End.