Good Day .. I am a beginner in Laravel and I just wanna ask if how I can create a Library for my view. Lets just say I have a custom Library in app\Library\myLib.php .
public function getTextBox($name,$id){
echo '<input type="text" name="'. $name .'" id="'. $id .'">';
}
And lets say I have a view that requires app\Library\myLib.php .
<form>
</form>
Thank you for your answers.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire