LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-02-2019, 10:37 PM   #1
gacl
Member
 
Registered: Feb 2004
Posts: 64

Rep: Reputation: 23
PHP: $posts[0]['content'] = $posts[0]['content'];


In Jump Start PHP (https://www.sitepoint.com/premium/bo...atform-1c1c984) under Warning Displaying PDO Messages, near the end of the code section, we find this line:
Code:
$posts[0]['content'] = $posts[0]['content'];
What is it doing? It doesn't make sense to me...
 
Old 11-02-2019, 11:12 PM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,865
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
You can safely ignore that line.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 'View New Posts' message when all posts are read l0f4r0 LQ Suggestions & Feedback 2 08-25-2018 02:33 AM
View new posts -- request to show threads with own posts catkin LQ Suggestions & Feedback 5 01-26-2012 08:51 PM
What's the diff: New posts vs Latest Posts? theNbomr LQ Suggestions & Feedback 4 02-13-2009 05:42 PM
Suggestion: Change "my posts" button to "my posts by thread" PTrenholme LQ Suggestions & Feedback 5 03-10-2006 06:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration