39,393 Topics

Member Avatar for
Member Avatar for ankit1122

i will be receiving JSON POST as mentioned on this web page https://sendgrid.com/blog/sendgrids-parse-api-parsing-incoming-email-is-now-faster-and-easier/ how do my application receive this request and process furthur??

Member Avatar for cereal
0
610
Member Avatar for AceJay

Hi, I'm a begginer at php and I need to create a image editing tool in php. I want to crop the image, display the cropped image next to the original and be able to resize, re-crop and replace the cropped image in the same location as previous cropped image, …

Member Avatar for AceJay
0
774
Member Avatar for Ravinder_3

When I click on the button it is not working but when i refresh the page the mails are going.Please suggest me how to solve this problem. <button type="submit" title="<?php echo $this->__('Email Me') ?>" class="button"><span><span><?php echo $this->__('Email Me')?></span></span></button> <?php $email=$_POST['email']; $name=$_POST['name']; $to=$email; $subject= "New Application"; $message= "Name: ".$name; $headers= "From: …

Member Avatar for broj1
0
4K
Member Avatar for AntonyRayan

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?

Member Avatar for AntonyRayan
0
119
Member Avatar for Chibueze_1

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> …

Member Avatar for cereal
0
243
Member Avatar for Mannava

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 …

Member Avatar for dhiraj_2
0
4K
Member Avatar for donoskaro

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 …

0
524
Member Avatar for rpv_sen

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: " …

Member Avatar for rpv_sen
0
384
Member Avatar for yaginuk

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 …

Member Avatar for diafol
0
169
Member Avatar for AntonyRayan

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?

Member Avatar for diafol
0
92
Member Avatar for jay_13

to obtain principal amount and time and calculate simple interest as per following rate of interest?

Member Avatar for cereal
0
52
Member Avatar for anmol.raghuvanshi1

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 …

Member Avatar for anmol.raghuvanshi1
0
892
Member Avatar for Ravinder_3

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); // …

Member Avatar for diafol
0
321
Member Avatar for ramsiva

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] …

Member Avatar for ramsiva
0
122
Member Avatar for lewashby

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. …

Member Avatar for lewashby
0
200
Member Avatar for lewashby

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 …

Member Avatar for lewashby
0
3K
Member Avatar for chaitu11

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 ) ) …

Member Avatar for diafol
0
179
Member Avatar for josek1

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

Member Avatar for cereal
0
141
Member Avatar for anmol.raghuvanshi1

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 …

Member Avatar for anmol.raghuvanshi1
0
260
Member Avatar for paul-lucas

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 …

Member Avatar for diafol
0
184
Member Avatar for rani_4

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 …

Member Avatar for cereal
0
344
Member Avatar for bops

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 …

Member Avatar for Keimpe
0
249
Member Avatar for Neon Tetras

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?

Member Avatar for cereal
0
431
Member Avatar for SivaShankar

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); …

Member Avatar for rch1231
0
335
Member Avatar for SimonIoa

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 …

Member Avatar for SimonIoa
0
316
Member Avatar for UK-1991

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 …

Member Avatar for jkon
0
144
Member Avatar for praba_web

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 …

Member Avatar for diafol
0
453
Member Avatar for Greg_8

<?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 …

Member Avatar for broj1
0
502
Member Avatar for janicemurby

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 …

Member Avatar for diafol
0
126
Member Avatar for fobos

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 …

Member Avatar for diafol
0
2K

The End.