Jump to content
faure

class circle not working

Recommended Posts


<?php

session_start(); 

$_SESSION['img']="c:\abc5\cmahj.jpg";
?>


<!DOCTYPE HTML>


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">

<html>

<body>

<div class="w3-circle">
  
  <h2>The w3-circle Class</h2>
  
  <img src="<?php echo $_SESSION['img']  ?>'   class="w3-circle"  alt="Car" style="width:100px">

<!-- NOT WORKING  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
  
  </div>

        

        
</body>

            
        
</html>

Share this post


Link to post
Share on other sites

In what way is it not working? What is the expected result and what is the result you actually got?

Share this post


Link to post
Share on other sites

You have errors in html (validate html before posting), PHP, and you are attempting to link to file by going through operating system directories instead of web root directory. That is why it fails

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×