<?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: SANJAYA LALAKA WIJERATHNA</title>
    <description>The latest articles on DEV Community by SANJAYA LALAKA WIJERATHNA (@sanjaya123).</description>
    <link>https://dev.to/sanjaya123</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%2F1022335%2Fc0c567ea-05c7-4d06-b1bf-c5a466fbb785.jpg</url>
      <title>DEV Community: SANJAYA LALAKA WIJERATHNA</title>
      <link>https://dev.to/sanjaya123</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sanjaya123"/>
    <language>en</language>
    <item>
      <title>i need a help.given a task.</title>
      <dc:creator>SANJAYA LALAKA WIJERATHNA</dc:creator>
      <pubDate>Tue, 07 Feb 2023 10:23:25 +0000</pubDate>
      <link>https://dev.to/sanjaya123/i-need-a-helpgiven-a-task-k61</link>
      <guid>https://dev.to/sanjaya123/i-need-a-helpgiven-a-task-k61</guid>
      <description>&lt;p&gt;I need to read the data_source_x table via Laravel v9 Controller functions and populate data for the 4 tables below.&lt;/p&gt;

&lt;p&gt;Table 1 users&lt;br&gt;
Table 2 orders — user_id, package_id(free) for each user&lt;br&gt;
Table 3 properties&lt;br&gt;
Table 4 property_aminities — after insert properties (ref data_source_x.facilities)&lt;/p&gt;

&lt;p&gt;Important steps &lt;/p&gt;

&lt;p&gt;SELECT * data_source&lt;br&gt;
INSERT to 4 tables&lt;/p&gt;

&lt;p&gt;This is not a CRUD operation task so I don’t need to view or input forms for this development.&lt;/p&gt;

&lt;p&gt;I need to find the related index data from other given tables like &lt;br&gt;
property_purposes&lt;br&gt;
property_types&lt;br&gt;
packages(free)&lt;br&gt;
property_aminities after inserting properties data.&lt;/p&gt;

&lt;p&gt;MY TASK IS Find the &lt;br&gt;
properties.city_id from 'cities table' by matching with (PHP or mysql) data_source_x.address.&lt;/p&gt;

&lt;p&gt;CAN ANY ONE GIVE ME A HELP AND INSTRUCTION&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvl038ivqsy5wfrgj5ezg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvl038ivqsy5wfrgj5ezg.png" alt="Image description" width="320" height="124"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>announcement</category>
      <category>devto</category>
      <category>offers</category>
    </item>
  </channel>
</rss>
