Ed Curtis wrote:
mysql_query ("INSERT INTO tmphitsmag (magazine)
VALUES ('$magazine_path[2]')");
Replace that with this...
mysql_query ("INSERT INTO tmphitsmag (magazine) VALUES
('".mysql_real_escape_string($magazine_path[2])."')");
-St
try:
mysql_query ("INSERT INTO tmphitsmag (magazine) VALUES
('{$magazine_path[2]}')");
cajb.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 3/7/07, Ed Curtis <[EMAIL PROTECTED]> wrote:
I have this code:
mysql_connect ($local_host, $local_user, $local_pass);
mysql_select_db ($local_db);
mysql_query ("DELETE FROM tmphitsmag");
$result = mysql_query ("SELECT DISTINCT company FROM view_log WHERE
company != ''");
if ($row = mysql_
On 3/7/07, Ed Curtis <[EMAIL PROTECTED]> wrote:
I have this code:
mysql_connect ($local_host, $local_user, $local_pass);
mysql_select_db ($local_db);
mysql_query ("DELETE FROM tmphitsmag");
$result = mysql_query ("SELECT DISTINCT company FROM view_log WHERE
company != ''");
if ($row = mysql_
4 matches
Mail list logo