This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
$deger=0; | |
$_SESSİON['deger']=$deger; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!isset($_SESSION['counter'])) | |
$_SESSION['counter'] = 0; | |
else { | |
$_SESSION['counter']++; | |
} | |
echo $_SESSION['counter']; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!isset($_SESSION['deger'])){ | |
$_SESSION['deger']=0; | |
} | |
?> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------- 1 -------------------------------------- | |
--film tablosunda bulunan title ve description sütunlarındaki verileri sıralayınız. | |
--film tablosunda bulunan tüm sütunlardaki verileri film uzunluğu (length) 60 dan büyük VE 75 ten küçük olma koşullarıyla sıralayınız. | |
--film tablosunda bulunan tüm sütunlardaki verileri rental_rate 0.99 VE replacement_cost 12.99 VEYA 28.99 olma koşullarıyla sıralayınız. | |
--customer tablosunda bulunan first_name sütunundaki değeri 'Mary' olan müşterinin last_name sütunundaki değeri nedir? | |
--film tablosundaki uzunluğu(length) 50 ten büyük OLMAYIP aynı zamanda rental_rate değeri 2.99 veya 4.99 OLMAYAN verileri sıralayınız. | |
SELECT title, description FROM film | |
SELECT * FROM film WHERE length>60 AND length<75 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//getData.js | |
import axios from "axios"; | |
export async function getData(number) { | |
const { data: user } = await axios( | |
`https://jsonplaceholder.typicode.com/users/${number}` | |
); | |
const { data: post } = await axios( | |
`https://jsonplaceholder.typicode.com/posts/${number}` | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`mongodb+srv://${process.env.MONGO_USERNAME}:${process.env.MONGO_PASSWORD}@myFirstDatabase?retryWrites=true&w=majority` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"roles": [ | |
{ | |
"id": 1, | |
"name": "Manager" | |
}, | |
{ | |
"id": 2, | |
"name": "Engineer" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const path = require('path'); | |
const dotenv = require('dotenv'); | |
const ContactRoute = require('./Routes/ContactRoute'); | |
const app = express(); | |
dotenv.config(); | |
//middleware | |
app.use(express.static(path.resolve(__dirname, '../client/build'))); |
OlderNewer