You are great! It seems that date issue is solved too!
However why if no image is uploaded the "Only .jpg images are allowed to be uploaded" is being displayed?
Array foreach loop proplem
Moderator: General Moderators
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Array foreach loop proplem
tito85 wrote:You are great! It seems that date issue is solved too!
However why if no image is uploaded the "Only .jpg images are allowed to be uploaded" is being displayed?
Code: Select all
if ($image) {Code: Select all
if (!empty($image)) {mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Re: Array foreach loop proplem
I already tried that but still same problem happens
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Array foreach loop proplem
Sorry, I didn't look at the actual form:
Code: Select all
if (!empty($image['name'])) {mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Re: Array foreach loop proplem
Thank a lot for all your help and time my friend!!!
You are great!
You are great!