<?php
/************************************************************************
- * MXChange v0.2.1 Start: 10/08/2005 *
- * =============== Last change: 10/08/2005 *
+ * Mailer v0.2.1-FINAL Start: 10/08/2005 *
+ * =================== Last change: 10/08/2005 *
* *
* -------------------------------------------------------------------- *
* File : mediadata_functions.php *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// First check if it does exist
$result_media = SQL_QUERY_ESC("SELECT media_key FROM `{?_MYSQL_PREFIX?}_mediadata`
WHERE media_key = '%s' LIMIT 1", array($key), __FUNCTION__, __LINE__);
- if (SQL_NUMROWS($result_media) == '0') {
+ if (SQL_NUMROWS($result_media) == 0) {
// Not found so we create it (mode will be ignored here!)
SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_mediadata` (media_key, media_value) VALUES ('%s', '%s')",
array($key, $value), __FUNCTION__, __LINE__);