$varphp="<script>document.write(id);</script>";
                  
                  
                  ?>
                  
                  
                  
                  
                  
                  Var z;
                  
                  
                  z='<?php foreach (Db::select("exec storedprocedure1sqlserver $varphp")as $v): ?>
                  
                  
                  ....
                  
                  
                  ';
                  
                  
                  
                  
                  
                  
                  
                  
                  Syntax error in:
                  
                  
                  Exec storedprocedure1sqlserver <script>document.write(id);</script>
                  
                  
                
The problem is where you did the Db::select.....
id is not the same as Id
I think this happened when they pasted the code
php group
https://t.me/joinchat/FNPR30I7auD3LGM5LaGUdQ
Обсуждают сегодня