-1

"https://www.bryllupfoto.com/variable/key.php/?ck=559"

I would like the echo function on my PHP page to print the information in the URL. in this case 559.

(I don't know if the syntax in my url is correct)

Cœur
  • 32,421
  • 21
  • 173
  • 232
Tomas
  • 15
  • 4

2 Answers2

0

Your URL:

https://www.bryllupfoto.com/variable/key.php?ck=559

Your php:

echo $_GET['ck']; 
Sebastien D
  • 3,945
  • 3
  • 14
  • 38
0

Access you url value using thier key and echo it echo $_GET[ck] ;