

$result4 = mysql_query($query4) or die(mysql_error())

$query4 = "SELECT iva.iva, registro.Ext, estructura.responsable, tarifas.numero, registro.duracion, stino, sto, partament, registro.numero, registro.Nombrenumero, registro.tipodestino, registro.TipoLlam, registro.duracionpbx, registro.fecha, registro.hora, ((registro.duracion*sto)+ cargobase) AS Total ". While($row2 = mysql_fetch_array($result2)) $result2 = mysql_query($query2) or die(mysql_error()) While($row1 = mysql_fetch_array($result1)) $result1 = mysql_query($query1) or die(mysql_error())
#WAMPSERVER PHP 5.2 CODE#
This is just the code for queries Wampserver 2.0b run faster:ĬODE -> php $con = mysql_connect("localhost","root","password") } //Close If Si departament = departament } //Close If Si estructura.Ext = registro.Ext While($row4 = mysqli_fetch_assoc($result4)) Print out the contents of each row into a table $result4 = mysqli_query($con,$query4) or die(mysql_error()) "WHERE registro.Ext = estructura.Ext AND registro.IdLlam = tarifas.IdLlam AND registro.TipoLlam = '$Direccion' AND registro.tipodestino LIKE '$tipodestinof%' AND fecha BETWEEN '$calendar8M' AND '$calendar9M' AND hora BETWEEN '$horaini' AND '$horafin' AND registro.numero LIKE '$numerob%' AND registro.duracionpbx >= '$duracionbf' ORDER BY estructura.Ext, fecha, hora " "FROM registro, estructura, tarifas, iva ". $query4 = "SELECT iva.iva, registro.Ext, estructura.responsable, tarifas.numero, registro.duracion, stino, sto AS CostoX, partament, registro.numero, registro.Nombrenumero, registro.tipodestino, registro.TipoLlam, registro.duracionpbx, registro.fecha, registro.hora, ((registro.duracion*sto)+ cargobase) AS Total ". While($row2 = mysqli_fetch_assoc($result2)) $result2 = mysqli_query($con,$query2) or die(mysql_error()) While($row1 = mysqli_fetch_assoc($result1)) $result1 = mysqli_query($con,$query1) or die(mysql_error()) I got tired of searching in google and going through many many articles and videos from youtube without reaching to a final solution for my case.CODE -> php $con = mysqli_connect("localhost","root","password","calls") ĭie('Could not connect: '. And lastly, where do I save my php files? Last question might be kind of stupid but I really hope to get help from you. One more remark is that I've installed phpDesigner 7 seperately before WAMP so how is it used? I mean which program is used through the other? In other words, how does it work? Do I have to write my php code inside of my html or I can use phpDesigner? That So what is meant by that? because I can understand nothing & where is the php files that are to be modified and configured so that everything is set up with Expression Web along with the my WAMP Server.
#WAMPSERVER PHP 5.2 MANUAL#
via an Apache Action directive.įor more information as to why this behaviour exists, see the manual page for CGI security.įor more information about changing this behaviour or re-enabling this webserver,Ĭonsult the installation file that came with this distribution, or visit Means that a page will only be served up if the REDIRECT_STATUS CGI variable is This PHP CGI binary was compiled with force-cgi-redirect enabled. Security Alert! The PHP CGI cannot be accessed directly. I'm using Microsoft Expression Web to develp my website, but when coming to the PHP part and when I write a php script inside of an html page, it gives.
