samalapsy

Web Developer at Clickright Digital Innovatives LTD

Hire Me

Experience

2,480

3 Best Reply Awards

  • Member Since 1 Month Ago
  • 0 Lessons Completed
  • 0 Favorites

21st April, 2017

samalapsy left a reply on Npm Run Dev Error, These Relative Modules Were Not Found: • 1 week ago

Oh the problem was my filenames! This stupid thing has wasted my whole time. Thanks a lot

Everyone has once had such experience. My Pleasure @pooreal

samalapsy left a reply on Npm Run Dev Error, These Relative Modules Were Not Found: • 1 week ago

@pooreal Of Course here...

public/css

samalapsy left a reply on Npm Run Dev Error, These Relative Modules Were Not Found: • 1 week ago

@pooreal please can you paste the stack log..?

samalapsy left a reply on Npm Run Dev Error • 1 week ago

@POOREAL in your terminal, Navigate to your project root and run

npm install

After the installing then run

npm run dev

Hope it helps

samalapsy left a reply on Unable To Connect To The Laravel Framework • 1 week ago

@davy_yg Check if the $user has any information, then Check for the objects name if they exist

samalapsy left a reply on Composer • 1 week ago

@davy_yg Which Localhost Service do you use. XAMP, WAMP.

samalapsy left a reply on Scripts File Not Updating In Laravel • 1 week ago

@aurawindsurfing For Next Time Change

<script src="{ { asset('/js/scripts.js') } }"></script>

to

<script src="{{ asset('/js/scripts.js') }}"></script>

samalapsy left a reply on Can Anyone Guide Me How To Display The Table With This Format In Laravel • 1 week ago

@JHANSI You can use the bootstrap table see http://getbootstrap.com/css/#tables

fetch your data using your controller, then pass it you your view using the compact methods.

Run a foreach Loop to display your data in the table

Hope it helps

samalapsy left a reply on Composer • 1 week ago

I also have copied the file to localhost. and when I try to run the file in localhost, all the file being open in the localhost instead of showing the final result of laravel.

@davy_yg type localhost/laravel_new_laravel/public

you'll see the Laravel Welcome Page

samalapsy left a reply on Uber Like Ondemand Service Webiste • 1 week ago

@jekinney I mean I want to build a platform Like Uber...or Let me say Clone Uber...Using Laravel.

20th April, 2017

samalapsy started a new conversation Uber Like Ondemand Service Webiste • 1 week ago

Hello,

Please can I build an ondemand platform like Uber using Laravel..? If Yes Pls can anyone share with me resources and tools I can make use of.

Thanks In Anticipation.

samalapsy started a new conversation Developing A Website For A Company Outside My Country <> Using Laravel • 1 week ago

I actually don't know how to go about it...This is my first time of doing and international Project. How would I go about it... In the area of quotations, costing, best infrastructure to use etc.

I want to develop a professional and standard website for an Arabian Construction Company. How can I go about it in terms of Pricing, and Product delivery.

I'm Open to new Ideas and Suggestion.

Thanks a Bunch.

samalapsy left a reply on Laravel 5.1.46 Middleware Weird Behaviour • 1 week ago

I hope I explained my question correctly.

Not Really though...

If I'm getting your question clear you want to remove the data in this session "$request->session()->remove('url.intended'); " each time your visit a new page. But You still wants it to keep the data when you're on Login Page Right...?

samalapsy left a reply on Laravel 5.1.46 Middleware Weird Behaviour • 1 week ago

@SHIROAMADA

Change

$request->session()->remove('url.intended'); 

TO

$request->session()->forget('url.intended'); //Removes session the Data
$request->session()->flush();  //Cleans all session variable

Hope It Helps..

19th April, 2017

samalapsy left a reply on MethodNotAllowedHttpException In RouteCollection.php Line 218: • 1 week ago

@jhansi you should have this code

return member::create([
            'Name' => $data['name'],
             'Team' => $data['Team'],
              'Vendor' => $data['Vendor'],
              'DateJoined'=>$data['date'],
               'DateCreated'=>$data['date'],
           
        ]);

inside this methods

 public function insertm(Request $request, $id)
    {
    $data = $request->all()->toArray();
    return member::create([
            'Name' => $data['name'],
             'Team' => $data['Team'],
              'Vendor' => $data['Vendor'],
              'DateJoined'=>$data['date'],
               'DateCreated'=>$data['date'],
           
        ]);
    }

