我在PHP中使用chartjs进行多个图表。我在调用动态ID的情况下,我想使用ID作为fulltime_32,fulltime_33等等。在PHP语句中。当动态使用ID时,我会收到错误。
请查一下密码,
PHP code -- $sid = $source_id;
- Dynamic ID for example 32,33,34,35,36
fulltime_32[context[0].dataIndex]; to fulltime_$sid[context[0].dataIndex];
<script>
const fulltime
当我按下按钮时,我需要一些帮助来更新表中的行。目前,我有一个动态表,它从数据库中获取数据并将其作为一个表发布。我现在真正想做的是,能够在单击按钮时更新行。这是我的密码。
我的数据库(表名:赋值):
| ID | CustomerID | Name | Address | Technician |
我的PHP:
<?php
if(isset($_POST['customerButton'])){
$ID = $row_Assignment['ID']; <--- //Not sure which ID to fetch, so it'
我有两个网站作为子域托管。
其中一个站点使用子域作为动态图像请求的别名。
site1.example.com
site2.example.com
sub1.example.com -> same as site1
sub2.example.com -> same as site1
sub3.example.com -> same as site1
动态图像是由subX.example.com/images.php?请求的。
在htaccess中,我想:
限制对site1和site2的访问(相同的用户和密码)
没有子on上的身份验证提示
将子to请求的所有内容重定向到image