<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Excel Prosper</title>
    <description>The latest articles on DEV Community by Excel Prosper (@excceedder).</description>
    <link>https://dev.to/excceedder</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F999678%2Fdf6e24a3-3d35-40fd-8436-a6cbb8759237.jpeg</url>
      <title>DEV Community: Excel Prosper</title>
      <link>https://dev.to/excceedder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/excceedder"/>
    <language>en</language>
    <item>
      <title>Introduction to CRUD Functions with Procedural PHP...</title>
      <dc:creator>Excel Prosper</dc:creator>
      <pubDate>Sun, 01 Jan 2023 13:58:34 +0000</pubDate>
      <link>https://dev.to/excceedder/introduction-to-crud-functions-with-procedural-php-5am1</link>
      <guid>https://dev.to/excceedder/introduction-to-crud-functions-with-procedural-php-5am1</guid>
      <description>&lt;p&gt;&lt;strong&gt;CRUD&lt;/strong&gt; stands for &lt;strong&gt;Create&lt;/strong&gt;, &lt;strong&gt;Read&lt;/strong&gt;, &lt;strong&gt;Update&lt;/strong&gt;, and &lt;strong&gt;Delete&lt;/strong&gt;, and these are the four basic functions of persistent storage, such as databases. In the context of PHP, CRUD typically refers to the creation and management of websites or web applications that can create, read, update, and delete data stored in a database.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Procedural PHP&lt;/strong&gt; is a programming style in which functions and code are organized into procedures, or blocks of code that perform a specific task. It is a simpler and more traditional style of programming compared to object-oriented programming, which organizes code into objects that can interact with one another.&lt;/p&gt;

&lt;p&gt;Here is an introduction to CRUD functions using procedural PHP:&lt;/p&gt;

&lt;h2&gt;
  
  
  Create
&lt;/h2&gt;

&lt;p&gt;To create a new record in a database using PHP, you can use the **INSERT **statement. This statement takes a set of values and inserts them into a table in the database. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$query = "INSERT INTO users (name, email) VALUES ('John', 'john@example.com')";
mysqli_query($connection, $query);

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will insert a new row into the users table with the values 'John' and '&lt;a href="mailto:john@example.com"&gt;john@example.com&lt;/a&gt;' for the name and email columns, respectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  Read
&lt;/h2&gt;

&lt;p&gt;To read data from a database using PHP, you can use the **SELECT **statement. This statement retrieves data from a table in the database and returns it as a result set. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$query = "SELECT * FROM users WHERE name='John'";
$result = mysqli_query($connection, $query);
while ($row = mysqli_fetch_assoc($result)) {
  echo $row['name'] . ': ' . $row['email'] . '&amp;lt;br&amp;gt;';
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will select all rows from the users table where the name column is 'John', and then it will loop through the result set and print out the name and email values for each row.&lt;/p&gt;

&lt;h2&gt;
  
  
  Update
&lt;/h2&gt;

&lt;p&gt;To update a record in a database using PHP, you can use the **UPDATE **statement. This statement modifies the values of a set of existing rows in a table. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$query = "UPDATE users SET name='Jane' WHERE email='john@example.com'";
mysqli_query($connection, $query);

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will update all rows in the users table where the email column is '&lt;a href="mailto:john@example.com"&gt;john@example.com&lt;/a&gt;' and set the name column to 'Jane'.&lt;/p&gt;

&lt;h2&gt;
  
  
  Delete
&lt;/h2&gt;

&lt;p&gt;To delete a record from a database using PHP, you can use the **DELETE **statement. This statement removes a set of rows from a table. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$query = "DELETE FROM users WHERE email='john@example.com'";
mysqli_query($connection, $query);

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will delete all rows from the users table where the email column is '&lt;a href="mailto:john@example.com"&gt;john@example.com&lt;/a&gt;'.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;br&gt;
This is just a brief introduction to &lt;strong&gt;CRUD **functions using procedural **PHP&lt;/strong&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;There are many other details and considerations to keep in mind when working with databases in PHP, such as security, performance, and error handling.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You will be able to begin working with databases in your future PHP projects once you have learned these basic coding techniques.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>php</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Basic Steps to become a Successful Web Developer...</title>
      <dc:creator>Excel Prosper</dc:creator>
      <pubDate>Sat, 31 Dec 2022 21:18:16 +0000</pubDate>
      <link>https://dev.to/excceedder/basic-steps-to-become-a-successful-web-developer-4pno</link>
      <guid>https://dev.to/excceedder/basic-steps-to-become-a-successful-web-developer-4pno</guid>
      <description>&lt;p&gt;Are you thinking about becoming a web developer? It's a great career choice – there's a high demand for skilled web developers, and you can work on a wide variety of projects, from small websites to large web applications. But where do you start? Here are some basic steps to follow as you embark on your journey to becoming a successful web developer:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Learn the basics of HTML and CSS. HTML (Hypertext Markup Language) and CSS (Cascading Style Sheets) are the building blocks of the web. HTML is used to structure content on the web, while CSS is used to style and layout that content. You can learn these languages through online tutorials and resources, or by taking a class at a local community college or coding bootcamp.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; Build your portfolio. As you learn and practice your skills, start building a portfolio of your work. This can be a simple website that showcases your projects and tells a little bit about yourself. Having a portfolio will not only help you showcase your skills to potential employers, but it will also give you a place to document your progress and accomplishments as you continue to learn and grow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.&lt;/strong&gt; Learn a programming language. While HTML and CSS are important for creating the structure and style of a website, you'll need to learn a programming language like JavaScript, Python, or Ruby to add interactivity and functionality to your websites. There are many resources available for learning these languages, so choose one that interests you and start learning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4.&lt;/strong&gt; Stay up to date with the latest technologies. The world of web development is constantly evolving, so it's important to stay up to date with the latest technologies and best practices. This might mean learning new programming languages, frameworks, or libraries, or simply keeping an eye on the latest trends in web development.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.&lt;/strong&gt; Join a community. Web development can be a solitary pursuit, but you don't have to go it alone. There are many online communities and forums where you can connect with other web developers, ask for help, and share your knowledge. You can also attend local meetups or join a professional organization to connect with other professionals in your field.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Becoming a successful web developer takes time and dedication, but with the right resources and a little bit of hard work, you can turn your passion for web development into a rewarding career.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A successful web developer needs to have a strong work ethic in addition to technical expertise and problem-solving capabilities. You can take the first step on your path to becoming a great web developer by carrying out these simple steps. You will need to put in a lot of time, effort, and hard work, but with the correct attitude and a devotion to lifelong learning, you may accomplish your objectives and have a fulfilling career in the tech sector.&lt;/p&gt;

</description>
      <category>emptystring</category>
    </item>
  </channel>
</rss>