OR

 public function insertm(Request $request, $id)
    {   

    //First Validate here

    //Then Save here
    return member::create([
            'Name' => $request->Name,
             'Team' => $request->Team,
              'Vendor' => $request->Vendor,
              'DateJoined'=>$request->date,
               'DateCreated'=>$request->date,
           
        ]);
    }

hope it helps

samalapsy left a reply on MethodNotAllowedHttpException In RouteCollection.php Line 218: • 1 week ago

It is displaying the data which i have entered but it is not saving in database.

@cviv Yeah you're right

@jhansi dd($request->all()); is to check if the method is receiving your Data. So with this output, It's receiving your data.

You have to validate the request using Validator::make($request, [rules]).

save the Variables into your DB.

Please can your paste your Model Code for members here? Let's see what you've got

Thanks

samalapsy left a reply on Logout In Laravel • 1 week ago

hmmmm....Really... even after adding the middleware....?

samalapsy left a reply on Laravel - Controller Separation Of Concerns With Relational Data • 1 week ago

@Sven0188 I was thinking if you could do an ajax upload for your Image onChange. Validate your image both on client and server side too..

Hope It helps

samalapsy left a reply on Logout In Laravel • 1 week ago

@Kaustubh Please add this code to your ProfileController construct

$this->middleware('auth');

or to your route

