Category : var

Good Evening Guys, i’ve got a complex list of HTML with PHP inside <div style="position:absolute;left:305.39px;top:439.87px" class="cls_002"><span class="cls_002"><?php echo utf8_encode(strftime(‘%a’, strtotime(date($date25)))); ?></span></div> <div style="position:absolute;left:305.39px;top:464.87px" class="cls_002"><span class="cls_002"><?php echo utf8_encode(strftime(‘%a’, strtotime(date($date26)))); ?></span></div> <div style="position:absolute;left:305.39px;top:489.39px" class="cls_002"><span class="cls_002"><?php echo utf8_encode(strftime(‘%a’, strtotime(date($date27)))); ?></span></div> Is it possible to put this into a php var like: (because in my project i’ve got 200 ..

Read more

how can I change the variables ( top of the page ) through a form and of course save them on the same page. It’s possible??? Page article.php <?php $pageurl = "text1"; $title = "text2"; $description = "Desc…Desc…. Desc………"; $image = "text3"; $price = "12"; $conf = " H 30"; ?> <!DOCTYPE html> <html lang="it" ..

Read more

I have a php file which consist of a script tag. Inside it there is a function displayResults(weather) which consist of var weather_type=weather.weather[0].main and I want its value in php variable in $weather. Can I do it please HELP. <html> <head> <script> function displayResults(weather) { var weather_type=weather.weather[0].main//It return todays weather through API } </script> </head> ..

Read more

hey i have a problem with my image not appearing normally the path should be valid , the frame around the image shows up but it should only show up if the image exists 🙁 but google says "http://musick.c1.biz/me/user/admin/profile.jpg/ 404 (Not Found)" and this is the code… $username = $_SESSION[‘username’]; $dir="me/user/$username/"; $filename ="profile"; $jpg = ..

Read more