Jump to content

value for database insert


searls03

Recommended Posts

I hope for you the stuff below is what you want otherwise be a little more precise.

 

$image = 'fatmonkeys';
echo $image; //outputs fatmonkeys

$image = "images/$image.php"; // i am assigning $image again here
echo $image;// outputs images/fatmonkeys.php

 

I assume that if you seen above you should be able to do as you like.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.