• 21-03-2022, 22:31:41
    #1
    çözüldü
  • 21-03-2022, 22:33:08
    #2
    Üyeliği durduruldu
    $değişken["count"]["rows"][0]["id"]
  • 21-03-2022, 22:34:33
    #3
    interdev adlı üyeden alıntı: mesajı görüntüle
    $değişken["count"]["rows"][0]["id"]


    Notice: Trying to access array offset on value of type int in C:xampphtdocsuploadlist.php on line 27

    Notice: Trying to access array offset on value of type null in C:xampphtdocsuploadlist.php on line 27

    Notice: Trying to access array offset on value of type null in C:xampphtdocsuploadlist.php on line 27


    bu şekilde hata alıyorum.

    kodlar bu şekilde
    $videoIDCheck = json_decode($response,true);echo$videoIDCheck["count"]["rows"][0]["id"];
  • 21-03-2022, 22:35:32
    #4
    Üyeliği durduruldu
    TufanKeles adlı üyeden alıntı: mesajı görüntüle
    Notice: Trying to access array offset on value of type int in C:xampphtdocsuploadlist.php on line 27

    Notice: Trying to access array offset on value of type null in C:xampphtdocsuploadlist.php on line 27

    Notice: Trying to access array offset on value of type null in C:xampphtdocsuploadlist.php on line 27


    bu şekilde hata alıyorum.

    kodlar bu şekilde
    [COLOR=#d4d4d4][FONT=Consolas][COLOR=#d4d4d4]  [/COLOR][COLOR=#9cdcfe]$videoIDCheck[/COLOR][COLOR=#d4d4d4] = [/COLOR][COLOR=#dcdcaa]json_decode[/COLOR][COLOR=#d4d4d4]([/COLOR][COLOR=#9cdcfe]$response[/COLOR][COLOR=#d4d4d4],[/COLOR][COLOR=#569cd6]true[/COLOR][COLOR=#d4d4d4]);[/COLOR][COLOR=#d4d4d4]  [/COLOR][COLOR=#dcdcaa]echo[/COLOR][COLOR=#d4d4d4] [/COLOR][COLOR=#9cdcfe]$videoIDCheck[/COLOR][COLOR=#d4d4d4][[/COLOR][COLOR=#ce9178]"count"[/COLOR][COLOR=#d4d4d4]][[/COLOR][COLOR=#ce9178]"rows"[/COLOR][COLOR=#d4d4d4]][[/COLOR][COLOR=#b5cea8]0[/COLOR][COLOR=#d4d4d4]][[/COLOR][COLOR=#ce9178]"id"[/COLOR][COLOR=#d4d4d4]];[/COLOR][/FONT][/COLOR]
    $videoIDCheck["rows"][0]["id"]; bu şekilde olacak yanlış yazmışım.
  • 21-03-2022, 22:36:25
    #5
    $degisken['rows'][0]['id']
    faydalı olduysa r10+ atabilirsiniz.
  • 21-03-2022, 22:40:24
    #6
    $videoIDCheck["rows"][0]["id"];
  • 22-03-2022, 21:34:30
    #7
    Birden fazla ID bulunan arrayda foreach ile nasıl çekebilirim

    Array ( [count] => 2 [rows] => Array ( [0] => Array ( [id] => ac9d4c1872e343a291c319d643b444ad [title] => Gian Carlo Villatoro.mp4 [description] => [upload_time] => 1647945787 [length] => 71 [status] => ready [public] => 2 [ipGeoRules] => [whitelisthref] => [posters] => Array ( [0] => Array ( [width] => 427 [height] => 240 [posterUrl] => https://dmf9cnjua2s32.cloudfront.net...eQQhV.240.jpeg ) [1] => Array ( [width] => 1280 [height] => 720 [posterUrl] => https://dmf9cnjua2s32.cloudfront.net...eQQhV.720.jpeg ) [2] => Array ( [width] => 853 [height] => 480 [posterUrl] => https://dmf9cnjua2s32.cloudfront.net...eQQhV.480.jpeg ) ) [poster] => https://dmf9cnjua2s32.cloudfront.net...eQQhV.240.jpeg [tags] => Array ( ) ) [1] => Array ( [id] => 37b6179a93ee4f56a51ea2c20dfcbac5 [title] => Gian Carlo Villatoro.mp4 [description] => [upload_time] => 1647887755 [length] => 71 [status] => ready [public] => 2 [ipGeoRules] => [whitelisthref] => [posters] => Array ( [0] => Array ( [width] => 853 [height] => 480 [posterUrl] => https://dmf9cnjua2s32.cloudfront.net...AJeoo.480.jpeg ) [1] => Array ( [width] => 1280 [height] => 720 [posterUrl] => https://dmf9cnjua2s32.cloudfront.net...AJeoo.720.jpeg ) [2] => Array ( [width] => 427 [height] => 240 [posterUrl] => https://dmf9cnjua2s32.cloudfront.net...AJeoo.240.jpeg ) ) [poster] => https://dmf9cnjua2s32.cloudfront.net...AJeoo.240.jpeg [tags] => Array ( ) ) ) )
  • 22-03-2022, 21:34:50
    #8
    tüm idleri çekmek istiyorum