Jump to content

ludah

New Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by ludah

  1. please I have this after i sent an sms. 

    === HTTP Request ===
    0 : HTTP/1.1 401 Unauthorized
    Keep-Alive : true
    Content-Length : 14
    Content-Type : application/json; charset=utf-8
    Server : Microsoft-IIS/8.5
    WWW-Authenticate : Bearer error="invalid_token"
    Date : Tue, 08 Mar 2016 14:10:41 GMT
    Connection : close
    Request Method :POST
    Content : Content=this+is+from+a+function&From=FBR-PACE&RegisteredDelivery=true&To=%2B233246022602&Direction=out
    Accept : application/json
    === HTTP Response ===
    Receive url :http://api.smsgh.com/v3/messages/
    Status : 201
    POST /v3/messages/ HTTP/1.1
    Host: api.smsgh.com
    Authorization: Basic Y2V4Z3hwZXg6dnZkcWVwenM=
    Accept: */*
    Content-Length: 102
    Content-Type: application/x-www-form-urlencoded
    
    {"Rate":1,"MessageId":"437d6a60-87a8-4551-b751-c05eed4f5849","Status":0,"NetworkId":"62001"}array(0) {
    }
    
    

    please how can i convert this to php array.

  2. Please Can someone help

    me on this

     

    Am creating a timetable system and i want to check only the time difference

     

    Am collect a time only from the html form thus

    $startTime = 13:30:00
    
    $endTime = 14:00:00
    
    
    

    How can i find the deference between this time from the html in php.

    Thanks

  3. SELECT * FROM `booking_tbl` WHERE booking_status = 'Check In' AND departure_date_time = NOW()"
    

    I use the datetime datatype for the departure_date_time so i can get data from that data because it checking the date and time

     

    but i want it to check on the date from the datetime datatype

     

    So how can i get the data only with that date without the time in the mysql datetime datatype

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.