- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
Actually I change the permissions of my var/lib/mysql folder to view the files using the command: sudo chown -R . after that wen i was trying to access my phpmyadmin it was displaying error message like: #2002 Cannot log in to the MySQL server Connection for controluser as defined in … |
|
Re:
Hi, I'm wondering how i can upload images into a database and display an uploaded image at the same time. For example when the upload button is clicked, the image is inserted into the database and displayed in the frame. (It doesn't matter whether the page reloads or not). I … |
|
hi i'm new to Code Igniter here is my controller for signup & login.i'm having a little problem while working with sessions.when i cal logout function it was redirecting the page to login page with out destructing sessions. after doing logout when i press back button it was displaying the … |
|
<html> <body> <form method="post" action=""> <input type="text" name="customername" required/> <input type="text" name="productname" required/> <input type="text" name="units" required/> <input type="text" name="price" required/> <input type="submit" value="submit"/> </form> <?php if($_POST) { $_SESSION['array']=array(); array_push($_SESSION['array'],($_POST)); print_r($_SESSION['array']); } ?> </body> </html> Here My Need Was i Want To Save the all data which was submitted by … |
|
Actually The the this is i have to generate input text fields dynamically by using jquery..i see an blog.But i'm Not aware with jquery. Can You Please Help On it...[Click Here](http://www.saaraan.com/2013/03/addremove-input-fields-dynamically-with-jquery). I have to add & delete the text fields dynamically... |
|
<html> <head> <script> function change(x) { var str=x; <?php $name=?>str; } </script> <?php echo $name; </head> <body> <form> <select name="customers" onchange=change('this.value')> <option>Varma</option> <option>Phani Varma</option> <option>Prabhas Varma</option> <option>Kishore Varma</option> </select> </form> </body> </html> so when ever user change the select,the value should be passed to php & it must be echoed … |
|
<html> <head> <script> function change(x) { var str=x; <?php $name=?>str; } </script> <?php echo $name; </head> <body> <form> <select name="customers" onchange=change('this.value')> <option>Varma</option> <option>Phani Varma</option> <option>Prabhas Varma</option> <option>Kishore Varma</option> </select> </form> </body> </html> so when ever user change the select,the value should be passed to php & it must be echoed … |
|
<html> <body> <input type="text" name="cname" value="" onkeyup="shownames()"> </body> </html> Finally the thing is when ever user was input the text it should display the name from database dynamically. The user Should have capable to select the name generated from database. I'm Searching for jquery plugins if any one Knows Please … |
|
Hi i'm trying to save the data in local storage.But it Works Correctly As My code.But i want to save the data in different Manner. Here is my code Snippet Walk Through It And MAke Corrections.... <!DOCTYPE html> <html> <head> <script> //function for \to check whether the input value is … |
|
<!DOCTYPE html> <html> <head> <title>Registration Form</title> <link rel="stylesheet" media="screen" href="style.css" > </head> <body> <div class="head" style="background:#343434;width:auto;height:100px"> <br/> <h2 Style="color:white"><center>NAVAL DOCKYARD, VISAKHAPATNAM-530 014 </br> APPLICATION FOR ABSORPTION OF TRADESMAN(SKILLED)</center> </h2> </div> <form enctype="multipart/form-data" class="contact_form" action= "<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <ul> <h4>Registration Form </h4> <hr/> <li> <label for="name">APPLICANT PHOTO :<sup style="color: … |
|
i'm storing 2 images at a time in my database table in a single row. 1st image was Applicant Photo Name as Image In Db & Second Image Was Applicant Sign Name as Sign in Db. So I'm retriving Both At single shot.But I'Want To Display Images Both At a … |
|
i' saved the key names as column names in database.so i want to insert i all the values in database.with out mentioning the column names in the database. <html> <body> <form action="#" method="post"> Firstname: <input type="text" name="name"> Lastname: <input type="text" name="lname"> Age: <input type="text" name="age"> <input type="submit"> </form> </body> </html> … |
|
> QuoCAtted Text Here Actually I'm passing connection Parameters by calling class Connection.Here what i cant understood is what is the way for passing the value in $link(which can declare as protected).when i want to use this connect class in other page how can i use this class. <?php class … |
|
hi actually iu'm fetching 5 question id from db and saved in an array. now i'm fetching questions and their respective options from database. so i'want to save the option in seesions or cookies when ever user selected. this is my code for fetching questions & ANSWERS. public function display( … |
|
actually i'hd saved the form data in local by using sysphus a jquery plugin and this is my code to save the form data in local storage.is it possible to retrive the all data at once using php Or jquery. can u please help me to retrive the stored data … |
|
Good Morning. Actually i'm doing online quizz project. so when ever user login details are true he has to take a test. so that i displaying questions randomly from database. when i press F5/Ctrl+r/browser Refresh Button the questions are changing simultaneously. What i require is the questions could not while … |
|
i'm doing online quizz project. so i'm fetching questioins & answers Randomly from database. when ever press referesh button/f5 the questions are changing. wat i require is when the session starts once.the questions could not be change even doing refresh.. thank u all. eagerly waiting for ur help |
|
i want to disable browsers refresh button & F5 as well as ctrl+R . |
|
public function display( ) { $query="SELECT * FROM test ORDER BY RAND() limit 5 "; $result=mysql_query($query)or die("cannot select DB"); $num=mysql_numrows($result); echo "<table>"; echo "<tr>"."<td style='overfolw-hidden;width:400px;'> Question: </td>"; echo "<td style='overfolw-hidden;width:40px;'> OPTION A </td>"; echo "<td style='overfolw-hidden;width:40px;'> OPTION B </td>"; echo "<td style='overfolw-hidden;width:40px;'> OPTION C </td>"; echo "<td style='overfolw-hidden;width:40px;'> OPTION D … |
|
i'm Having 3 tables those are like 1.State table 2. District Table 3.college Table state table cat_id state 1 Andhrapradesh 2 Gujarat 3 Punjab 4 mumbai --------------- district Table cat_id d_id district 1 1 vizag 1 2 eastgadavari 1 3 hyderabad 1 4 westgadavari -------------------------------------- college table Cat_id d_id c_id … |
|
Actually I'm having a form with 4pages At the 4th page i'had submit button.so i want to save the data of 1,2,3 pages in xml.wen i click on submit button in 4th page.i want to insert all 4 pages data in mysql.. Anyone help me Plzzz. Thanx In Advanceeeeee........... |