PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, July 15, 2022

[FIXED] how to get a field from database in the form build in infyom (Laravel)

 July 15, 2022     laravel, php, web-deployment     No comments   

Issue

I have a field in the form that is to be fetched from the database. But there is no such option given in INFYOM laravel form generator for such database transactions. I have tried the relational table options but not working. So is there any other option that can help me fetching data in the input field created in infyom.


Solution

Laravel Generator package supported to generate CRUD from existing database.

its docs here: https://labs.infyom.com/laravelgenerator/docs/5.8/generator-options#generate-from-table

command:

php artisan infyom:scaffold $MODEL_NAME --fromTable --tableName=$TABLE_NAME

also supported for specific connection (database).



Answered By - Ajay
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing