39,323 Topics
| |
Hi all ,how to create multiplication table,based on user input.User enters 1 value in one box,second value in second box and pressses the create table button for output? Regards | |
ASP is a rigid language and it has tighter error checking tool than PHP has; its syntax is designed over VB. On the other side, PHP has wider range of in-built functions with better flexibility; its syntax is gained from C++. PHP is much friendlier than ASP. Which language has … | |
How would one create a hidden form on a web page and only open the form when the button is clicked? | |
Guys, Does anyone know how i can get the current day highlighted on the calender? ?php $monthNames = Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); ?> <?php if (!isset($_REQUEST["month"])) $_REQUEST["month"] = date("n"); if (!isset($_REQUEST["year"])) $_REQUEST["year"] = date("Y"); ?> <?php $cMonth = $_REQUEST["month"]; $cYear = $_REQUEST["year"]; … | |
looking easy way to input them in pc. i have hundres.is there a bar code machine thats hooks to pc? | |
Hello ! I'm trying to build a link between an applet in java and php. My applet in Java sends data to php. And then php writes data in the database. I use json object my code in java : public static void main(String[] args) { // TODO Auto-generated method … | |
i have formatted my pc i am trying to install Flash Builder again and i am getting an error. Installer User Inteface Mode not supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command line option followed by the UI mode identifier. … | |
Hi guys was wondering if someone could shed some light for me on how relational tables work in codeigniter, for example if i uploaded an image to the database through a from that collects data let's say a blog post. How would i link the two tables and then retrieve … | |
i have a form that contain several disabled fields for date. what i want is the date fields should not return any values when i submitted. but, it returns 1970-01-01 values everytime submit the form. what should i do? please help me T____T | |
Hi guys i want to know how i would store uploads(path's) in the database here is my Controller, View what should go into the Model? Controller <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Upload extends CI_Controller { function __construct() { parent::__construct(); $this->load->helper(array('form', 'url')); } function index() … | |
Hi, I could use some help passing a function or its variables to a php file. Since JS is so verbose I'm posting succinct code to demonstrate my path. Everything works except the values sent to php are zeros. Thanks in advance. (sending the form to:) <FORM name="Keypad" method="post" action="http://localhost/home/calcinsert.php"> … | |
Hi everyone, I'm wondering about a potential problem I might get. My problem is lets say I have 2 tables one called **speakers** and **clients**. In the client table the client has the speaker ID's of 1,5,8(SAVED in a STRING field) - *so I'm using explode() to get the values*. … | |
I am trying to collect data from amazon market place web service in Scratchpad i get all the values.I am downloading php client library from mws developer website and try to run the code for display those files into browser POST mws.amazonservices.com /Products/2011-10-01 AWSAccessKeyId=AKIAJP5PIHAAXLU6NLDQ&Action=ListMatchingProducts&MarketplaceId=ATVPDKIKX0DER&Query=shoes&SellerId=A2LZO1DGHI8M8V&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-01-18T06%3A24%3A58Z&Version=2011-10-01 and according to the post we … | |
I have a table like code html belows I want to store value of check box and corresponding text value into 2 array in PHP For example if i check box ID_1, ID_2 the values of these check box are stored in $array_box ( 74, 75) and values of corresponding … | |
When there should be a error it does not show. I can not seem to get the erorrs to work in the correct order How can I improve my file upload errors to work in correct order? public function upload() { $name = $_FILES['userfile']['name']; $tmp_name = $_FILES['userfile']['tmp_name']; $type = $_FILES['userfile']['type']; … | |
Unable to execute the sql query, only dispaying blank page. <?php require('fpdf.php'); $today=date('d_m_Y'); $hostname = "localhost"; $database = "developer"; $username = "root"; $password = ""; $conn = mysql_connect($hostname, $username, $password) or die(mysql_error()); mysql_select_db($database, $conn); class PDF_result extends FPDF { function __construct ($orientation = 'P', $unit = 'pt', $format = 'Letter', … | |
I would like to know if possible in my php codeigniter modelto be able to insert my file names where it matches up with the link insert post. The link post are in array i.e. <input type="text" name="link[]" /> Not sure whats best the name of the file inserts but … | |
Am trying to work out how to update my database for the image name I have selected with out the need of pressing any buttons just the image it self. there would select the image and it would show a preview and auto update the selected image src address to … | |
I've been asigned to develop a website in php. I run windows, and I want to know what IDEs are good for this. | |
My localhost is running on self-certified HTTPS and I am using Stripe API. I am getting following errors: Warning: stream_socket_client() [function.stream-socket-client]: SSL: connection timeout in D:\xampp\htdocs\edplace_live\stripe\stripe\lib\Stripe\ApiRequestor.php on line 374 Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in D:\xampp\htdocs\edplace_live\stripe\stripe\lib\Stripe\ApiRequestor.php on line 374 Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://api.stripe.com:443 (Unknown … | |
When I upload I can upload single files fine but, I cannot seem to upload if input is like **<input type="file" name="file[]">** I am not sure on my php upload function how to make it allow multiple files? Thanks in advance. public function upload() { $this->load->library('request'); $directory = FCPATH .'upload/'; … | |
I am starting to use Flash Builder for php to make an app. I have started with this very good example suggested by a user. [http://files.zend.com/help/Flash-Builder-for-PHP/Getting-Started/Mobile/build_a_mobile_(php)_application.htm](http://files.zend.com/help/Flash-Builder-for-PHP/Getting-Started/Mobile/build_a_mobile_(php)_application.htm) On Step 11 running the PHPUnit i am getting this error PHPUnit_Framework_Error_Warning:mysqli_connect()[<a href='function.mysqli-connect'>function.mysqli.connect</a>]:MySQL server has gone away I am understanding that it cant connect … | |
Good day! I have a page let say page1.php and page2.php. In page1.php, I have build menus which names are taken from MySQL database like the code Ive made below: <ul> <?php do { ?> <li><a href="fullwidth.html"><?php echo $row_rec_tourismmenu['menuname']; ?></a></li> <?php } while ($row_rec_tourismmenu = mysql_fetch_assoc($rec_tourismmenu)); ?> </ul> I want … | |
Hi Daniweb,I'm trying to modify and upgarde My codes from Native mysql to mysqli. My trail seems to be somehow good as I got My hands with the Php Manual Documentation so forth. The Only point I got stuck is where I implimented the mysql's mysql_affeted_rows() and so changed it … | |
Hi, I am trying to load arabic forms in smarty. But whenever I copy data to a tpl file the arabic lanaguage changes to ?????. Is there any help where I can find how to load arabic forms.I have searched but could not find any help regarding loading the arabic … | |
hello i want to crop my image by selecting the face and mark its coordinates but unable to find that can anyone help me out | |
Hi all, i have web application and login form. i would like when i exit (logout) it automatically logs out from all devices (or browsers or PC). Can anyone help me? | |
I have category table and product table.I retrieved item name from category table.Product table has id,image,title,category,description.If I choose one item from category,I want to display image concern with it. This is my code. | |
I just installed ZEND STUDIO to make a mobile application out of my php files. Does anyone knows any good tutorial or examples? |
The End.