Jump to content

apysan

Members
  • Posts

    3
  • Joined

  • Last visited

apysan's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. HI, I am try to create an initial page for my dummy project where i want a button ( a div) appear at the top right corner of the page, once user press the div it should move to the middle of the page and scalled properly so that a predefined Login form can fit into it. Once the user enter the user name and password it should change it shape like a button and return back to its original place top-right corner of the page. But my div does not stop when it reach to the middle of the page rather go back to it origin place, i don't know how to break the animation i give the animation-iteration-count=1. Secondly where should i write the code so that my <form>rest html controls</form> get inserted into the div Please help . I am attaching the code herewith. Thanks and Regards . . diagonal4.html
  2. Hello friends, I have just begun to learn PHP. I prefer to learn in PDO way. I write the following code to connect to phpmyadmin (wamp). unable to understand the use of this function, even if it is useful why do we mention only two parameter with this, please help to understand. try{ $handler = new PDO('mysql:host=localhost;dbname=arjun_kaa_database','root',''); $handler->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch(PDOException $e) { //echo "An Error is Catched<br>"; //$e->getmessage(); //die("More Specific Message will be >--------------> Something Wrong with the Database"); echo $e->getMessage(); die(); } Thanks and Regards
  3. I am a new learner of php. After going though several articles and tutorial i decide to do it in PDO way. I execute my code without any problem without using set fetchattribute method, then why should i use it. Please help to understand
×
×
  • Create New...