Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
~2K People Reached
About Me

hlo

Interests
networking
PC Specs
no
Favorite Forums
Favorite Tags
Member Avatar for annyangel

dear all, i have a code in php class. through that code plz help me to solve my problem. in the below code why we use $this->message .. can't we use $message under constructor? plz pl ztell me thanks **myClass.php** <?php class myClass { public $message; public function __construct() { …

Member Avatar for pelle12
0
141
Member Avatar for annyangel

hlo all, i need to write a code in php oop for registration without using form and data directly goes in the database. i try to write the code for this. i show u that code and help me to correct that or by giving me another code. the database …

Member Avatar for annyangel
0
237
Member Avatar for annyangel

hlo, i have a code in php with different functions. i want to test that functionality with php code. plz tell me how this automated test code would be written? individually i had test these functions but there is a requirement of a single code with which all the functions …

Member Avatar for annyangel
0
309
Member Avatar for annyangel

i have a database (hello) and it has 2 tables 1. login_tbl and 2. users_tbl both contains the 3 fields id,username,password and id,first_name,last_name respectively. now plz help me to write the php code according to this which helps to search the users details in users_tbl and fetch all the records. …

Member Avatar for annyangel
0
166
Member Avatar for annyangel

hlo, i have a code... plz tell through this how to show table data from mysql? tell me the sql query or code and the location where i will insert that customers.php <?php class Customers { private $name; private $id; private $desc; private $con; public function __construct($name,$desc) { $this -> …

Member Avatar for Lsmjudoka
0
212
Member Avatar for annyangel

# There is a code of crud operations in php using classes. plz help me to correct the error # Warning: mysql_query() expects parameter 1 to be string, resource given in C:\wamp\www\new\customers.php on line 44 <?php class Customers { private $name; private $id; private $desc; private $con; public function __construct($name,$desc) …

Member Avatar for annyangel
0
317
Member Avatar for annyangel

** # plz help me to implement this code in php class # ** index.php <?php $connect=mysql_connect("localhost","root",""); mysql_select_db("crud",$connect); $username; $password; if(isset($_POST["insert"])){ if($_POST["insert"]=="yes"){ $username=$_POST["username"]; $password=$_POST["password"]; $query="insert into user(username, password) values('$username', '$password')"; if(mysql_query($query)) echo "<center>Record Inserted!</center><br>"; } } if(isset($_POST["update"])){ if($_POST["update"]=="yes"){ $username=$_POST["username"]; $password=$_POST["password"]; $query="update user set username='$username' , password='$password' where id=".$_POST['id']; if(mysql_query($query)) echo …

Member Avatar for LastMitch
0
136
Member Avatar for annyangel

plz help me to create a code in PHP the INSERT operation is used with a Class which inserts data and go into the database.

Member Avatar for annyangel
0
119
Member Avatar for annyangel

**** # dao.php # <?php class DAO { private static $con; public function __construct($hostname, $username, $pass, $db) { try { self::$con = new PDO("mysql:host=$hostname; dbname=$db", $username, $pass); } catch (Exception $e) { echo 'Error Message'; } try { $x= self:: $con; } catch (Exception $e) { echo 'Error Message'; } …

Member Avatar for annyangel
0
201