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

ايمن ميلاد

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

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

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

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

    1

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

  1. اخي محمد قمت بحذف قرص d الان عندما اقف فوق وحدة تخزين سي اريد توسيع وحدة تخزين تتظهر enbled لا هو كان هارد واحد سي فقط انا قسمت زمان الي اثنين الان اريد ارجاع مساحة d الي سي
  2. السلام عليكم لماذا لا استطيع حذف قرص d لكي اريد اضافة مساحة لقرص سي
  3. السلام عليكم لدي كود تالي لماذا عندما اضغط علي تحميل لا يتم تحميل ملف <table class="table table-striped table-responsive table-bordered printtable"> <tr> <th style="text-align: right;"> رقم القيد</th> <th style="text-align: right;">اسم الطالب</th> <th style="text-align: right;">عنوان المشروع </th> <th style="text-align: right;">اسم القسم </th> <th style="text-align: right;">اسم المشرف </th> <th style="text-align: right;"> ملف المشروع </th> <!-- عمود id_p في جدول ملف مشروع مفتاح اجنبي--> </tr> <?php require('config.php'); $db = new db; $result = $db->getAllstudent(); while ($row = mysqli_fetch_array($result)) { echo "<tr> <td>" . $row['num_std'] . "</td> <td>" . $row['name_std'] . "</td> <td>" . $row['name_project'] . "</td> <td>" . $row['name_dept'] . "</td> <td>" . $row['name_teah'] . "</td> <td><a href=\"download_script.php?file=..uploads/" . $row['path_file'] . "\">تحميل الملف</a></td> </tr>"; } $db->closeCon(); ?> </table>
  4. السلام عليكم في لارافيل اريد الغاء خيار تسجيل لكن لم يلغي هذا كود Auth::routes(); Auth::routes(['register' => false]); <?php use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; use App\Http\Controllers\StudentController; Route::get('/', function () { return view('welcome'); }); Route::get('/student', [StudentController::class, 'index'])->name('student'); Route::get('/student.edit', [StudentController::class, 'edit'])->name('student.edit'); Route::get('/create', [StudentController::class, 'create'])->name('create'); Route::get('/student.destroy', [StudentController::class, 'destroy'])->name('student.destroy'); Route::post('/store', [StudentController::class, 'store'])->name('storestudent'); Auth::routes(); Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home'); Auth::routes(); Auth::routes(['register' => false]); Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
  5. بعدا اعطائه اسم للرابط
  6. الان يعمل بارك الله فيك اخي محمد عاطف ممكن تعمل لي كود ادخال بيانات لديك ملف مشروع مرفق في اعلي
  7. لزالت نفس مشكلة اخي مصطفي
  8. قمت بتعريفه لزالت نفس مشكلة <?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');
  9. لازالت نفس مشكلة gpms.rar
  10. هدا ملف ما الخطا به اخي محمد عاطف @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
  11. ملف 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
  12. السلام عليكم ممكن حل مشكلة
  13. لماذا لا تظهر الصفحة اخي محمد عاطف
  14. لازالت نفس مشكلة هذا ملف 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'); });
  15. لازالت نفس مشكلة مكتوب اسم مودل صغير حرف s
  16. هذا كود العرض @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() { // }
  17. نعم انشئت ملف وعملت امر php artisan migrate ثم اضفت اعمدة في امر جديد مالسبب يجعله لاتعمل في امر تاني
  18. لم يتم اضافة ولا عمود
  19. قمت بحل مشكلة الان كيف ادخل هادي اعمدة الي جدول في قاعدة بيانات
  20. حليت مشكلة اخي محمد عاطف لدي مودل اسمه student اريد كيفية اضافة اعمدة الي جدول student
  21. السلام عليكم ممكن حل مشكلة اثناء زيارة مسار التالي لا تظهر صفحة
×
×
  • أضف...