39,326 Topics
| |
How would I go about uploading and resizing a transparent PNG, GIF image using PHP? I have a script but it only works with JPG images and of course JPG images do not support transparent images. The image also needs to maintain it's transparency when resized. Thanks in Advance! | |
Hi Everyone, Especially those who are more experienced than others. I have been teaching myself php over the last 18 months and whilst I can do what I think are basic tasks, the more difficult tasks, well, are more difficult and take much longer to complete. The reason for my … | |
Hello, I am trying to create a table in CI: controllers/ctable.php <?php class Table extends CI_Controller { $this->load->library('table'); $data = array( array('Name', 'Color', 'Size'), array('Fred', 'Blue', 'Small'), array('Mary', 'Red', 'Large'), array('John', 'Green', 'Medium') ); $this->load->view('tablefile'); } ?> views/vtable.php <?php echo $this->table->generate($data); ?> routes.php $route['vtable'] = 'ctable'; Result: Welcome to CodeIgniter! … | |
i am always finding this error. if you have an idea.please assist as soon as possible mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\validate_login.php on line 20 This is line with the problem as per text -editor(* $row = mysql_fetch_array($result);*) <?php // Grab User submitted information $email … | |
Hi Everyone, I am trying to add a php post variable to one of my output error messages. The working error message is this - registerError( $hint, $hint, $error_title, ' + sign not required. International dialing code not required' ); What I would like to do is to display the … | |
I need help on my coding. I want to disable date before today, so the user cannot click on that date. please help me on this issues. Below is my coding, please let me know if there is error or something that I missed here. Thanks. | |
Hello, I have some php code that calls my server via a api, this code can create a new user on my server, what i need is a signup form so uses can enter information and creat the user and after the users has been made it will send a … | |
Am using ajax to populate a drop down list, and it works fine, but i just can't find a way to make choosen.proto to work. It works on other drop-down, but not the one populated with ajax. In short, the form must allow the user to select multiple items Here … | |
I am creating a form which dynamically creates a list of options to purchase. The list is generated from a database. The PHP is <?php for($i = 1; $i <= $opt_count; $i++){ $desc = $options['description'][$i]; $prc = $options['price'][$i]; $type = $options['type'][$i]; $size[$i] = ' '; $option_text = <<<TABLE <tr> <td>$desc</td> <td … | |
| I put it all here, it shows as a paste... mind looking and maybe editing and giving me your link? :) public function getTopics($cid) { require("database.php"); $cat_id = strip_tags($cid); $query = $db->query("SELECT DISTINCT * FROM `forum_topics` INNER JOIN `forum_replies` ON `forum_topics`.`topic_id`=`forum_replies`.`reply_id` GROUP BY `forum_topics`.`topic_id` ORDER BY coalesce(`forum_replies`.`posted_on`, `forum_topics`.`posted`) DESC"); if … |
i want to know how can make internal live voice calling Application in web site by php not calling to external phone network and not by phone number just by username in site | |
Hello, I have the following error whenever I try to run phpmyadmin: Welcome to phpMyAdmin Error MySQL said: Documentation #2002 - No connection could be made because the target machine actively refused it. The server is not responding (or the local server's socket is not correctly configured). Connection for controluser … | |
how to fetch data from database on the web page in php? please provide suitable example. | |
I integrated paypal payment successfully who have account in Paypal. There are 2 options, either you are a paypal user and you use your paypal, which is the way I have been testing. But, if you are not a member and want to test the cred/debit card option. I want … | |
| I put it all here, it shows as a paste... mind looking and maybe editing and giving me your link? :) http://kk7.me/366999 |
Hi Friends, I am struggling from last couple of days with this paypal return array. After completion of successful transaction in Live account, Paypal sends empty resultset to my website. Is there anything i need to set in Mercant paypal account ? Coming to Sandbox, everything is working fine. Please … | |
Hi all, I just wanna ask if I can create a system based on PHP. The system is about automated timetable system using Genetic Algorithm. I've previously did the system in Java, but I realized that I don't have the superior knowledge in Java.But I do have much better knowledge … | |
hi frnds can u pls help me in mysql how to write commands for cgpa calculator\ | |
high i am new in xmlrpc i would like to know how to send a request to server using xmlrpc | |
hi frnds i need mysql commands for cgpa calculator and need database connectivity | |
Hi, i made this pagination system in the news list, but it's repeating the first data in every pages. So when i say i want 2 nes per page it's giving me 3 instead, because of it... if(isset($_GET['page'])){ require('config.php'); $page = $_GET["page"]; //Getting Page number $pages_query = mysql_query("SELECT COUNT(IdNoticia) FROM … | |
Extension that are available as free from opencart and, Also provide me the extensions for displaying the categories as side menu ? | |
The file is being copied the problem is all the file is getting copied like its going through the whole loop again <?php function copyfile($src,$dest){ copy($src,$dest); } ?> <!DOCTYPE html> <html> <head> <title>Menu</title> <link rel="stylesheet" type="text/css" href="menu.css"> </head> <body background="D:\Web\images\goo.jpg"> <div class="header"> <div id="logo"> <img src="D:\Web\images\the-library-white.png"> </div> </div> <div class="items"> … | |
in my project i'm using user input form. that form contains serial no, reference no, name, email, phone, address, etc.., in that user input form serial number textfield is readonly option. user can't able edit the serial number. in that textfield i want to show the next auto_increment id from … | |
class Jcart { public $config = array(); private $items = array(); private $names = array(); private $prices = array(); private $qtys = array(); private $urls = array(); private $subtotal = 0; private $itemCount = 0; can any body please explain what the meaning of above code. in the first line … | |
How to connect a web page with social media like facebook, twitter, LinkedIn etc.? | |
Hi guys I'm new to php. I've been given a task to write a code in php that would allow the user to input his initials and the program should out his/her initials as a star pattern. E.g if your initials T.T,it should be as follows... ***** ***** * * … | |
Hi , Kindly help me to display tempnum when ahref is clicked. Looks like code marked as Italic requires needs to be updated?? <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".mylinktempnum").click(function(){ *alert($(this).attr('this.tempnum'));* }); }); </script > </head> <body> </body> </html> <?php <a class=\"mylinktempnum\" href=\"home.php?tempnum=$num\"></a> ?> | |
Hi, I am developing a website and I want to use htaccess to change the url from `www.abc.com/user.php?c=devian` to www.abc.com/user/devian I use the code below to convert url and it's work but why all CSS and js not reading? `RewriteRule ^user/(.+)$ user.php?c=$1 [NC,L]` If I access `www.abc.com/user.php?c=devian` then I can … | |
please tell me how to connect to a database which is on other machine on same network. i have two machines, client and server. server is asking questions and client is responding with one of four options. i have an answer table at server side, and i want it to … |
The End.