首页 > 解决方案 > 我想在每次刷新 html 时在 html 页面中打印一个随机数

问题描述

每次刷新页面时,我都想在 html 页面中打印随机数。我已经在 PHP 中尝试过:

$number = rand(1111323,9111323)

我需要此代码用于 html 页面。

标签: randomnumbers

解决方案


推荐阅读