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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...