<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chandan Kumar, Author at scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/author/chandan/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/author/chandan/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 05 Jun 2021 06:07:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to share files between two computers?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-share-files-between-two-computers/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-share-files-between-two-computers/#respond</comments>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Sat, 05 Jun 2021 06:07:59 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Share Files]]></category>
		<category><![CDATA[sharing]]></category>
		<category><![CDATA[windows10]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6450</guid>

					<description><![CDATA[<p>If you have above question in your mind then you are at right place. I will discuss today on this [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-share-files-between-two-computers/">How to share files between two computers?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">If you have above question in your mind then you are at right place. I will discuss today on this very clearly. Let&#8217;s understand why we need this if you want to share files like 1GB to 5GB storage type then you need to copy it from one system and paste into other system but if you have files like 40GB  or above then you have to think about it. So let&#8217;s dig into it.</p>



<h2 class="wp-block-heading">1. Shares Folders and Drive locally</h2>



<p class="wp-block-paragraph">Let&#8217;s discuss about this process. you have to choose a folder (eg. my files) which you want to share with your friends or colleagues pc. because you want to give access to your friend for copying that file very easily without any external drives. so let&#8217;s see the below steps to do it easily:</p>



<p class="wp-block-paragraph"><strong>Step 1</strong> : Click on <strong>My Computer</strong>(windows 7 or <strong>This PC</strong> &#8211; Windows 10) or use shortcut (window + E) to open this</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="235" height="739" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/my-pc-or-thispc-icon-in-windows10.jpg" alt="" class="wp-image-6451" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/my-pc-or-thispc-icon-in-windows10.jpg 235w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/my-pc-or-thispc-icon-in-windows10-95x300.jpg 95w" sizes="(max-width: 235px) 100vw, 235px" /></figure></div>



<p class="wp-block-paragraph"><strong>Step 2</strong> : Go to your drive [eg <strong>Local Disk (E:)</strong> or <strong>Local Disk (F:)</strong> ] which you have folders and you want to share .</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="425" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/representation-of-this-pc-drives-1024x425.jpg" alt="" class="wp-image-6452" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/representation-of-this-pc-drives-1024x425.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/representation-of-this-pc-drives-300x124.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/representation-of-this-pc-drives-768x319.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/representation-of-this-pc-drives.jpg 1347w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 3</strong> : After opening <strong>F: Drive</strong> (in my situation, it may vary at your time), opened a folder name as <strong>study-material</strong> and in that folder i want to share laravel video with my friend.</p>





<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="433" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/sharing-one-folder-with-my-friend-1-1024x433.jpg" alt="" class="wp-image-6454" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/sharing-one-folder-with-my-friend-1-1024x433.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/sharing-one-folder-with-my-friend-1-300x127.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/sharing-one-folder-with-my-friend-1-768x324.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/sharing-one-folder-with-my-friend-1.jpg 1361w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 4</strong> : Right click on that folder and click on Properties option from list .</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="317" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/folder-properties-option-from-list-1024x317.jpg" alt="" class="wp-image-6455" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/folder-properties-option-from-list-1024x317.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/folder-properties-option-from-list-300x93.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/folder-properties-option-from-list-768x238.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/folder-properties-option-from-list.jpg 1147w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 5</strong> : Click on <strong>Sharing Tab</strong> and then click on <strong>Share</strong> button from section ( <strong>Network File and Folder Sharing</strong> ).</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="361" height="208" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/share-button-from-sharing-tab-windows10.jpg" alt="" class="wp-image-6456" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/share-button-from-sharing-tab-windows10.jpg 361w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/share-button-from-sharing-tab-windows10-300x173.jpg 300w" sizes="auto, (max-width: 361px) 100vw, 361px" /></figure></div>



<p class="wp-block-paragraph"><strong>Step 6</strong> : After doing above click you will see sharing windows and on that windows Select &#8220;<strong>Everyone</strong>&#8221; and Click on <strong>Add Button</strong> and then click on <strong>Share</strong> Button</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="617" height="455" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/file-sharing-everyone-and-share-button.jpg" alt="" class="wp-image-6457" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/file-sharing-everyone-and-share-button.jpg 617w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/file-sharing-everyone-and-share-button-300x221.jpg 300w" sizes="auto, (max-width: 617px) 100vw, 617px" /></figure></div>



<p class="wp-block-paragraph"><strong>Step 7</strong> : At last go to your Windows Explorer (Window +E) and click on  &#8220;<strong>Network</strong>&#8221; and see your friend pc icon there and jump into it.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="564" height="404" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/Network-tab-in-windows-explorer.jpg" alt="" class="wp-image-6458" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/Network-tab-in-windows-explorer.jpg 564w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/Network-tab-in-windows-explorer-300x215.jpg 300w" sizes="auto, (max-width: 564px) 100vw, 564px" /></figure></div>



<p class="wp-block-paragraph"><strong>References :</strong></p>



<ol class="wp-block-list"><li><a rel="noreferrer noopener" href="https://techwiser.com/share-files-between-two-computers/" target="_blank">Click Here</a></li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-share-files-between-two-computers/">How to share files between two computers?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-share-files-between-two-computers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>302 Found: What It Is and How to Fix It?</title>
		<link>https://www.scmgalaxy.com/tutorials/302-found-what-it-is-and-how-to-fix-it/</link>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Tue, 25 May 2021 06:49:06 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Laravel]]></category>
		<category><![CDATA[301]]></category>
		<category><![CDATA[302]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[http-status]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[redirect-issues]]></category>
		<category><![CDATA[response-code]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6374</guid>

					<description><![CDATA[<p>What is 302 status? The HTTP response status code 302 Found is a common way of performing URL redirection. A [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/302-found-what-it-is-and-how-to-fix-it/">302 Found: What It Is and How to Fix It?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h4 class="wp-block-heading"><strong>What is 302 status?</strong></h4>



<p class="wp-block-paragraph">The HTTP response status code 302 Found is a common way of performing URL redirection. A <strong>302</strong> Found message is an HTTP <strong>response status code</strong> indicating that the requested resource has been <strong>temporarily moved</strong> to a different <em>URI</em>. All HTTP response status codes that are in the <strong>3xx</strong> category are considered <em>redirection messages</em>.</p>



<h4 class="wp-block-heading">Diagnosing a 302 Found Response Code</h4>



<p class="wp-block-paragraph">it’s entirely possible that the server is misconfigured, causing it to improperly respond with <strong>302</strong> Found codes, instead of the standard and expected 200 OK code of a normal, functional request.</p>



<p class="wp-block-paragraph">If your application is responding with 302 Found codes, this is an issue that many other visitors may be experiencing as well, dramatically hindering your application’s ability to service users.</p>



<p class="wp-block-paragraph">if you want to dig out on above topic then follow below references :</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy"  id="_ytid_47674"  width="640" height="360"  data-origwidth="640" data-origheight="360" src="https://www.youtube.com/embed/wtc0KpWYt8Q?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;" class="__youtube_prefs__  epyt-is-override  no-lazyload" title="YouTube player"  allow="fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div><figcaption><strong>By<a href="https://www.youtube.com/user/clickminded" target="_blank" rel="noreferrer noopener"> ClickMinded</a></strong></figcaption></figure>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy"  id="_ytid_45395"  width="640" height="360"  data-origwidth="640" data-origheight="360" src="https://www.youtube.com/embed/hF6VqrpPp8Q?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;" class="__youtube_prefs__  epyt-is-override  no-lazyload" title="YouTube player"  allow="fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div></figure>



<p class="wp-block-paragraph">so friends here I am describing all above things for understanding about 302. because i am facing this issue in my Laravel application so let&#8217;s check out to solve these issues in your Laravel application. below is the attached urls for common issue in Laravel related to 302.</p>



<h3 class="wp-block-heading">References :</h3>



<ol class="wp-block-list"><li><a rel="noreferrer noopener" href="https://www.xspdf.com/resolution/58594616.html" target="_blank">Click Here </a></li><li><a rel="noreferrer noopener" href="https://stackoverflow.com/questions/35020477/laravel-unexpected-redirects-302" target="_blank">Click Here</a></li><li><a href="https://www.digitalocean.com/community/questions/all-post-method-in-laravel-throwing-302" target="_blank" rel="noreferrer noopener">Click Here</a></li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/302-found-what-it-is-and-how-to-fix-it/">302 Found: What It Is and How to Fix It?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Laravel 5.5 Method paginate does not exist</title>
		<link>https://www.scmgalaxy.com/tutorials/laravel-5-5-method-paginate-does-not-exist/</link>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Sat, 15 May 2021 10:53:03 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[laravel5.5]]></category>
		<category><![CDATA[Method]]></category>
		<category><![CDATA[Php]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6282</guid>

					<description><![CDATA[<p>When I am trying to put some value in my input search box and after pressing enter button showing above [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-5-5-method-paginate-does-not-exist/">Laravel 5.5 Method paginate does not exist</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="229" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/method-paginate-does-not-exist-1024x229.jpg" alt="" class="wp-image-6283" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/method-paginate-does-not-exist-1024x229.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/method-paginate-does-not-exist-300x67.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/method-paginate-does-not-exist-768x172.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/method-paginate-does-not-exist.jpg 1268w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">When I am trying to put some value in my input search box and after pressing enter button showing above issue.<br>But when I am trying to filter data with my search button then it&#8217;s working fine. so i dig into it. i found one solution on it.</p>



<h5 class="wp-block-heading">FilterController.php</h5>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$users = DB::table(&#039;users&#039;)
-&gt;where(function($query) use ($countryId, $stateId, $cityId) {
	if (isset($countryId) &amp;amp;&amp;amp; $countryId !== null &amp;amp;&amp;amp; $countryId !== &#039;&#039; &amp;amp;&amp;amp; $stateId == &#039;Select State&#039;) {
		$query-&gt;where(&#039;country_id&#039;, &#039;=&#039;, $countryId);
	}
	if (isset($countryId) &amp;amp;&amp;amp; $countryId !== null &amp;amp;&amp;amp; $countryId !== &#039;&#039; &amp;amp;&amp;amp; isset($stateId) &amp;amp;&amp;amp; $stateId !== &#039;Select State&#039; &amp;amp;&amp;amp; $stateId !== &#039;&#039;) {
		$query-&gt;where(&#x5B;
							&#x5B;&#039;country_id&#039;, &#039;=&#039;, $countryId],
							&#x5B;&#039;state_id&#039;, &#039;&amp;lt;&gt;&#039;, $stateId]
						]);
		
	}
})-&gt;get()-&gt;paginate(5);
</pre></div>


<h4 class="wp-block-heading">Solution :</h4>



<p class="wp-block-paragraph">Just remove the get() and your code will work fine.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$users = DB::table(&#039;users&#039;)
-&gt;where(function($query) use ($countryId, $stateId, $cityId) {
	if (isset($countryId) &amp;amp;&amp;amp; $countryId !== null &amp;amp;&amp;amp; $countryId !== &#039;&#039; &amp;amp;&amp;amp; $stateId == &#039;Select State&#039;) {
		$query-&gt;where(&#039;country_id&#039;, &#039;=&#039;, $countryId);
	}
	if (isset($countryId) &amp;amp;&amp;amp; $countryId !== null &amp;amp;&amp;amp; $countryId !== &#039;&#039; &amp;amp;&amp;amp; isset($stateId) &amp;amp;&amp;amp; $stateId !== &#039;Select State&#039; &amp;amp;&amp;amp; $stateId !== &#039;&#039;) {
		$query-&gt;where(&#x5B;
							&#x5B;&#039;country_id&#039;, &#039;=&#039;, $countryId],
							&#x5B;&#039;state_id&#039;, &#039;&amp;lt;&gt;&#039;, $stateId]
						]);
		
	}
})-&gt;paginate(5);
</pre></div>


<h4 class="wp-block-heading">References :</h4>



<ol class="wp-block-list"><li><a rel="noreferrer noopener" href="https://stackoverflow.com/questions/44980792/laravel-5-4-method-paginate-does-not-exist-multiple-relation-filter-and-ord" target="_blank">Click here</a></li><li><a href="https://stackoverflow.com/questions/48148472/laravel-method-paginate-does-not-exist" target="_blank" rel="noreferrer noopener">Click here</a></li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-5-5-method-paginate-does-not-exist/">Laravel 5.5 Method paginate does not exist</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>HTML tags showing in my public view when I am using Ckeditor to store data in database.</title>
		<link>https://www.scmgalaxy.com/tutorials/html-tags-showing-in-my-public-view-when-i-am-using-ckeditor-to-store-data-in-database/</link>
					<comments>https://www.scmgalaxy.com/tutorials/html-tags-showing-in-my-public-view-when-i-am-using-ckeditor-to-store-data-in-database/#respond</comments>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Tue, 11 May 2021 11:32:31 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[public]]></category>
		<category><![CDATA[tags]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6171</guid>

					<description><![CDATA[<p>profile.blade.php Solution: Use below codes to hide html tags Resources : Click Here Click Here</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/html-tags-showing-in-my-public-view-when-i-am-using-ckeditor-to-store-data-in-database/">HTML tags showing in my public view when I am using Ckeditor to store data in database.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="550" height="78" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/showing-html-tags-in-laravel-project-after-putting-data-using-ckeditor.jpg" alt="" class="wp-image-6172" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/showing-html-tags-in-laravel-project-after-putting-data-using-ckeditor.jpg 550w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/showing-html-tags-in-laravel-project-after-putting-data-using-ckeditor-300x43.jpg 300w" sizes="auto, (max-width: 550px) 100vw, 550px" /></figure></div>



<p class="wp-block-paragraph"><strong>profile.blade.php</strong></p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
{{$users-&gt;quality}}
</pre></div>


<p class="wp-block-paragraph"><strong>Solution:</strong></p>



<p class="wp-block-paragraph">Use below codes to hide html tags</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
{!!$users-&gt;quality!!}
</pre></div>


<p class="wp-block-paragraph"><strong>Resources : </strong></p>



<ol class="wp-block-list"><li><a rel="noreferrer noopener" href="https://stackoverflow.com/questions/34544232/html-tags-showing-after-ckeditor" target="_blank">Click Here</a></li><li><a href="https://laracasts.com/discuss/channels/laravel/laravel-ckeditor-display-row-data-in-the-database-and-post-form" target="_blank" rel="noreferrer noopener">Click Here</a></li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/html-tags-showing-in-my-public-view-when-i-am-using-ckeditor-to-store-data-in-database/">HTML tags showing in my public view when I am using Ckeditor to store data in database.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/html-tags-showing-in-my-public-view-when-i-am-using-ckeditor-to-store-data-in-database/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>DBMS Interview Q&#038;A Part- 2</title>
		<link>https://www.scmgalaxy.com/tutorials/dbms-interview-qa-part-2/</link>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Tue, 11 May 2021 05:12:12 +0000</pubDate>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[dbms]]></category>
		<category><![CDATA[Denormalization]]></category>
		<category><![CDATA[Engineers]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Joins]]></category>
		<category><![CDATA[Locks]]></category>
		<category><![CDATA[Primary Key]]></category>
		<category><![CDATA[Questions]]></category>
		<category><![CDATA[Transaction]]></category>
		<category><![CDATA[Trigger]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6166</guid>

					<description><![CDATA[<p>Q1. Can you create a table without using create command ? A. Yes, we can create table with the help [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/dbms-interview-qa-part-2/">DBMS Interview Q&#038;A Part- 2</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h5 class="wp-block-heading">Q1. Can you create a table without using create command ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Yes, we can create table with the help of SELECT INTO statement. It<br>copies content of one table to another table. However, there should be<br>at least one table from where we can copy content.<br>Example :  Copying all columns : select * into new_table from old_table where<br>condition<br>Copying specific column : select col1,col2 into new_table from old_table<br>where condition<br>Creating new empty table : select * into new_table from old_table where 1<br>= 0</p>



<h5 class="wp-block-heading">Q2. What is Denormalization ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> It is the reverse process of Normalization. It is the process of trying to<br>improve the readability of the database by grouping data. Denormalization<br>is also used for speeding up the performance.</p>



<h5 class="wp-block-heading">Q3. What are Joins ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Join clause are used to combine rows from two or more tables,<br>depending upon the columns between them.</p>



<h5 class="wp-block-heading">Q4. What are the different types of Joins ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Different types of Joins are :</p>



<ol class="wp-block-list"><li><strong>INNER JOIN</strong> : It returns all records that are common in both tables.</li><li><strong>LEFT OUTER JOIN</strong> : It returns all records from the left table, and matched records from right table</li><li><strong>RIGHT OUTER JOIN</strong> : It returns all records from the right table, and matched records from left table.</li><li><strong>FULL OUTER JOIN</strong> : It returns all records when there is a match in either left or right table.</li></ol>



<h5 class="wp-block-heading">Q5. Explain Transaction ?</h5>



<p class="wp-block-paragraph"><strong>A. </strong>Transaction refers to the collection of multiple statements, that are<br>responsible for transferring a database from one consistent state to another<br>consistent state.</p>



<h5 class="wp-block-heading">Q6. Explain the role of views in database ?</h5>



<p class="wp-block-paragraph">A.View refers to the virtual table. We can create view using create view<br>statement.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
CREATE VIEW as Select col1
FROM table1
where CONDITION;
</pre></div>


<h5 class="wp-block-heading">Q7. Explain Trigger ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Triggers are defined as special kind of stored programs, which are<br>automatically executed whenever a specific operation occurs in the<br>database server.</p>



<h5 class="wp-block-heading">Q8. What are Locks ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Locking is the mechanism to protect data integrity and ensure data<br>consistency during transactions. Locks are the most common cause of<br>blocked processes. Stronger the Isolation level, more the chances of<br>blocking.</p>



<h5 class="wp-block-heading">Q9. Explain different types of Locks ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Locks are broadly characterized into following types :</p>



<p class="wp-block-paragraph"><strong>Shared Locks</strong> : These locks are acquired by readers during read<br>operations. In other words, these locks exist when two transactions are<br>granted read access. Data updation is not allowed until shared lock is<br>released.<br><strong>Exclusive Locks</strong> : In exclusive lock, data items can be both read as well<br>as written by the transaction. In Exclusive lock, multiple transactions do not<br>modify the same data simultaneously.</p>



<h5 class="wp-block-heading">Q10. What is Super Key ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> An attribute or set of attributes that uniqueness in database is refered to<br>as Super key. It is the superset of Candidate key.</p>



<h5 class="wp-block-heading">Q11. What is Candidate Key ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> A minimal set of attribute/attributes that can be used to uniquely identify<br>a single row in a given relation is refered to as Candidate key.</p>



<h5 class="wp-block-heading">Q12. Explain Primary Key ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> DB Designer selects one of the candidate key as primary key for a<br>relation for the purpose of identification of a tuple uniquely. It is identified<br>during table creation.</p>



<h5 class="wp-block-heading">Q13. What is Composite Key ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> If a primary key has more than one attribute, then it is referred to as<br>Composite key.</p>



<h5 class="wp-block-heading">Q14. Explain Foreign Key ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> A set of attribute/attributes that is used to establish and enforce a link<br>between data in two or more relations.</p>



<h5 class="wp-block-heading">Q15. Can a table have more than one primary key ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> No.</p>



<h5 class="wp-block-heading">Q16. Can We Have NULL Value in Primary Key?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> No.</p>



<h5 class="wp-block-heading">Q17. What are cursors ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> A cursor is a temporary work area created in system memory when a<br>SQL statement is executed. A cursor can hold more than one row, but can<br>process only one row at a time.</p>



<h5 class="wp-block-heading">Q18.<strong>What are the differences between Hash join, Merge join and Nested loops?</strong></h5>



<figure class="wp-block-table"><table><tbody><tr><td class="has-text-align-center" data-align="center"><strong>Hash join</strong></td><td class="has-text-align-center" data-align="center"><strong>Merge join</strong></td><td class="has-text-align-center" data-align="center"><strong>Nested loops</strong></td></tr><tr><td class="has-text-align-center" data-align="center">The hash join is used when you have to join large tables.</td><td class="has-text-align-center" data-align="center">Merge join is used when projections of the joined tables are sorted on the join columns.</td><td class="has-text-align-center" data-align="center">The nested loop consists of an outer loop and an inner loop.</td></tr></tbody></table></figure>



<h5 class="wp-block-heading">Q19. <strong>What do you understand by Proactive, Retroactive and Simultaneous Update</strong> ?</h5>



<ol class="wp-block-list"><li><strong>Proactive Update:</strong> These updates are applied to the database before it becomes effective in the real-world environment.</li><li><strong>Retroactive Update:</strong> These retroactive updates are applied to a database after it becomes effective in the real-world environment.</li><li><strong>Simultaneous Update:</strong> These updates are applied to the database at the same instance of time as it becomes effective in a real-world environment.</li></ol>



<h5 class="wp-block-heading">Q20.<strong>What do you understand by Data Independence?</strong></h5>



<p class="wp-block-paragraph"><strong>A. </strong>When you say an application has data independence, it implies that the application is independent of the storage structure and data access strategies of data.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/dbms-interview-qa-part-2/">DBMS Interview Q&#038;A Part- 2</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>DBMS Interview Q&#038;A Part- 1</title>
		<link>https://www.scmgalaxy.com/tutorials/dbms-interview-qa-part-1/</link>
					<comments>https://www.scmgalaxy.com/tutorials/dbms-interview-qa-part-1/#respond</comments>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Mon, 10 May 2021 06:36:50 +0000</pubDate>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[dbms]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Questions]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6147</guid>

					<description><![CDATA[<p>Q. What is Data ? A. Data refers to raw facts and figures that can be recorded. Q. What is [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/dbms-interview-qa-part-1/">DBMS Interview Q&#038;A Part- 1</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h5 class="wp-block-heading">Q. What is Data  ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Data refers to raw facts and figures that can be recorded.</p>



<h5 class="wp-block-heading">Q. What is Database ?</h5>



<p class="wp-block-paragraph"><strong>A. </strong>Database refers to the collection of interrelated and coherent data.</p>



<h5 class="wp-block-heading">Q. Explain DBMS ?</h5>



<p class="wp-block-paragraph" id="block-6dd739f4-3f59-4e01-bc84-3fe42e47a63e"><strong>A.</strong> DBMS stands for Database Management System. It is a software<br>package designed to define, manipulate, retrieve and manage data in<br>database.</p>



<h5 class="wp-block-heading">Q. Why DBMS ?</h5>



<p class="wp-block-paragraph" id="block-be293b80-1ba9-4550-b118-ec6b9d119b99"><strong>A.</strong> To make information easy to access and protected, we use database<br>management systems. DBMS is important because it manages the data<br>efficiently and allow users to perform multiple tasks on it with the ease.</p>



<h5 class="wp-block-heading">Q. What is a database system?</h5>



<p class="wp-block-paragraph" id="block-87aacc1a-6300-4442-ba51-444d3e959c87"><strong>A. </strong>The collection of database and DBMS software together is known as a<br>database system.</p>



<h5 class="wp-block-heading">Q. What do you mean by Data Modelling ?</h5>



<p class="wp-block-paragraph" id="block-046c18f7-6254-4c7b-8d1d-520b0a082bab"><strong>A.</strong> Data Modelling is the set of conceptual tools for describing data<br>relationship, data semantics, and consistency constraints. Different data<br>models are : Network model, Relational model, Object Oriented model, ER<br>model, and more.</p>



<h5 class="wp-block-heading">Q. Explain RDBMS ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> RDBMS stands for Relational Database Management System. It<br>arranges information into allied rows and columns. RDMS is an information<br>management system which is oriented on a data model. RDBMS Example<br>systems are SQL Server, Oracle, MySQL, MariaDB and SQLite.</p>



<h5 class="wp-block-heading">Q. Explain Abstraction of Data, with reference to DBMS ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Data Abstraction refers to the process of hiding background details from<br>user.</p>



<h5 class="wp-block-heading">Q. Explain the 3 L’s of Data Abstraction ?</h5>



<p class="wp-block-paragraph"><strong>A. </strong>It refers to three levels of abstraction. They are :</p>



<ol class="wp-block-list"><li><strong>Physical Level </strong>: It is lowest level of abstraction. It describes how data is<br>actually stored. It also describes complex data structure in detail.</li><li><strong>Logical Level</strong> : It describes what data get stored in the database and what are the relationships among them.</li><li><strong>View Level </strong>: It is the highest level of data abstraction that only describes a part of database indirectly</li></ol>



<h5 class="wp-block-heading">Q. What is Database Schema ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Schema refers to the overall structure of database without data values.</p>



<h5 class="wp-block-heading">Q. What do you mean by transparent DBMS?</h5>



<p class="wp-block-paragraph"><strong>A. </strong>The transparent DBMS is a type of DBMS which keeps its physical<br>structure hidden from users.</p>



<h5 class="wp-block-heading">Q. Explain ER Model ?</h5>



<p class="wp-block-paragraph">A. This model is based on the perception of real world that consists of<br>collection of basic entities and relationship among these objects. It is the<br>graphical representation of the database.</p>



<h5 class="wp-block-heading">Q. What do you understand by Data Independency ?</h5>



<p class="wp-block-paragraph"><strong>A. </strong>It refers to the capacity to change data at one level without affecting next<br>higher level is called Data Independence. It is of two types : Physical DI,<br>Logical DI.<br><strong>Physical DI :</strong> It indicates that physical storage of device could be changed<br>without affecting conceptual view.<br><strong>Logical DI :</strong> It indicates that conceptual schema can be changed without<br>affecting existing external schema.</p>



<h5 class="wp-block-heading">Q. What is a Database Language ?</h5>



<p class="wp-block-paragraph"><strong>A. </strong>Database Language is a medium by which we can interact with the<br>database system through some set of commands. These commands are<br>structured.</p>



<h5 class="wp-block-heading">Q. What is a Tuple ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> A single row of a table, which contains a single record for that relation is<br>called a tuple.</p>



<h5 class="wp-block-heading">Q. Explain degree and Cardinality ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Degree is the total number of attributes in a relation or table and<br>cardinality is total number of tuples/rows in a relation/table.</p>



<h5 class="wp-block-heading">Q. What is a relation in DBMS ?</h5>



<p class="wp-block-paragraph"><strong>A. </strong>A database relation refers to an individual table in a relational database.<br>A table is a relation because it stores the relation between data in its<br>column-row format.</p>



<h5 class="wp-block-heading">Q. What is the role of DML Compiler ?</h5>



<p class="wp-block-paragraph"><strong>A. </strong>It translates DML statements in a query language into low-level<br>instructions that the query evaluation engine can easily understand.</p>



<h5 class="wp-block-heading">Q. Explain me the role of using clause for queries ?</h5>



<p class="wp-block-paragraph">A. Clause enables you to specify conditions that filters the results as per<br>the requirement. Some of the most commonly used clauses are : having,<br>where etc.</p>



<h5 class="wp-block-heading">Q. What is a Query ?</h5>



<p class="wp-block-paragraph"><strong>A. </strong>Query is a statement that is used for the extraction of data from<br>database.<br>For example – select * from table1 is a query</p>



<h5 class="wp-block-heading">Q. What is Subquery ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Subquery is a query within query.<br>For example – select * from students where marks = ( select max(marks)<br>from students);</p>



<h5 class="wp-block-heading">Q. Explain BCNF ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> BCNF is Boyce-Codd Normal Form. It is considered to be the advanced<br>version of 3 NF. Hence it is also refered to as 3.5 NF. A relation is said to<br>be in BCNF, if it satisfies following rules :</p>



<ol class="wp-block-list"><li>It is in 3NF.</li><li>For every functional dependency P->Q, P should be the super key of the table.</li></ol>



<h5 class="wp-block-heading">Q. What are Stored Procedures ?</h5>



<p class="wp-block-paragraph"><strong>A.</strong> Stored Procedure refers to the set of Structured Query Language(SQL)<br>statements stored in a relational database management system as a group.<br>It can further be reused and shared by multiple programs. It provides a<br>layer of security between a user interface and database.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/dbms-interview-qa-part-1/">DBMS Interview Q&#038;A Part- 1</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/dbms-interview-qa-part-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to set read more button using data from database in Laravel?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-set-read-more-button-using-data-from-database-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-set-read-more-button-using-data-from-database-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Sat, 08 May 2021 16:20:35 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[Php]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6139</guid>

					<description><![CDATA[<p>Hi friends, I want to add read more&#8230; button in my blade file where data is coming from database. below [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-set-read-more-button-using-data-from-database-in-laravel/">How to set read more button using data from database in Laravel?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Hi friends, I want to add <strong>read more&#8230;</strong> button in my blade file where data is coming from database.</p>



<p class="wp-block-paragraph">below is my code in blade file <strong>getalldata.blade.php</strong></p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;ul class=&quot;text-justify&quot;&gt;
	&amp;lt;li&gt;
        &amp;lt;small&gt;{{$users-&gt;pro_experience}}&amp;lt;/small&gt;
    &amp;lt;/li&gt;
&amp;lt;/ul&gt;
</pre></div>


<p class="wp-block-paragraph">In above Unordered list I am getting a long data from database and I want to add a <em><strong>Read more</strong></em> and <em><strong>Read Less</strong></em> toggle option. Now follow below steps to get your result now.</p>



<h4 class="wp-block-heading"><strong>getalldata.blade.php</strong></h4>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;ul class=&quot;text-justify&quot;&gt;
	&amp;lt;li class=&quot;&quot;&gt;
		&amp;lt;!-- &amp;lt;small&gt;{{$users-&gt;pro_experience}}&amp;lt;/small&gt; --&gt;
		@if(strlen($users-&gt;pro_experience) &gt; 50)
			{{substr($users-&gt;pro_experience,0,50)}}
			&amp;lt;span class=&quot;read-more-show hide_content&quot;&gt;More&amp;lt;i class=&quot;fa fa-angle-down&quot;&gt;&amp;lt;/i&gt;&amp;lt;/span&gt;
			&amp;lt;span class=&quot;read-more-content&quot;&gt; {{substr($users-&gt;pro_experience,50,strlen($users-&gt;pro_experience))}} 
			&amp;lt;span class=&quot;read-more-hide hide_content&quot;&gt;Less &amp;lt;i class=&quot;fa fa-angle-up&quot;&gt;&amp;lt;/i&gt;&amp;lt;/span&gt; &amp;lt;/span&gt;
		@else
			{{$users-&gt;pro_experience}}
		@endif
	&amp;lt;/li&gt;
&amp;lt;/ul&gt;
</pre></div>


<h4 class="wp-block-heading"><strong>Javascript Code</strong></h4>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;script type=&quot;text/javascript&quot;&gt;
// Hide the extra content initially:
            $(&#039;.read-more-content&#039;).addClass(&#039;hide_content&#039;)
            $(&#039;.read-more-show, .read-more-hide&#039;).removeClass(&#039;hide_content&#039;)

            // Set up the toggle effect:
            $(&#039;.read-more-show&#039;).on(&#039;click&#039;, function(e) {
              $(this).next(&#039;.read-more-content&#039;).removeClass(&#039;hide_content&#039;);
              $(this).addClass(&#039;hide_content&#039;);
              e.preventDefault();
            });
            $(&#039;.read-more-hide&#039;).on(&#039;click&#039;, function(e) {
              var p = $(this).parent(&#039;.read-more-content&#039;);
              p.addClass(&#039;hide_content&#039;);
              p.prev(&#039;.read-more-show&#039;).removeClass(&#039;hide_content&#039;); // Hide only the preceding &quot;Read More&quot;
              e.preventDefault();
            });
&amp;lt;/script&gt;
</pre></div>


<h4 class="wp-block-heading"><strong>CSS Code</strong></h4>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;style type=&quot;text/css&quot;&gt;
    .read-more-show{
      cursor:pointer;
      color: #ed8323;
    }
    .read-more-hide{
      cursor:pointer;
      color: #ed8323;
    }

    .hide_content{
      display: none;
    }
&amp;lt;/style&gt;
</pre></div>


<p class="wp-block-paragraph"><strong>Resources : </strong></p>



<ol class="wp-block-list"><li><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2753.png" alt="❓" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <a href="https://stackoverflow.com/questions/36098424/how-to-set-read-more-button-using-data-from-database-in-php" data-type="URL" data-id="https://stackoverflow.com/questions/36098424/how-to-set-read-more-button-using-data-from-database-in-php" target="_blank" rel="noreferrer noopener">Click Here</a> </li><li><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2753.png" alt="❓" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <a href="https://makitweb.com/load-more-results-with-jqueryajax-and-php/" target="_blank" rel="noreferrer noopener">Click Here</a></li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-set-read-more-button-using-data-from-database-in-laravel/">How to set read more button using data from database in Laravel?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-set-read-more-button-using-data-from-database-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to set a selected option using ajax in Laravel 5.6?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-set-a-selected-option-using-ajax-in-laravel-5-6/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-set-a-selected-option-using-ajax-in-laravel-5-6/#respond</comments>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Tue, 04 May 2021 06:50:50 +0000</pubDate>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Laravel]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Selected]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6080</guid>

					<description><![CDATA[<p>Hey friends, I am trying to show database column data in my edit form of a Laravel project. yesterday I [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-set-a-selected-option-using-ajax-in-laravel-5-6/">How to set a selected option using ajax in Laravel 5.6?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Hey friends, I am trying to show database column data in my edit form of a Laravel project. yesterday I failed to show data from database in a select list using ajax. so let&#8217;s see the below blade file and ajax also to get your solution.</p>



<h5 class="wp-block-heading">edit.blade.php </h5>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;div class=&quot;form-group&quot;&gt;
  &amp;lt;label for=&quot;Blood_Group&quot;&gt;Blood Group&amp;lt;/label&gt;
	&amp;lt;select class=&quot;form-control&quot; id=&quot;bgroup&quot; name=&quot;bgroup&quot;&gt;
	  &amp;lt;option value=&quot;&quot; disabled selected&gt;Select BG&amp;lt;/option&gt;
	  &amp;lt;option value=&quot;O+&quot;&gt;O+&amp;lt;/option&gt;
	  &amp;lt;option value=&quot;O-&quot;&gt;O-&amp;lt;/option&gt;
	  &amp;lt;option value=&quot;A+&quot;&gt;A+&amp;lt;/option&gt;
	  &amp;lt;option value=&quot;A-&quot;&gt;A-&amp;lt;/option&gt;
	  &amp;lt;option value=&quot;B+&quot;&gt;B+&amp;lt;/option&gt;
	  &amp;lt;option value=&quot;B-&quot;&gt;B-&amp;lt;/option&gt;
	  &amp;lt;option value=&quot;AB+&quot;&gt;AB+&amp;lt;/option&gt;
	  &amp;lt;option value=&quot;AB+&quot;&gt;AB-&amp;lt;/option&gt;
	&amp;lt;/select&gt;
&amp;lt;/div&gt;
</pre></div>


<h5 class="wp-block-heading">profile.js</h5>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$.ajax({
	type: &quot;GET&quot;,
	url: &#039;addprofile&#039;,
	data: null,
	success: function(response) {
          let data = response.data;
          $(&quot;#bgroup&quot;).append(&#039;&amp;lt;option value=&#039; + data&#x5B;0].bgroup+ &#039;&gt;&#039; + data&#x5B;0].bgroup+ 
           &#039;&amp;lt;/option&gt;&#039;);

        }
});
</pre></div>


<p class="wp-block-paragraph"><strong>Error </strong>: updated data from database is not showing in selected list when i am trying to update it again.</p>



<h5 class="wp-block-heading"><strong>Solution </strong>:</h5>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$(&quot;#bgroup&quot;).val(data&#x5B;0].bgroup).attr(&#039;selected&#039;,&#039;selected&#039;);
</pre></div>


<p class="wp-block-paragraph">You can also use below code:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$(&#039;#bgroup option&#x5B;value=&quot;&#039; + data&#x5B;0].bgroup+ &#039;&quot;]&#039;).prop(&#039;selected&#039;, true);
</pre></div>


<p class="wp-block-paragraph">Above solution is working for me. so if you have more solution on select option then please feel free to comment and share your knowledge.</p>



<p class="wp-block-paragraph">Resources : </p>



<ol class="wp-block-list"><li><a rel="noreferrer noopener" href="https://stackoverflow.com/questions/40471307/how-to-set-a-selected-option-using-ajax" target="_blank">Click here</a> </li><li><a href="https://makitweb.com/auto-populate-dropdown-with-jquery-ajax-in-laravel/">Click here</a></li></ol>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-set-a-selected-option-using-ajax-in-laravel-5-6/">How to set a selected option using ajax in Laravel 5.6?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-set-a-selected-option-using-ajax-in-laravel-5-6/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to configure WordPress date and time settings ?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-configure-wordpress-date-and-time-settings/</link>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Sat, 01 May 2021 16:15:36 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[country]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6062</guid>

					<description><![CDATA[<p>Hey friends, Today I am going to explain you about wordpress date and time settings. Today I saw something in [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-configure-wordpress-date-and-time-settings/">How to configure WordPress date and time settings ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="81" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/date-time-view-at-wordpress-posts-section-1024x81.jpg" alt="" class="wp-image-6066" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/date-time-view-at-wordpress-posts-section-1024x81.jpg 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/date-time-view-at-wordpress-posts-section-300x24.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/date-time-view-at-wordpress-posts-section-768x61.jpg 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/date-time-view-at-wordpress-posts-section.jpg 1125w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption><strong>Date-Time Is showing wrong.</strong></figcaption></figure>



<p class="wp-block-paragraph">Hey friends, Today I am going to explain you about wordpress date and time settings. Today I saw something in blog post that time is not showing as in my pc time. so i totally confused after seeing this. so i decided to fix it. so that is for this. Let&#8217;s get started :</p>



<p class="wp-block-paragraph"><strong>Step 1 :</strong> Login to your <strong>wordpress</strong> as <strong>Administrator</strong></p>



<p class="wp-block-paragraph"><strong><em>Step 2 : </em></strong>Under <strong>Dashboard</strong>, click <strong>Settings</strong>, and then click <strong>General</strong>.</p>



<p class="wp-block-paragraph"><strong><em>Step 3 :</em></strong> Scroll down to the <strong>Timezone</strong> list box, and then select the time zone you want.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><em><strong>Time zones are grouped geographically under Africa, America, Asia, Europe, and other regions.</strong></em></p></blockquote>



<p class="wp-block-paragraph"><strong><em>Step 4 :</em></strong> Under <strong>Date Format</strong>, select one of the predefined formats for WordPress to use to display dates.</p>



<p class="wp-block-paragraph"><strong><em>Step 5 : </em></strong>Under <strong>Time Format</strong>, select one of the predefined formats.</p>



<p class="wp-block-paragraph"><strong><em>Step 6 : </em></strong>at last click Save Changes.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-configure-wordpress-date-and-time-settings/">How to configure WordPress date and time settings ?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to add jQuery DataTables into your Laravel projects?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-add-jquery-datatables-into-your-laravel-projects/</link>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Sat, 01 May 2021 09:37:57 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6024</guid>

					<description><![CDATA[<p>First of all, let&#8217;s discus here, What is DataTable? Datatable is a plugin for jQuery JS Library. it&#8217;s really flexible [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-add-jquery-datatables-into-your-laravel-projects/">How to add jQuery DataTables into your Laravel projects?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">First of all,  let&#8217;s discus here, <strong>What is DataTable?</strong></p>



<p class="wp-block-paragraph">Datatable is a plugin for jQuery JS Library. it&#8217;s really flexible tool. it provides the search, filter &amp; pagination and it&#8217;s also mobile friendly.</p>



<p class="wp-block-paragraph"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4da.png" alt="📚" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Step 1 :</strong> Open Datatables website (<a rel="noreferrer noopener" href="https://datatables.net/" target="_blank">URL</a> )</p>



<p class="wp-block-paragraph"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4da.png" alt="📚" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Step 2 </strong>: Copy CSS &amp; JS CDN Link from Home page </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
//cdn.datatables.net/1.10.24/css/jquery.dataTables.min.css
//cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js
</pre></div>


<p class="wp-block-paragraph"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4da.png" alt="📚" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Step 3 :</strong> Add it to your blade file. just see below how to add these css and js cdn links into your particular pages.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
@section(&#039;css&#039;)
   &amp;lt;link rel=&quot;stylesheet&quot;href=&quot;//cdn.datatables.net/1.10.24/css/jquery.dataTables.min.css&quot;&gt;
@endsection
</pre></div>


<p class="wp-block-paragraph"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4da.png" alt="📚" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Step 4 :</strong> Now Adding JS CDN</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
@push(&#039;scripts&#039;)
   &amp;lt;script src=&quot;//cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js&quot;&gt;
@endpush
</pre></div>


<p class="wp-block-paragraph"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4da.png" alt="📚" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Step 5 :</strong> Add one more script which is the ID of your table where you are going to active your datatable. if you will see below code then you will find a ID (#myTable). it is your table id. in your case it will be something else.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;script&gt;
		$(document).ready( function () {
			$(&#039;#myTable&#039;).DataTable();
		} );
&amp;lt;/script&gt;
</pre></div>


<p class="wp-block-paragraph"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2757.png" alt="❗" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Note</strong> : if you are using DataTable into your particular page then only add in that particular file and if you are going to use it multiple places then add it to your main file like <strong>app.blade.php</strong> .</p>



<p class="wp-block-paragraph">Hey friends after following above steps you will find your view like below image : </p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="391" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/demonstration-of-datatable-in-laravel-projects-1024x391.png" alt="" class="wp-image-6025" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/demonstration-of-datatable-in-laravel-projects-1024x391.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/demonstration-of-datatable-in-laravel-projects-300x115.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/demonstration-of-datatable-in-laravel-projects-768x293.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/demonstration-of-datatable-in-laravel-projects.png 1365w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-add-jquery-datatables-into-your-laravel-projects/">How to add jQuery DataTables into your Laravel projects?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Laravel 8 &#8211; Insert record using ajax</title>
		<link>https://www.scmgalaxy.com/tutorials/laravel-8-insert-record-using-ajax/</link>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Sat, 01 May 2021 07:42:37 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[laravel8]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6015</guid>

					<description><![CDATA[<p>Hey friends, I came again to all of you with a new article, must follow below steps to create a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-8-insert-record-using-ajax/">Laravel 8 &#8211; Insert record using ajax</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Hey friends, I came again to all of you with a new article, must follow below steps to create a CRUD in Laravel using ajax.</p>



<p class="wp-block-paragraph">📚 <strong>Step 1 : </strong>create a Laravel project using below command.</p>



<pre class="wp-block-preformatted">       <code>composer create-project laravel/laravel Studentsform</code></pre>



<p class="wp-block-paragraph">📚 <strong>Step 2</strong> : Make a model for this, run below command: after running below command you will find a model name <em>Student</em> and one migration <em>2021_05_01_create_students_table</em></p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan make:model Student -m
</pre></div>


<p class="wp-block-paragraph">📚 <strong>Step 3 :</strong> Create a <strong>StudentController</strong> now using below command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan make:controller StudentController
</pre></div>


<p class="wp-block-paragraph">📚 <strong>Step 4 :</strong> Now open <strong>migration</strong> and add some column in it</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Schema::create(&#039;students&#039;, function(Blueprint $table)) {
	$table-&gt;id();
	$table-&gt;string(&#039;firstname&#039;);
	$table-&gt;string(&#039;lastname&#039;);
	$table-&gt;string(&#039;email&#039;);
	$table-&gt;string(&#039;phone&#039;);
	$table-&gt;timestamps();
}
</pre></div>


<p class="wp-block-paragraph">📚 <strong>Step 5 :</strong> Add table name in <strong>Student</strong> model and also write fillable area for it with your table <strong>column name</strong>.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
    protected $table = &#039;students&#039;;
	protected $fillable = &#x5B;&#039;firstname&#039;,&#039;lastname&#039;,&#039;email&#039;,&#039;phone&#039;];
</pre></div>


<p class="wp-block-paragraph">📚 <strong>Step 6 :</strong> now migrate all your <strong>migration</strong> using below command , before migrating make sure to create a <strong>Database</strong> for it.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan migrate
</pre></div>


<p class="wp-block-paragraph">📚 <strong>Step 7 : </strong>And then Open <strong>StudentController.php</strong> (<em>app/Http/Controllers/</em>StudentController) and create a function name index().</p>



<h5 class="wp-block-heading">📄 StudentController.php</h5>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
public function index()
 {
	$students = Student::orderBy(&#039;id&#039;,&#039;DESC&#039;)-&gt;get();
	return view(&#039;students&#039;,compact(&#039;students&#039;));
 }
</pre></div>


<p class="wp-block-paragraph">📚<strong> Step 8 :</strong>  Let&#8217;s create a route for this. so now open <strong>web.php</strong> file situated under <strong>routes </strong>folder and add also controller location within <strong>web.php</strong>.</p>



<h5 class="wp-block-heading">📄 <strong>web.php</strong></h5>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Use App\Http\Controllers\StudentController
Route::get(&#039;/students&#039;,&#x5B;StudentController::class,&#039;index&#039;]);
</pre></div>


<p class="wp-block-paragraph">📚 <strong>Step 9 :</strong> Now create a view file under <strong>resources/views</strong> with name <strong>students.blade.php</strong> and below code in it<br></p>



<h5 class="wp-block-heading">📄 students.blade.php </h5>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;!DOCTYPE html&gt;
&amp;lt;html lang=&quot;en&quot;&gt;
&amp;lt;head&gt;
    &amp;lt;meta charset=&quot;UTF-8&quot;&gt;
    &amp;lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;
    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &amp;lt;title&gt;Ajax Crud&amp;lt;/title&gt;
    &amp;lt;link href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot; integrity=&quot;sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6&quot; crossorigin=&quot;anonymous&quot;&gt;
&amp;lt;/head&gt;
&amp;lt;body&gt;
    &amp;lt;section style=&quot;padding-top:60px&quot;&gt;
        &amp;lt;div class=&quot;container&quot;&gt;
            &amp;lt;div class=&quot;row&quot;&gt;
                &amp;lt;div class=&quot;col-md-12&quot;&gt;
                    &amp;lt;div class=&quot;card&quot;&gt;
                        &amp;lt;div class=&quot;card-header&quot;&gt;
                            Students &amp;lt;a href=&quot;#&quot; class=&quot;btn btn-success&quot; data-bs-toggle=&quot;modal&quot; data-bs-target=&quot;#StudentModal&quot;&gt;Add New Students&amp;lt;/a&gt;
                        &amp;lt;/div&gt;
                        &amp;lt;div class=&quot;card-body&quot;&gt;
                            &amp;lt;table id=&quot;studentTable&quot; class=&quot;table&quot;&gt;
                                &amp;lt;thead&gt;
                                    &amp;lt;tr&gt;
                                        &amp;lt;th&gt;First Name&amp;lt;/th&gt;
                                        &amp;lt;th&gt;Last Name&amp;lt;/th&gt;
                                        &amp;lt;th&gt;Email&amp;lt;/th&gt;
                                        &amp;lt;th&gt;Phone&amp;lt;/th&gt;
                                    &amp;lt;/tr&gt;
                                &amp;lt;/thead&gt;
                                &amp;lt;tbody&gt;
                                    @foreach($students as $student)
                                        &amp;lt;tr&gt;
                                            &amp;lt;td&gt;{{$student-&gt;firstname}}&amp;lt;/td&gt;
                                            &amp;lt;td&gt;{{$student-&gt;lastname}}&amp;lt;/td&gt;
                                            &amp;lt;td&gt;{{$student-&gt;email}}&amp;lt;/td&gt;
                                            &amp;lt;td&gt;{{$student-&gt;phone}}&amp;lt;/td&gt;
                                        &amp;lt;/tr&gt;
                                    @endforeach
                                &amp;lt;/tbody&gt;
                            &amp;lt;/table&gt;
                        &amp;lt;/div&gt;
                    &amp;lt;/div&gt;
                &amp;lt;/div&gt;
            &amp;lt;/div&gt;
        &amp;lt;/div&gt;
    &amp;lt;/section&gt;

    &amp;lt;!-- modal start --&gt;

    &amp;lt;!-- Button trigger modal --&gt;
    &amp;lt;!-- Modal --&gt;
    &amp;lt;div class=&quot;modal fade&quot; id=&quot;StudentModal&quot; tabindex=&quot;-1&quot; aria-labelledby=&quot;exampleModalLabel&quot; aria-hidden=&quot;true&quot;&gt;
        &amp;lt;div class=&quot;modal-dialog&quot;&gt;
        &amp;lt;div class=&quot;modal-content&quot;&gt;
            &amp;lt;div class=&quot;modal-header&quot;&gt;
            &amp;lt;h5 class=&quot;modal-title&quot; id=&quot;exampleModalLabel&quot;&gt;Add new student&amp;lt;/h5&gt;
            &amp;lt;button type=&quot;button&quot; class=&quot;btn-close&quot; data-bs-dismiss=&quot;modal&quot; aria-label=&quot;Close&quot;&gt;&amp;lt;/button&gt;
            &amp;lt;/div&gt;
            &amp;lt;div class=&quot;modal-body&quot;&gt;
            &amp;lt;form action=&quot;&quot; id=&quot;studentForm&quot;&gt;
                @csrf
                &amp;lt;div class=&quot;form-group&quot;&gt;
                    &amp;lt;label for=&quot;FirstName&quot;&gt;First Name&amp;lt;/label&gt;
                    &amp;lt;input type=&quot;text&quot; class=&quot;form-control&quot; id=&quot;firstname&quot;&gt;
                &amp;lt;/div&gt;
                &amp;lt;div class=&quot;form-group&quot;&gt;
                    &amp;lt;label for=&quot;LastName&quot;&gt;Last Name&amp;lt;/label&gt;
                    &amp;lt;input type=&quot;text&quot; class=&quot;form-control&quot; id=&quot;lastname&quot;&gt;
                &amp;lt;/div&gt;
                &amp;lt;div class=&quot;form-group&quot;&gt;
                    &amp;lt;label for=&quot;email&quot;&gt;Email&amp;lt;/label&gt;
                    &amp;lt;input type=&quot;text&quot; class=&quot;form-control&quot; id=&quot;email&quot;&gt;
                &amp;lt;/div&gt;
                &amp;lt;div class=&quot;form-group&quot;&gt;
                    &amp;lt;label for=&quot;phone&quot;&gt;Phone&amp;lt;/label&gt;
                    &amp;lt;input type=&quot;text&quot; class=&quot;form-control&quot; id=&quot;phone&quot;&gt;
                &amp;lt;/div&gt;
                &amp;lt;button type=&quot;submit&quot; class=&quot;btn btn-primary&quot;&gt;Submit&amp;lt;/button&gt;
            &amp;lt;/form&gt;
            &amp;lt;/div&gt;
            
        &amp;lt;/div&gt;
        &amp;lt;/div&gt;
    &amp;lt;/div&gt;
    &amp;lt;script&gt;
        $(&quot;#studentForm&quot;).submit(function(e){
            e.preventDefault();
            let firstname = $(&quot;#firstname&quot;).val();
            let lastname = $(&quot;#lastname&quot;).val();
            let email = $(&quot;#email&quot;).val();
            let phone = $(&quot;#phone&quot;).val();
            let _token = $(&quot;input&#x5B;name=_token]&quot;).val();

            $.ajax({
                url: &quot;{{route(&#039;student.add&#039;)}}&quot;,
                type:&quot;POST&quot; ,
                data: {
                    firstname:firstname,
                    lastname:lastname,
                    email:email,
                    phone:phone,
                    _token:_token
                },
                success:function(response)
                {
                    if(response){
                        $(&quot;#studentTable tbody&quot;).prepend(&#039;&amp;lt;tr&gt;&amp;lt;td&gt;&#039;+response.firstname+&#039;&amp;lt;/td&gt;&amp;lt;td&gt;&#039;+response.lastname+&#039; &amp;lt;/td&gt;&amp;lt;td&gt;&#039;+response.email+&#039;&amp;lt;/td&gt;&amp;lt;td&gt;&#039;+response.phone+&#039;&amp;lt;/td&gt;&amp;lt;/tr&gt;&#039;);
                        $(&quot;#studentForm&quot;)&#x5B;0].reset();
                        $(&quot;#studentModal&quot;).modal(&#039;hide&#039;);
                    }
                }
            });

        });
    &amp;lt;/script&gt;
    &amp;lt;script src=&quot;https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.1/dist/umd/popper.min.js&quot; integrity=&quot;sha384-SR1sx49pcuLnqZUnnPwx6FCym0wLsk5JZuNx2bPPENzswTNFaQU1RDvt3wT4gWFG&quot; crossorigin=&quot;anonymous&quot;&gt;&amp;lt;/script&gt;
    &amp;lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.min.js&quot; integrity=&quot;sha384-j0CNLUeiqtyaRmlzUHCPZ+Gy5fQu0dQ6eZ/xAww941Ai1SxSY+0EQqNXNE6DZiVc&quot; crossorigin=&quot;anonymous&quot;&gt;&amp;lt;/script&gt;
    &amp;lt;script src=&quot;https://code.jquery.com/jquery-3.6.0.js&quot; integrity=&quot;sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=&quot; crossorigin=&quot;anonymous&quot;&gt;&amp;lt;/script&gt;
&amp;lt;/body&gt;
&amp;lt;/html&gt;
</pre></div>


<p class="wp-block-paragraph">📚 <strong>Step 10 :</strong> Create another function in <strong>StudentController.php</strong></p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
public function addStudent(Request $request)
	{
		$student = new Student();
		$student-&gt;firstname = $request-&gt;firstname;
		$student-&gt;lastname = $request-&gt;lastname;
		$student-&gt;email = $request-&gt;email;
		$student-&gt;phone = $request-&gt;phone;
		$student-&gt;save();
		return response()-&gt;json($student);
	}
</pre></div>


<p class="wp-block-paragraph">📚 <strong>Step 11 :</strong> Now create a route for <strong>addStudent</strong>() function, so for this open <strong>web.php</strong> file again</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Route::post(&#039;/add-student&#039;, &#x5B;StudentController::class,&#039;addStudent&#039;])-&gt;name(&#039;student.add&#039;);
</pre></div>


<p class="wp-block-paragraph">At last fill the data into popup form and you will see that your form is working fine. yay we did it. Let&#8217;s congratulate yourself that you create a CRUD using ajax in Laravel 8.</p>



<p class="wp-block-paragraph">If you find any issue on above steps then feel free to comment. I will feel very happy to resolve your problems in it.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-8-insert-record-using-ajax/">Laravel 8 &#8211; Insert record using ajax</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>150+ Developer Resources. you must see these resources in 2021.</title>
		<link>https://www.scmgalaxy.com/tutorials/150-developer-resources-you-must-see-these-resources-in-2021/</link>
					<comments>https://www.scmgalaxy.com/tutorials/150-developer-resources-you-must-see-these-resources-in-2021/#respond</comments>
		
		<dc:creator><![CDATA[Chandan Kumar]]></dc:creator>
		<pubDate>Fri, 30 Apr 2021 07:23:01 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6005</guid>

					<description><![CDATA[<p>Hey folks, these are the article, videos and awesome blogs which i am going to prefer you in 2021. these [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/150-developer-resources-you-must-see-these-resources-in-2021/">150+ Developer Resources. you must see these resources in 2021.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Hey folks, these are the article, videos and awesome blogs which i am going to prefer you in 2021. these resources will help you a lot. so let&#8217;s see below what i am going to provide you with my research.</p>



<h2 class="wp-block-heading">HTML Resources</h2>



<figure class="wp-block-table is-style-regular"><table><tbody><tr><td>#</td><td>Title</td><td>My Thoughts</td></tr><tr><td>1.</td><td><a href="https://www.techonthenet.com/html/elements/doctype_tag.php" target="_blank" rel="noreferrer noopener">HTML:&nbsp;<code>&lt;!DOCTYPE&gt;</code>&nbsp;tag</a></td><td>You will love these basics html tag.</td></tr><tr><td>2.</td><td><a href="https://www.w3schools.com/html/html5_semantic_elements.asp">W3S HTML5 Semantic Elements</a></td><td>Great quick intro to why everything shouldn&#8217;t be in a&nbsp;<code>&lt;div&gt;</code>.</td></tr><tr><td>3.</td><td><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element" target="_blank" rel="noreferrer noopener">MDN HTML elements reference</a></td><td>what a great info about all html tags. you have to look these explanations once when you are a beginner.</td></tr><tr><td>4.</td><td><a href="https://dev.opera.com/articles/new-structural-elements-in-html5/" target="_blank" rel="noreferrer noopener">New Structural Elements in HTML5</a></td><td>This link will help you to understand elements like <code><strong>&lt;time&gt;</strong></code>, <strong>&lt;figure&gt;</strong>, <strong><code>&lt;article&gt;</code></strong> etc.</td></tr><tr><td>5.</td><td><a href="https://websitesetup.org/html5-periodical-table/" target="_blank" rel="noreferrer noopener">HTML5 Periodical Table</a></td><td>I really like the concept of this website. this website gives me the feel of like chemistry periodic table.</td></tr><tr><td>6.</td><td><a href="https://javascript.info/script-async-defer" target="_blank" rel="noreferrer noopener">Scripts: async, defer</a></td><td>It will give you the best example to embed JS in html files.</td></tr><tr><td>7.</td><td><a href="https://learn.shayhowe.com/html-css/" target="_blank" rel="noreferrer noopener">Learn to Code HTML &amp; CSS</a></td><td>It will really a fast crash course of HTML. You will love it.</td></tr><tr><td>8.</td><td><a href="https://metatags.io/" target="_blank" rel="noreferrer noopener">metatags.io</a></td><td>One of the best generators to create meta tags for your social media platforms like: Facebook, twitter and LinkedIn etc.</td></tr><tr><td>9.</td><td><a href="https://getwaves.io/" target="_blank" rel="noreferrer noopener">getwaves.io</a></td><td>Such an awesome website to create awesome waves to separate sections in your website.</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">CSS Resources</h2>



<figure class="wp-block-table"><table><tbody><tr><td><strong>#</strong></td><td><strong>Title</strong></td><td><strong>Thoughts</strong></td></tr><tr><td>10.</td><td><a href="https://getbootstrap.com/docs/5.0/getting-started/introduction/" target="_blank" rel="noreferrer noopener">Bootstrap Documentation</a></td><td>You are very known of this website if you are using bootstrap in your template. so always use this for bootstrap default class and new changes in latest versions.</td></tr><tr><td>11.</td><td><a href="https://css-tricks.com/specifics-on-css-specificity/" target="_blank" rel="noreferrer noopener">Specifics on CSS Specificity</a></td><td>Great breakdown by CSS-Tricks and has nice graphic examples at the end.</td></tr><tr><td>12.</td><td><a href="https://www.w3schools.com/css/css3_box-sizing.asp" target="_blank" rel="noreferrer noopener">CSS Box Sizing</a></td><td>It will help you to understand, how the box-model works.</td></tr><tr><td>13.</td><td><a href="https://www.creativebloq.com/advice/tips-for-css-animation" target="_blank" rel="noreferrer noopener">12 tips for amazing CSS animation</a></td><td>Such and amazing tips on CSS animation with full of brief explanations.</td></tr><tr><td>14.</td><td><a href="https://designcode.io/css-layout-and-animations" target="_blank" rel="noreferrer noopener">CSS Layout and Animations</a></td><td>You must read it and it will help you lot on CSS Layout and animations.</td></tr><tr><td>15.</td><td><a href="https://www.youtube.com/playlist?list=PL4cUxeGkcC9iEwigam3gTjU_7IA3W2WZA" target="_blank" rel="noreferrer noopener">Net Ninja SASS Tutorial</a></td><td>Whenever i visit his channel, He gives me a positive vibes to learn new things in a very easy and cool way.</td></tr><tr><td>16.</td><td><a href="https://www.youtube.com/watch?v=Zz6eOVaaelI" target="_blank" rel="noreferrer noopener">Learn Sass In 20 Minutes</a></td><td>if you are a beginner about SASS, then must watch this video first.</td></tr><tr><td>17.</td><td><a href="https://medium.com/@andrew_barnes/bem-and-sass-a-perfect-match-5e48d9bc3894" target="_blank" rel="noreferrer noopener">BEM and SASS: A Perfect Match</a></td><td>This blew my mind when introduced how BEM and SASS could be used together.</td></tr><tr><td>18.</td><td><a href="http://getbem.com/" target="_blank" rel="noreferrer noopener">getbem.com</a></td><td>It gives an overview from the creators of the popular naming convention.</td></tr><tr><td>19.</td><td><a href="https://sparkbox.com/foundry/bem_by_example" target="_blank" rel="noreferrer noopener">BEM by Example</a></td><td>This explanation on BEM is really good, but I especially like how they have a short and full versions of the article.</td></tr><tr><td>20.</td><td><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/display" target="_blank" rel="noreferrer noopener">MDN Display Docs</a></td><td>Everything you could ever want to know about the powerful&nbsp;<code>display</code>&nbsp;property.</td></tr><tr><td>21.</td><td><a href="https://css-tricks.com/a-couple-of-use-cases-for-calc/" target="_blank" rel="noreferrer noopener">A Couple of Use Cases for Calc()</a></td><td><code>calc()</code>&nbsp;is one of the more powerful features in CSS and this article shows some great use cases for it.</td></tr><tr><td>22.</td><td><a href="https://cssgrid.io/" target="_blank" rel="noreferrer noopener">Wes Bos CSS Grid</a></td><td>You can&#8217;t argue with free and that Wes Bos is one of the best teachers out there for development.</td></tr><tr><td>23.</td><td><a href="https://www.cssmatic.com/" target="_blank" rel="noreferrer noopener">CSSmatic</a></td><td>Collection of powerful css generators for gradients, border radius, noise texture and box shadows.</td></tr><tr><td>24.</td><td><a href="https://css-tricks.com/almanac/properties/p/position/" target="_blank" rel="noreferrer noopener">CSS Tricks Position</a></td><td>after reading this you will know the power of position property.</td></tr><tr><td>25.</td><td><a href="https://caniuse.com/" target="_blank" rel="noreferrer noopener">Can I Use?</a></td><td>This site lets you know the browser support for every property out there.</td></tr><tr><td>26.</td><td><a href="https://yoksel.github.io/flex-cheatsheet/" target="_blank" rel="noreferrer noopener">yoksel Flex Cheatsheet</a></td><td>I love the layout and way it lets you visually preview the flexbox properties.</td></tr><tr><td>27.</td><td><a href="https://code.tutsplus.com/tutorials/the-30-css-selectors-you-must-memorize--net-16048" target="_blank" rel="noreferrer noopener">The 30 CSS Selectors You Must Memorize</a></td><td>It such an super article on CSS selectors. I loved it.</td></tr><tr><td>28.</td><td><a href="http://csslint.net/" target="_blank" rel="noreferrer noopener">CSS Lint</a></td><td>This tool will check your code and highlight any errors.</td></tr><tr><td>29.</td><td><a href="https://systemfontstack.com/" target="_blank" rel="noreferrer noopener">System Font Stack</a></td><td>Predefined font fallback stacks that can be plugged into a project.</td></tr><tr><td>30.</td><td><a href="https://neumorphism.io/#c0b5b5" target="_blank" rel="noreferrer noopener">Neumorphism.io</a></td><td>Just follow and you will understand about Neumorphism.</td></tr><tr><td>31.</td><td><a href="https://www.udemy.com/course/advanced-css-and-sass/">Advanced CSS and Sass: Flexbox, Grid, Animations and More!</a></td><td>Udemy has great videos on CSS and other courses also.</td></tr><tr><td>32.</td><td><a href="https://css-scroll-shadows.now.sh/?bgColor=9d80d6&amp;shadowColor=222222&amp;pxSize=15">CSS Scroll Shadows</a></td><td>This tool generates shadows that appear based on scroll position with just CSS!</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">JavaScript Resources</h2>



<figure class="wp-block-table"><table><tbody><tr><td><strong>#</strong></td><td><strong>Title</strong></td><td><strong>My Thoughts</strong></td></tr><tr><td>33.</td><td><a href="https://www.youtube.com/watch?v=hKB-YGF14SY" target="_blank" rel="noreferrer noopener">JavaScript in 4 Hours</a></td><td>Every developers should watch this videos on JavaScript intro and other things . very well explained.</td></tr><tr><td>34.</td><td><a href="https://javascript.info/" target="_blank" rel="noreferrer noopener">javascript.info</a></td><td>This is one of the complete and well explained overview of JS.</td></tr><tr><td>35.</td><td><a href="https://codebeautify.org/jsvalidate">Code Beaut</a><a href="https://codebeautify.org/jsvalidate" target="_blank" rel="noreferrer noopener">i</a><a href="https://codebeautify.org/jsvalidate">fy</a></td><td>It is such an great tool to beautify your JavaScript.</td></tr><tr><td>36.</td><td><a href="https://www.sitepoint.com/javascript-truthy-falsy/" target="_blank" rel="noreferrer noopener">Truthy and Falsy: When All is Not Equal in JavaScript</a></td><td>This article is a great reference for all the instances that a value might be considered true or false.</td></tr><tr><td>37.</td><td><a rel="noreferrer noopener" href="https://youtu.be/8aGhZQkoFbQ" target="_blank">What the heck is the event loop anyway?</a></td><td>watch and understand about event loop in JavaScript.</td></tr><tr><td>38.</td><td><a href="https://www.youtube.com/watch?v=s9wW2PpJsmQ" target="_blank" rel="noreferrer noopener">JavaScript Loops</a></td><td>If I could only read one article to understand common JS loops, this would be the one.</td></tr><tr><td>39.</td><td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank" rel="noreferrer noopener">MDN JS String</a></td><td>Everything I&#8217;d ever want to know about strings and where to use them.</td></tr><tr><td>40.</td><td><a href="https://developers.google.com/speed/libraries#jquery" target="_blank" rel="noreferrer noopener">Google Hosted Library jQuery</a></td><td>you must bookmark this url to know about latest jQuery CDN script.</td></tr><tr><td>41.</td><td><a href="https://github.com/public-apis/public-apis/" target="_blank" rel="noreferrer noopener">Public APIs</a></td><td>Great list of public APIs that you can use it very easily in your projects!</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">Be with us and be safe. you will get more list soon. Let&#8217;s share your best content on CSS, JS and Other web technologies.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/150-developer-resources-you-must-see-these-resources-in-2021/">150+ Developer Resources. you must see these resources in 2021.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/150-developer-resources-you-must-see-these-resources-in-2021/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