Route::get('profile', [email protected]')->middleware('auth')

Hope It Helps.

samalapsy left a reply on MethodNotAllowedHttpException In RouteCollection.php Line 218: • 1 week ago

@jhansi Try This in your controller, it should show all the data sent

 public function insertm(Request $request, $id)
    {
        dd($request->all());        
    }

samalapsy left a reply on MethodNotAllowedHttpException In RouteCollection.php Line 218: • 1 week ago

@JHANSI You Declared a get in your route and called a post in your for

Your Route

Route::get('/member/listing', [email protected]');

Your Form has a POST METHODS WHILE YOUR ROUTE IS SET AS GET METHOD

 <form class="form-horizontal" role="form" method="POST" action="{{ url('member/listing') }}">

It'll definitely throw MethodNotAllowedException

PLEASE LOOK INTO THAT AND FIX CORRECTLY

Hope It Helps

18th April, 2017

samalapsy left a reply on Error On Public_html • 1 week ago

I try to pick php.exe (2 versions) both does not work. It has an error message appearing. Any other idea which file to pick?

@davy_yg

You can try WAMP or XAMPP Server I don't know if that's what your company make use of.. Just like @MaverickChan Said..

But If you can solve the issue of installing composer and having your artisan working then you're good to Go

samalapsy left a reply on NotFoundHttpException In RouteCollection.php Line 161: • 1 week ago

@Bazie Please Can you paste your Route code here...?

samalapsy left a reply on Laravel Wrong Username In App.layout View • 1 week ago

@DIOGOSILVA Please can you paste your code here?

samalapsy left a reply on Unable To Run Npm Run Dev • 1 week ago

@JIYAAD you have to install node in your project

Navigate to your project root and run npm install to install node in your porject. Once it's done npm run dev would work

Hope it helps.

samalapsy left a reply on Laravel 5.4 Variable Problem Using Extends & Yield • 1 week ago

but there is a problem in Laravel when u declare a variable in the Master layout you can t use it in the child view ( i think that it s because of laravel Template system , it renders pages in the client side not extends the code , I m not sure i m guessing it ! )

You have to use include on your child view in your master view and then pass the variable from your master view into your child view.

Change your child view to something like this

<button type="button" id="postuler" data-postid="{{$post->id}}" data-userid="{{Auth::user()->id}}" class="btn btn-success btn-rounded ">
<span class="fa fa-star"></span>Postuler</button>

then Include it in your parent view like this

@include('childview.blade.php'  $post)

Hope It Helps.

samalapsy left a reply on Laravel Installation • 1 week ago

php 7.dll is missing on your computer, download via this link http://www.initdll.de/php7.dll/m-download-3046.html

samalapsy left a reply on Laravel Installation • 1 week ago

@davy_yg which OS are you running on?

samalapsy left a reply on Laravel [Resource Route] + Design Patterns • 1 week ago

@SRMACEDO. You can have your Route Like this example

Route::resource('orders', 'OrderController');

So you Controller would look like this

public function index(){
    //Fetch All Orders Here
    $orders = Order::all();
    return ('orders.index', compact('orders'));
}

public function show($id){
    //To Display One Order Details
    $order = Order::findOrFail($id);
    return ('orders.show', compact('order'));
}

public function create(){
    //A form to create a new order
    return ('orders.create');
}


public function store(Request $request){
    //Saves the new created Order
    // This returns redirect to your desired route
}



public function edit($id){
    //Find an Order by id, display it on your edit.blade.php form
    $order = Order::findOrFail($id);
    return ('orders.edit', compact('order'));
}



public function update(Request $request, $id){
    //Does the same work as store() but it's only for updating an exiting row
}



public function destroy($id){
    //For deleting an Item by id
}

You should have a folder for your orders

orders
    - index.blade.php
    - create.blade.php
    - edit.blade.php
    - show.blade.php

Hope It Helps..

samalapsy left a reply on What Forum Is This? • 1 week ago

As in, this forum software is excellent. Which is it?

It's built with Laravel

samalapsy left a reply on SQLSTATE[42P01]: Undefined Table: 7 ERROR: Relation "mastercategory " Does Not Exist • 1 week ago

Ensure your mastercategory table exist and also Change

$users = DB::table('mastercategory ')

TO

$users = DB::table('mastercategory')

I Hope it helps

samalapsy left a reply on Error On Public_html • 1 week ago

I watch the video but I cannot understand the folder structure and how the path suppose to be.

framework_freshway

@davy_yg on your local machine you have to have your project structure in this way

    - app
    - bootstrap
    - config
    - database
    - public
    - resource
    - routes //If it's above 5.2
    - storage
    - tests
    - vendor

// Then other files

Your Index should be like this

//LINE 22
require __DIR__.'/../bootstrap/autoload.php';


LINE 36
$app = require_once __DIR__.'/../bootstrap/app.php';

I hope It helps..

17th April, 2017

samalapsy left a reply on [Laravel 5.4] - Create A Validar For A Field In A Form • 1 week ago

can you change

$v = $this->validate($request(),[

``

TO

$v = Validator::make($request->all(),[

samalapsy left a reply on [Laravel 5.4] - Create A Validar For A Field In A Form • 1 week ago

For the Insertaion $v = $this->validate($request(),[ 'name' => 'required|unique:{db},{column_name}' ]);

if($v->passes()){ //Check If the Location Exist in DB $trueLocation = Location::where('name', '=', $location)->exists(); if ($trueLocation) { // do something if its true }else{ // Redirect to next page passing a message to the user }

}else{ //Validation failed, redirect back with message or dd($v) to see the error return redirect('item')->withErrors($v) }

In your blade add this

@if($errors->has())
            <div class="alert alert-danger">
                @foreach($errors->all() as $error) // use the function all in case of use validator method 
                    <p>{{$error}}</p>
                @endforeach
            </div>
@endif

samalapsy left a reply on [Laravel 5.4] - Create A Validar For A Field In A Form • 1 week ago

@AdtainoMaia Do you mean no error is being caught..?

samalapsy left a reply on [Laravel 5.4] - Create A Validar For A Field In A Form • 1 week ago

Change this to

    $this->validate($request->except("_token"),[
            'name' => 'requiredIunique:{db},{column_name}'

        ]);

or read the documentation https://laravel.com/docs/5.4/validation#rule-unique

Thanks

samalapsy left a reply on Validating A Value As A Specific Digit Count • 1 week ago

You can have it this way

public function an_arena_requires_a_postcode_of_only_5_digits()
{
    $v= Validator::make([ 'postcode' => 44554], [
            'postcode' => 'required|integer|max:5'
        ]);
    
    if($v->passes()){
        $arena = $this->createArena(['postcode' => 44554]);
            $this->assertTrue(preg_match('/[0-9]{5}/', $arena->postcode));
    }else{
        //Else Statement Here
    }
}

I hope it helps.

Thanks

samalapsy left a reply on How To Remove Public From Laravel 5.4 • 1 week ago

@Imamul.Hossain ensure your use

{{ asset('path to css or js')}}

//OR

{{ url('pathh to css or js') }}

PLEASE only place the content of your public file in the public_html folder for security reason...Else your .env file would be easily accessed. Just like @Snapey said....

PLEASE PLEASE PLEASE

Place install your Laravel Files on your server root Folder. Thanks

samalapsy left a reply on Validating A Value As A Specific Digit Count • 1 week ago

you have to have a validation rule in your controller. Something like this

Validator::make([Array of Data], [
    'name_to_validate' => 'required|max:5'
]);
Max:5 // Make the validator ensure that the element value to validate is a maximum of 5 in lenght

I Hope it's helpful

Thanks

samalapsy left a reply on ReflectionFunction::__construct() Expects Parameter 1 To Be String, Array Given • 1 week ago

I've fixed it. The error was comingfro m my route file I have the

Route::group([middleware' => 'auth', 'prefix' => 'admin', 'uses' => 'uses'], function(){


});

//This  is what is causing the error, I have to remove it 
The 'uses' => 'uses'

Route::group([middleware' => 'auth', 'prefix' => 'admin', ], function(){

});

So That Fixed it.

@Snapey and @Cronix Thank you for your contribution. I'm very Grateful.

#Relieved

samalapsy left a reply on ReflectionFunction::__construct() Expects Parameter 1 To Be String, Array Given • 1 week ago

I'm still experiencing the error, please help me out.

I've moved folder into /home/username/ will i left the content of the public folder there..

samalapsy left a reply on ReflectionFunction::__construct() Expects Parameter 1 To Be String, Array Given • 1 week ago

@Cronix I've increased php version to 7.0 But issue still persist

@Snapey I'm sorry.. #CoveringMyEyes...That is alos how I formerly used to to do it. I just discovered the new style recently.

16th April, 2017

samalapsy left a reply on How To Limit Value Within Foreach Loop? • 1 week ago

@vipin Try it this way. I only added ->take(1) to the query

$exammarks = ExamMark::whereHas('courses',function($q) use($course, $cdate){
                          $q->where('id',$course)
                            ->where('created_at',$cdate);
                     })->orderBy('subject_id')
                     ->where('student_id',Auth::id())
                     ->with('courses','sections','examnames','subjects')
             ->take(1)
                     ->get();

samalapsy left a reply on Laravel 5.4 Get 'param' From Validator: /{param}/page?param2='value' ? • 1 week ago

@Stasgar You can use th Laravel Input::all() method to get query values from url

Thanks

samalapsy left a reply on How To Remove Public From Laravel 5.4 • 1 week ago

There's no need to copy index.php fro myour public folder, just copy only your .htaccess file to the root folder and also change your server.php in the root file to index.php

Thanks

samalapsy started a new conversation ReflectionFunction::__construct() Expects Parameter 1 To Be String, Array Given • 1 week ago

Hi Everyone Please assist in solving this issue.

I just uploaded my Laravel 5.4 app few minutes ago..

When I try to visit other url i get this error message

ErrorException in Route.php line 335:
ReflectionFunction::__construct() expects parameter 1 to be string, array given

Below is my stack log too.. Thanks

2017-04-16 23:19:48] local.ERROR: exception 'ErrorException' with message 'ReflectionFunction::__construct() expects parameter 1 to be string, array given' in /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Route.php:335
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'ReflectionFunct...', '/home/username/...', 335, Array)
#1 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Route.php(335): ReflectionFunction->__construct(Array)
#2 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Router.php(814): Illuminate\Routing\Route->signatureParameters('Illuminate\\Data...')
#3 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(39): Illuminate\Routing\Router->substituteImplicitBindings(Object(Illuminate\Routing\Route))
#4 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#5 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#6 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(65): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#7 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#8 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#9 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#10 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#11 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#12 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#13 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#14 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#15 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#16 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#17 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#18 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#19 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#20 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#21 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#22 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Router.php(644): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#23 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Router.php(618): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#24 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Router.php(596): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#25 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(267): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#26 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#27 /home/username/public_html/new/core/vendor/barryvdh/laravel-debugbar/src/Middleware/Debugbar.php(51): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#28 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Barryvdh\Debugbar\Middleware\Debugbar->handle(Object(Illuminate\Http\Request), Object(Closure))
#29 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#30 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#31 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#32 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#33 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#34 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(149): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#35 /home/username/public_html/new/core/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#36 /home/username/public_html/new/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#37 {main} 

samalapsy left a reply on Different Specification For Different Category • 1 week ago

@Kaustubh Yeahs it is . To the best of my knowledge as it helps reduce residency in you DB.

7th April, 2017

samalapsy left a reply on Laravel Login Redirects To Blank Page • 3 weeks ago

Please can you paste your login code and your route?

Thanks

samalapsy left a reply on Autocomplete Form Text Field Suggestions From Values In Database? • 3 weeks ago

Please can you explain the issue you're having.?

samalapsy left a reply on Different Specification For Different Category • 3 weeks ago

You'll have a table named category, where you'll have a specifications for each category

On your product table ensure you have a column named category. Here you'll save the category where the item falls into the category column name in your product table,

You'll fetch the specifications from the category table.

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.