A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_session6apdmh3o39o6p55h73hgk2rq3fcj33ac): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_sessionn65aa73frkqddqbj4s3ge2u1utaori29): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_sessiona3919pmogqi8tn6733np7rojdlqubads): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_sessionprjb8hcc3aq452dfd61c2og68gu8cjsv): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_session933fodspbdvqk4nigqdqru9mc01tastk): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_session1407gh6jukilabj3ndn6pkvbv5nnvm2i): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_sessioni0oi7hn7vatkbcs37m9fk2nn9d9p0koh): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_sessionit7ef8qellvbid14kiq01278upmrhsun): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_sessionr68v3dnf1u31mqm4laf38b6i7rsodhrl): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: unlink(/tmp/ci_session02dpvgul08ognh1hhf1rg4tju3m404up): Operation not permitted

Filename: drivers/Session_files_driver.php

Line Number: 384

Backtrace:

File: /home/spfoundationbd/public_html/application/controllers/ArticleController.php
Line: 8
Function: __construct

File: /home/spfoundationbd/public_html/index.php
Line: 315
Function: require_once

PHP & Website Design, Development Tutorials | SP Foundation

How to implement PHP Comment

PHP Comment

কয়েকটা চিহ্ন আছে যদি কোন PHP php code এর সামনে এগুলা দিয়ে রাখেন তাহলে code গুলি আর execute হবেনা।তবে code গুলি এডিটরে থাকবে, অনেক লম্বা সময় পর যদি খোলেন তাহলে এসব comment দেখে বুঝতে পারবেন আসলে কি করতে চেয়েছিলেন।একটা লাইনকে কমেন্ট করে রাখতে চাইলে // বা # আর বহু লাইনকে কমেন্ট করে রাখতে চাইলে কোডের আগে /* এবং শেষে */ চিহ্ন ব্যাবহার করতে হবে।

পরামর্শ: অনেক প্রাকটিস করুন,যেটুকু শিখেছেন সেটুকুই।যেমন <?php এবং ?> কোডের ভিতর

echo "Hello World! ";

echo "Hello World! ";

echo "Hello World! ";

echo "Hello World! ";

echo "Hello World! ";

এসব লিখতে থাকুন।

<?php

echo "Hello World!";

//ekhane line break diyesi but output ek line hobe

echo "Hello World!";

/*In above there are two line.but output will.

will be one line.here multiple line

*/

?>

উপরের code দেখুন একটি লাইন কমেন্ট করেছি // এই চিহ্ন দিয়ে আর একাধিক লাইন কমেন্ট করেছি /**/ এই চিহ্নের ভিতরে রেখে।

 

আর রান করান দেখুন পিএইচপি কোডের ভিতর স্পেস কাজ করেনা,এভাবে প্রাকটিস করলে নতুন নতুন জিনিস দেখতে পাবেন।