39,320 Topics
| |
| 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? | |
hi guys pls help me with this problem i realy can't fix this problem <?php function protect($string){ $string = mysql_real_escape_string($string); $string = strip_tags($string); $string = addslashes($string); return $string; } function connect(){ $con = mysql_connect('127.0.0.1','root', '') or die(mysql_error()); $db = mysql_select_db("users",$con); } ?> // this is for the protect function and … | |
HI I need a information for the below, If i send a mail to ticket@domainname from gmail or other mail providers, it has to generate the ticket number and update in the ticket system. Please guide me on this. | |
Hello i want to make upload button so users can upload images/gifs/videos/music but i cannot understand how i can do that i fuond a code on w3schools but it just uploads the image to folder in my computer called `/uploads` i want to store the images into database which they … | |
session start has been evoked. I need the value of $v. $key = $_SESSION['sys_var_key']; $v = $_SESSION[$key]; echo '<br>key =>'.$key; echo '<br>value =>'.$v; | |
hello I am facing a problem with my htacess i have two php files that are used for URL rewriting first one is video.php and second one is channel.php. on homepage when I click any video its properly works for rewriting the url e.g. `mysite.com/video.php?url=1234` changes to that works properly … | |
Hello Dears Friends, I want to make aRegistration form for users, and save data of user in my database.I tried my best best but cannt Please, check my Code. <?php include "conn.php"; //database connection file if($_SERVER["REQUEST_METHOD"]=="POST"){ $username=filter_input(INPUT_POST,'uname',FILTER_SANITIZE_SPECIAL_CHARS); $sql = "SELECT username FROM usersystem WHERE username = '$username'"; $result=$conn->query($sql); if (!$result) … | |
I want to integrate Paypal functionality in my website. Plz provide some easiest way to do so. or sample code. | |
Hi Guys, can someone explain me, the advantage using .html or .php Look i know exactly what each extension mean, what im trying to get is in term of website performance. I know that we use it every time but i thing no one ever think about it. Please some … |
The End.