39,326 Topics
| |
Can any one tell me ? which framework is easy to learn and configure. And Which one is best codeIgniter or Zend or CakePHP or any other? | |
I'm totally new to php. I'm trying to echo the value of an input field into a an array but it doesn't seem to work.e.g echo the value of hidden-input as the value for origin in the array. How can I achieve this. <form method="post"> <input id="hidden-input" name="from[]" value=""> </form> … | |
5:18:22 PM [Apache] Problem detected! 5:18:22 PM [Apache] Port 80 in use by "Unable to open process" with PID 4! 5:18:22 PM [Apache] Apache WILL NOT start without the configured ports free! 5:18:22 PM [Apache] You need to uninstall/disable/reconfigure the blocking application 5:18:22 PM [Apache] or reconfigure Apache and the … | |
Hey guys, I am currently *trying* to create an IMAP authentication backend for Baikal/SabreDAV. The aim is for SabreDAV to authenticate users using an IMAP server (which will make CalDAV and CardDAV authentication a lot easier). This is the code I have produced so far: <?php namespace Sabre\DAV\Auth\Backend; // Auth … | |
Hi friends i am trying to display dynamic dropdown using php. but it is not fetching the second dropdown value. I collected the below code from internet. please help me to fix it. <?php $dbc = mysqli_connect("localhost","root","escape123","tsheet"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " … | |
hi, new to php. i have just started a project for entering 2 postcodes (zip code) and working the distance between the 2. if i have to a url like "https://api.postcodes.io/postcodes/cf634px" and when you put that in a browser content is returned within. how would i use php to echo … | |
In a table, I want to show the list subjects based on standard selection from mysql. How to do? Example: s.no(default title)|subject1(English) |subject2(French)| subject3 based on standatrd selection| total(Default) 1 90 95 100 285 Like this I need. How to do? | |
to obtain principal amount and time and calculate simple interest as per following rate of interest? | |
| I am trying to intergrate the jquery tokenInput plugin to my form [Link](http://loopj.com/jquery-tokeninput/) I want to simple local data search I want data to be fetched from database and show it in input box with multiple options as in demo However this code works for me it displays the result[i … |
I added the code for generating the due dates for present day. Can you Please help me how can i generate the vaccination due date by selecting the date of birth. Here is my code in app/design/frontend/ultimo/default/template/vaccination/vaccination.phtml <?php $nextWeek = time() + (7 * 24 * 60 * 60); // … | |
array([details] => Array([0] => Array( [name] => 454 [location] => 4) [2] => Array([name] => 454 [location] => 5))) I have array details with two sub arrays [0] and [2] how to convert and order [2] to [1] array([details] => Array([0] => Array( [name] => 454 [location] => 4) [1] … | |
In the following code, why is neither "Connected Successfully" nor "Connection failed" ever displayed on my page? Also, I'm trying to place for table side by side in one large table. Does anyone have any idea why Eclipse is giving me warnings about my four tables and my comments? Thanks. … | |
In an php/html document could I create a loop to create html table rows as long as there is a rows to be read from a MySQL database table? I could then populate the html table with the data but I first need to know if I can make a … | |
This is my array Array ( [33] => Array ( [for sale] => Array ( [1] => villas [2] => plots [3] => flats [4] => houses ) ) [34] => Array ( [for rent] => Array ( [5] => in house [6] => appartment [7] => godams ) ) … | |
Hi All, On php.net i read this"The maximum execution time is not affected by system calls", does this also mean that when i run a cronjob from direactadmin max_execution_time does not kick in? or any other time outs? thanks a lot for answering this!! Gr josek | |
| There is long registration form I have one auto-complete box like StackOverflow tag bar will have multiple tags of country. Now I want without redirecting to another page or any thing else. I want names of country to be displayed from database. I am successful in displaying without database like … |
Hello, please tell me how to make auto filter between two search inputs? For exemple: while I choose a Zip code on list, then list of City name is filterd automatic according to this Zip code. These are my code: // Connect to db: $dsn = "mysql:host=".DB_HOST.";dbname=".DB_NAME; $db = new … | |
I have record with strings: record id value type sn 1 aaaa181c1c3e9997 single sn 2 caca381c1c3e6483 masculine These are almost 500+,they are stored in mysql which i fetch,converting record to 64bit(bitcout work only integer),they are returned as all queires stored,not most like.I use code: SELECT * FROM MY_TABLE ORDER BY … | |
Hi there, My question isn't strictly about programming, it's primarily a question of how to approach my problem with the tools I have. I am building a website where a user can sign up and create their own profile/portfolio so to speak. Let's say this is `mysite.com`. Say Joe Bloggs … | |
My web hosting plan does not include a database. Is there a way i can get around this? Like upload a .sql file or ms access db into my server and connect to it using php? | |
Hi Guys I am beginner in PHP i am getting Warning: mysql_fetch_array(): Eror... anybody help me Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home4/kksivash/public_html/drngpit/student-portal/admin/model.php on line 76 function get_deptbyID($id=""){ $sql = "SELECT * FROM department where id = ".$id; $result = mysql_query($sql); $row = mysql_fetch_array($result); … | |
Hello i want to create a countdown with numbers for example 1. (some data from database) 2. (some data from database) 3. (some data from database) 4. (some data from database) 5. (some data from database) and so on.... I have done the ORDER BY and retreive the data i … | |
Hello, I am loking for a concept to geting started is there a way of creating a notification like on user end any one updates his post update or upload an image then on admin panel it notifies the admin like on menu bar it shows 1 and when the … | |
Hi there, I have a login form.which contains two input parameters. login_id and password. login_id may be mobile or email. user may use mobile no or email as login id. my table structure is uid email mobile password status when i login through mobile no it is validating and showing … | |
<?php session_start(); $username = $_POST['username']; $password = $_POST['password']; Notice: Use of undefined constant username - assumed 'username' if (username&&password) <?php session_start(); $username = $_POST['username']; $password = $_POST['password']; if (username&&password) { $link = mysqli_connect("localhost","root","","phplogin") or die("Error " . mysqli_error($link)); mysql_select_db("phplogin" , $link); $result = mysql_query("SELECT * FROM username" , $link); $num_rows … | |
Hi im wondering if someone can help me i have a checkbox options to choose more than one item and ive done the html bit one the registration page for the php i have this bit that i think needs to go in the profile page but when i do … | |
Hello all, i am stuck on this.. i want to be able to play a video from a mysql database. Currently i can upload the video to mysql (name, type, size, content) and download the file. i have a media player that shows a video, but i have to use … | |
Hi I am trying to clone a row with dependent dropdown. first row is working fine. Once i click add row button, if i select the project option its not working on client select option. can anyone please help me to fix. Note: I used trying using id="client[]" and id="project[]" … | |
Hello, everybody! I have learned a lot by reading others questions and your solutions. Now it's time to ask one myself. I have a dynamic form (with dynamically adding rows). This form has 2 normal input fields which send data to table 'orcamen' and 4 dynamic fields which are stored … | |
how do we extract data from an xml file and display it in php? |
The End.