اذهب إلى المحتوى

ايمن ميلاد

الأعضاء
  • المساهمات

    307
  • تاريخ الانضمام

  • تاريخ آخر زيارة

  • عدد الأيام التي تصدر بها

    1

كل منشورات العضو ايمن ميلاد

  1. بعدا اعطائه اسم للرابط
  2. الان يعمل بارك الله فيك اخي محمد عاطف ممكن تعمل لي كود ادخال بيانات لديك ملف مشروع مرفق في اعلي
  3. لزالت نفس مشكلة اخي مصطفي
  4. قمت بتعريفه لزالت نفس مشكلة <?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\StudentController; Route::get('/', function () { return view('welcome'); }); Route::get('/student', [StudentController::class, 'index']); Route::get('/student.edit', [StudentController::class, 'edit'])->name('student-edit'); Route::get('/student.create', [StudentController::class, 'create'])->name('student-create');
  5. لازالت نفس مشكلة gpms.rar
  6. هدا ملف ما الخطا به اخي محمد عاطف @extends('layouts.master'); @section('title') الطلبة @endsection @section('title_page1') الطلبة @endsection @section('title_page2') قائمة الطلبة @endsection @section('content') <div class="mb-5"> <a href="{{route('student-create')}}" class="btn btn-sm btn-outline-primary">إضافة طالب</a> </div> <table class="table"> <thead> <tr> <th>اسم الطالب</th> <th>رقم القيد</th> <th>عنوان الطالب</th> <th>بريد الطالب</th> <th>رقم الهاتف</th> <th colspan="2"></th> </tr> </thead> <tbody> @if($students->count()) @foreach ($students as $student) <tr> <td>{{$student->name_std}} </td> <td>{{$student->num_std}}</td> <td>{{$student->adress_std}}</td> <td>{{$student->email_std}}</td> <td>{{$student->phone}}</td> <td> <a href="{{route('student.edit')}} " class="btn btn-sm btn-outline-success">تعديل</a> </td> <td> <form action="{{route('student.destroy')}}" method="POST"> @csrf <input type="hidden" name="_method" value="delete"> @method('delete') <button type="submit" class="btn btn-sm btn-outline-danger">حذف</button> </form> </td> </tr> @endforeach @else <tr> <td colspan="5">لايوج بيانات لاعرضها</td> </tr> @endif </tbody> </table> @endsection @section('scripts') @endsection
  7. ملف web.php به تالي <?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\StudentController; Route::get('/', function () { return view('welcome'); }); Route::get('/student', [StudentController::class, 'index']); Route::get('/student.edit', [StudentController::class, 'edit']); Route::get('/student.create', [StudentController::class, 'create']); ملف create.blade.php @extends('layouts.master'); @section('title') الطلبة @endsection @section('title_page1') قائمة الطلبة @endsection @section('title_page2') اضافة طالب @endsection @section('content') <form action="{{route('student.store')}}" method="POST"> @csrf <div class="form-group"> <label for="">اسم الطالب</label> <input type="text" name="name_std" class="form-control"> </div> <div class="form-group"> <label for="">رقم القيد</label> <input type="text" name="num_std" class="form-control"> </div> <div class="form-group"> <label for="">البريد الالكتروني</label> <input type="text" name="email_std" class="form-control"> </div> <div class="form-group"> <label for="">تاريخ ميلاد الطالب</label> <input type="text" name="date_student" class="form-control"class=""> </div> <div class="form-group"> <label for="">عنوان الطالب</label> <input type="text" name="adress_std" class="form-control"> </div> <div class="form-group"> <label for="">هاتف الطالب</label> <input type="text" name="phone" class="form-control"class=""> </div> <div class="form-group"> <button type="submit" class="btn btn-primary">حفظ</button> </div> </form> @endsection @section('scripts') @endsection
  8. السلام عليكم ممكن حل مشكلة
  9. لماذا لا تظهر الصفحة اخي محمد عاطف
  10. لازالت نفس مشكلة هذا ملف web.php <?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\StudentController; Route::get('/', function () { return view('welcome'); }); Route::get('/student', function () { return view('student'); });
  11. لازالت نفس مشكلة مكتوب اسم مودل صغير حرف s
  12. هذا كود العرض @foreach ($students as $student) <tr> <td>{{$student->name}} </td> <td>{{$student->num_std}}</td> <td>{{$student->adress_std}}</td> <td>{{$student->email_std}}</td> <td>{{$student->phone}}</td> </tr> @endforeach هذا كود كنترول class StudentController extends Controller { /** * Display a listing of the resource. */ public function index() { // $students = student::all(); return view('student.index', compact('students')); } /** * Show the form for creating a new resource. */ public function create() { // }
  13. نعم انشئت ملف وعملت امر php artisan migrate ثم اضفت اعمدة في امر جديد مالسبب يجعله لاتعمل في امر تاني
  14. لم يتم اضافة ولا عمود
  15. قمت بحل مشكلة الان كيف ادخل هادي اعمدة الي جدول في قاعدة بيانات
  16. حليت مشكلة اخي محمد عاطف لدي مودل اسمه student اريد كيفية اضافة اعمدة الي جدول student
  17. السلام عليكم ممكن حل مشكلة اثناء زيارة مسار التالي لا تظهر صفحة
  18. ممكن امر انشاء قاعدة بيانات وانشاء جدول في لارافيل
  19. صحيح كلامك لم اضعه داخل مجلد public لكن هل يمكن الاستغناء على مجلد public
  20. السلام عليكم قمت بتحميل لوحة تحكم adminlte وقمت بانشاء مجلد اسمه assets داخل لارافيل وانشئت داخله مجلد admin ووضعت به ملفات css dist fonts plugins لماذا عندما اشغل مشروع لاتظهر صفحة صحيحه
  21. اشتغل مشروع اخي مصطفي بارك الله فيك علي الرد انت وباقي اعضاء وزادك الله من علمه تحياتي لماذا عندما اقوم بتحميل breeze يظهر مشكلة تالية
×
×
  • أضف...