Forum Moderators: coopster
But my page design includes a curve in the nav bar and I need to match the image curve with the chosen BG
So far I query the DB and get the BG value
Now I need to match that value with the corresponding piece of image
Those images are refered in the DB by ref to IMG path and are named as for the example below curv_y, curv_g and curve_g
The bg values are entered as HEX CODE color here the chosen value is “#fffcc”
The problem is to read the BG and then match it with the corresponding curv img
Obviously $bg=”#ffffcc” cannot work but you get the idea
What can I do?
$new_content[bg]=$bg;
if ($bg="#ffffcc") {
$content_103.= $new_content[curv_y];
}
Thanks