Author: admin


Find out why a website is important to grow your online business In our on-the-go world we stay in, websites are no longer solely visited through people looking to discover records on a company, but additionally for something as simple as your contact small print or address if they want to get keep of you or find you quickly. For this very reason, it’s necessary for your internet site to be designed in such a way that it makes the whole lot effortlessly handy and easy to find. We’ve stated before how essential SEO, Social Media And Website Development...

Read More

How to Scalp in the Forex Market

The Forex market is the largest and most liquid financial market around. Amazingly, over $5 trillion (that is huge!) worth of currencies is traded in it every day. Thus, it is an undeniable avenue to reap bountifully. Expectedly, there are loads of cash to make. However, shockingly, for most people who participate in it, the opposite is the case. Most of them lose instead of gain! Why is that so? Many theories have been proposed. Of notable importance is strategy inconsistency. It turns out that if you want to succeed in the Forex market, you have to be willing...

Read More

The Best Spy App for Android in 2020

Are you looking for the best spy app for android mobile phones? There are several options in mobile phone monitoring apps making it challenging for beginners to choose the best. We have reviewed the most popular apps for android spying to help you get the most valuable solution. Read on to know which apps can be considered as the best spy app for android in the year 2020. TheOneSpy Android Monitoring App The cell phone monitoring solution designed by TheOneSpy can be recommended to parents and employers to keep the digital behavior of children and workers under supervision. The...

Read More

How Cost-Effective is Brain Tumour Treatment in India?

The cost of any neurosurgical treatment and not only the brain tumour is very high. It is because of the complications involved in the procedure. It is not necessary that you can avail the cure in a single surgery. Depending on the severity of the condition, you might have to undergo the combination of the treatment to avail the necessary cure. If the brain tumour is benign, you can avail the remedy with the help of the medicine.  On the other hand, if the brain tumour is malignant, you will have to undergo surgery, chemotherapy, radiation therapy, or possibly...

Read More

How to Create edit, Update and Delete in Laravel 6

Add Code in Your Controller.php File public function edit($builder) { $city=City::all(); $builder=Builder::findOrFail($builder); return view('admin.builder.edit', compact('city', 'builder')); } public function update(Request $request, $builder) { $validator = Validator::make($request->all(), [ 'name' => 'required|unique:builders, bname|max:255', 'slug' => 'required|unique:builders, bslug|max:100', // 'propertyImages' => 'required|array|min:1', // 'propertyImages.*' => 'required|image|mimes:jpeg,png,jpg,gif|max:1000000', ],[ 'name.required'=>'Builder Name is Required', 'slug.required'=>'Builder Slug Should be Unique, This Name Already Exist in Our Database', ]); if ($validator->fails()){ return response()->json(['status' =>0 , 'errors'=>$validator->messages()]); }else{ $bld = Builder::findOrFail($builder); $chr = substr($request->bname, 0, 1); if( $request->hasFile('bllogo')){ $thums= $request->bllogo; $bllogo = uniqid($chr).'.'.$thums->getClientOriginalExtension(); $img = Image::make($thums->getRealPath()); $img->resize(300, null, function ($constraint) { $constraint->aspectRatio(); }); $thumbPath = public_path().'/builders_img/'.$bllogo; if (file_exists($thumbPath)) { $this->removeImage($thumbPath); } if(!empty($thumbPath)) { if (file_exists(public_path('builders_img/'.$thumbPath))) { // unlink or remove previous image from folder unlink(public_path('builders_img/'.$thumbPath)); } } $img->save($thumbPath); $optimizerChain = OptimizerChainFactory::create(); $optimizerChain->optimize($thumbPath); $bllogoimg = $bllogo; }else{ $bllogoimg = NULL; } $bld->name =$request->bname; $bld->slug =$request->bslug; $bld->title =$request->metatitle; $bld->short_desc =$request->metadesc; $bld->meta_desc =$request->metadesc; $bld->keyword =$request->metakeyword; $bld->bldlogo =$bllogoimg; $bld->save(); return response()->json(['status'=>1], 201); } }   Now Create a new View File: edit.blade.php Add this html code there… <div class="row"> <div class="col-sm-12"> <form class="form-horizontal" id="builderForm" method="post" action="{{route('builders.update',['builder'=>$builder->blId])}}" enctype="multipart/form-data"> @csrf @method('PUT') <div class="panel-group" id="accordion"> <div class="panel panel-default-light"> <div class="panel-heading"> <div class="panel-title"> <a href="#collapseOne" class="block" data-toggle="collapse" data-parent="#accordion" aria-expanded="true"> Builder Section </a> </div> </div><!-- /.panel-heading --> <div class="panel-collapse collapse in" id="collapseOne"> <div class="panel-body"> <!-- <div class="form-group m-bottom-10"> <label for="title" class="control-label col-sm-3">Select City: <span class="text-danger">*</span></label> <div class="col-sm-9"> <select class="form-control" name="city[]" id="city" style="width: 100%;" multiple=""> <option value="0">Select City</option>...

Read More

Free Guest Post website

Warning: Do not submit the same content on all websites, you will be blocked and link will be removed.
  1. Get Web Promotions
  2. News Ideology
  3. Tit For Tech
  4. Book Marking List