• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

2 different web pages

Q&A Forum › Category: ESP32 › 2 different web pages
0 Vote Up Vote Down
Patto asked 4 years ago

Hi
I am doing the “Visualize Your Sensor Readings from Anywhere in the World (ESP32/ESP8266 + MySQL + PHP)”
tutorial.

Its awesome and have had success with the webpage displaying my temps etc.
I now want to create a second webpage or server page to display a second set of readings from a second ESP32.
Can I simply create a duplicate set of files etc(with different names) but do I need to change the API key. If I change the key do I just make one up?

3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Hello Patto,

  • No, you can use the same API Key (it’s just a security measure to ensure that only you can publish to the database)
  • You should duplicate the PHP files
  • The easiest way is to also create a new SQL table in your database for those new readings
  • The ESP needs to publish to the new URL

I hope this helps!
Regards.
Rui

0 Vote Up Vote Down
Patto answered 4 years ago

awesome.
works perfectly

0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

You’re welcome! I’m glad it helped 🙂

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.