Add image to DB

#1
[eluser]rad11[/eluser]
What is wrong with that code i think some apostrophe is wrong but i cant figure who can someone help me ?

Code:
$image_url = "<?php echo base_url() . 'uploads/images/' ?>" . $image_data['file_name'];

#2
[eluser]Tpojka[/eluser]
Code:
$image_url = base_url('uploads/images/' . $image_data['file_name']);

#3
[eluser]rad11[/eluser]
Thank you Tpojka its work Smile


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.