有人可以帮我把这段代码转换成漂亮的 html 格式吗?我花了很多时间试图找到一个例子,但我什至不知道在谷歌的搜索框中要问什么......:/
太感谢了
if (!$name) $errors[count($errors)] = 'Please enter your name.';
if (!$address) $errors[count($errors)] = 'Please enter your address.';
if (!$city) $errors[count($errors)] = 'Please enter your city.';
if (!$email) $errors[count($errors)] = 'Please enter your email.';
if (!$datetime) $errors[count($errors)] = 'Please enter date and time of service.';