Jump to content
MakeWebGames

smith

Members
  • Posts

    29
  • Joined

  • Last visited

  • Days Won

    3

smith last won the day on October 12 2022

smith had the most liked content!

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

smith's Achievements

Explorer

Explorer (4/14)

  • Dedicated Rare
  • Conversation Starter Rare
  • Collaborator Rare
  • First Post Rare
  • Week One Done

Recent Badges

9

Reputation

  1. function add_degree($db, $_POST) { foreach ($_POST['city'] as $cities) { // Use prepared statements to prevent SQL injection $sql = $db->prepare("INSERT INTO edu_degrees (`name`, `desc`, `cities`, `unlocks`) VALUES (:name, :desc, :cities, :unlocks)"); $sql->bindParam(':id', $_POST['name'], PDO::PARAM_STR); $sql->bindParam(':desc', $_POST['desc'], PDO::PARAM_STR); $sql->bindParam(':cities', $cities, PDO::PARAM_STR); <-- i am not sure about your 'type' here but you can select as you need for validation $sql->bindParam(':colour', $_POST['unlocks'], PDO::PARAM_STR); $sql->execute(); } } //chk submit before function if($_POST['submit] === true){ // you can call like this add_degree($db, $_POST) }
  2. Connection timed out Error code 522 Visit cloudflare.com for more information. 2023-11-20 03:26:20 UTC
  3. everyone very helpful so please go ahead & start it
  4. awesome work ping me i have some work for you
  5. smith

    (SOLD)

    bandslife - Critical Error A critical error has occurred, and this page cannot be displayed. Please try again later. Query failed on --> http://bandslife.makeweb.games/gangs.php?action=view&ID=1
  6. smith

    (SOLD)

    that is not related to code, that is just belongs to server
  7. smith

    (SOLD)

    i can't register on your website after click on submit button i am getting that error
  8. smith

    (SOLD)

    showing error on registration This site can’t be reached bandslife.makeweb.games took too long to respond. Try: Checking the connection Checking the proxy and the firewall Running Windows Network Diagnostics ERR_CONNECTION_TIMED_OUT
  9. lol simple make it positive 😄
  10. smith

    Cyberia Engine

    like how's? my total business logic handing controller and model caring of DB stuff
  11. smith

    Cyberia Engine

    we need to move on new things instead out dated stuffs example :- /** * Store request and sync it as well with a resource. * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function Feed(StorePostRequest $request) { $data = $this->handleData($request); $role = new Role(); // dd($data); $roleSaved = $role->storeRole($data); $roleSaved->syncPermissions($data['permissions']); return response()->json([ 'data' => $roleSaved, ], 201); }
  12. smith

    Cyberia Engine

    it will be basic engine like mccode and you can modify it as you want
  13. smith

    Cyberia Engine

    i am working on new Gaming Engine (Reactjs, Laravel, MUI). hope it will out soon
  14. Template 'options' does not exist in 'inc/modules/installed/fightClub/fightClub.tpl.php'
×
×
  • Create New...