Search results

  1. Z

    PHP array elements combination problem?

    I have an array with following structure Array( [0] =>([0]=> "A") [1] => ([0]=>"A", [1]=>"B") [2] => ([0]=>"A", [1]=>"B", [2]=>"C") [3] => ([0]=>"A") [4] => ([0]=>"A", [1]=>"B") This is abstract. The point is i have an array where there are elements having different counts of elements. Can any...
  2. Z

    How to take value only from array php?

    for instance if your array variable is say, $array do this foreach ($array as $k=>$v){ // In this step you break the array ($array) into its keys ($k) and their corresponding values ($v) echo $v; // in this step you loop over every key - value pair in the array and print only the values...
  3. Z

    How can I make my PHP forms secure (when they post to a MySQL database)?

    Put all your connection parameters and sensitive stuff in a php file, and call (require_once/include) the file on your script. Make the connection file unreadable by external IPs on the server
  4. Z

    Symfony PHP Framework Problem - Posting Data across Views?

    Hi All! I have a symfony project. In this project i have a indexSuccess page, which has a text box. I want to get the value entered in that text box taken to another action, say executeList which will contain the value entered in the text box in Index Page. How can this be done in Symfony? Also...
  5. Z

    Web Service in Nusoap PHP? What am i doing wrong?

    Hi All! I have created a web service with the code require 'nusoap.php'; include 'SOAP/Server.php'; $namespace="XXXXXXXXXXXXXXXXXXX"; $server = new soap_server(); $server->configureWSDL('appstats',$namespace); $server->wsdl->schemaTargetNamespace=$namespace...
Back
Top