User Profile

Collapse

Profile Sidebar

Collapse
panda
panda
Last Activity: May 18 '16, 06:26 AM
Joined: May 16 '16
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • panda
    started a topic undefined index error
    in PHP

    undefined index error

    Code:
    <?php 
    //connecting to the database 
    define('DB_HOST', 'localhost'); 
    define('DB_NAME', 'survey'); 
    define('DB_USER','root'); 
    define('DB_PASSWORD',''); 
    $con=mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Failed to connect to MySQL: " . mysql_error()); 
    $db=mysql_select_db(DB_NAME,$con) or die("Failed to connect to MySQL: " . mysql_error());
    ?>
    ...
    See more | Go to post

  • link html to its respective php codeat back end and connect multiple html forms in t

    I have three forms one.html, two.html, three.html .
    Each has a php form for connectivity as connect1.php, connect2.php and connect3.php respectively.
    For eg. one.html has
    <form method="post" action="https://example.com/connect1.php">
    Now I want to connect one two and three pages while the php file related to each should be executed at the back. So how do I do it
    See more | Go to post
    Last edited by Dormilich; May 17 '16, 07:54 AM.
No activity results to display
Show More
Working...