39,320 Topics
| |
I need help to craete a credit card payment method in php. Thanks | |
I have a contradiction in creating a website for Job seekers, confusion in choosing the language. I assume here that there would be atleast 100 people access the database at the same time to Create a new account, update their existing account and at the same time some would search … | |
i have an html textbox use for searching and when I type on the textbox the field in database will appear as dropdown...pls..help.thanks | |
<!DOCTYPE HTML> <html> <?php $style=isset( $_GET['color'] ) ? $_GET['color'] : ''; $text=$_GET['text']; ?> <head> <title>Test!</title> <style type="text/css"> div { text-align:center; margin:0 auto; } </style> </head> <body> <div> <form action="index.php" method="GET"> <input type="text" name="text"><br> <input type="radio" name="color" value="blue">Синий<br> <input type="radio" name="color" value="red" >Красный<br> <input type="radio" name="color" value="green">Зеленый<br> <input type="radio" name="color" value="black">Черный<br> … | |
| I have a doubt with my codeigniter .htaccess file. I was hoping there was something I was missing. My question is I need a different .htaccess file for my live server and one for localhost. Locally, I'm using macos and linux, on my live server I am using centos with … |
| Hey guys, I'm creating an ultimate CMS with codeigniter, at the moment I've got the following -login system with email -installer -menu builder with drag and drop -forums with search and create categories -Blog and and edit posts I'm looking for a page builder now. Specifically to drag and drop … |
| Hey guys, At the moment more for convenience I'm giving my codeigniter files recursive 777 permissions which is bad. I'm still in the development stage so it is not an issue. But upon release for a production environment what is the best practice for the permission of the files. Specifically … |
I try to embed google maps in my website and I ge this message: The Google Maps API server rejected your request. This API project is not authorized to use this API. How to troubleshoot the request? Key for browser apps (with referers) API key: AIzaSyCjFKpq6lrrbfaii0U0j6aHMWkB2K1QUNs Referers: Any referer allowed … | |
What is this warning means? Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\free-prowebsite\site_pro\administrator\adminnav.php:160) in C:\xampp\htdocs\free-prowebsite\site_pro\administrator\admin\file-upload.php on line 224 line 224: header('Location: ' . SUCCESS_URL); | |
I'm creating an Web-Based Inventory System, currently stucked at this module where I need to scan QR code. The process flow that I want to achieve should be like this: 1. Scan QR code containing the inventory ID wirelessly using an Android app 2. Show the information retrieved from the … | |
Hello, How to create a table with a sort feature. You can sort the table based on the header of the table. For example: Name City Age David Brazil 28 Vicky Spain 25 Ashley Spain 21 If you click the header=name it will be sort by name, else if you … | |
hp $mysql_hostname = "localhost"; $mysql_user = "root"; $mysql_password = ""; $mysql_database = "farm_house"; $prefix = ""; $bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Could not connect database"); mysql_select_db($mysql_database, $bd) or die("Could not select database"); $myysql= "SELECT customerinformation.CustomerFullName, customerinformation.CustomerID, customerinformation.Housenumber, customerinformation.Sector, customerinformation.StreetNumber, customerconsumption.MilkDelieveredCow, milkrate.CowMilkRate, (customerconsumption.MilkDelieveredCow*milkrate.CowMilkRate) AS t_amount_cow, customerconsumption.MilkDeliveredBuffalow, milkrate.BuffaloMilkRate, (customerconsumption.MilkDeliveredBuffalow*milkrate.BuffaloMilkRate) AS t_amount_buff, … | |
Table: numdata id numb 1 123 2 456789 3 123 4 456789 5 123 6 456789 7 123 8 456789 9 123 10 456789 11 123 12 456789 13 123 14 456789 ...... What i would like to do is combine the data in numb only, so the desired data … | |
Hi guys, This is related with my last question on 'Store data in PHP page' article. However I saved that things in `settings.php` Such as, *settings.php* <?php //SITE URL $url = "Sample.com;" //SITE NAME $sitename = "Sample LLC"; ?> I have included that settings.php file to index.php But when I … | |
Whats wrong with this query? For example $brand holds the value 'apple' Then I get the error 'unknown column 'apple' Can anyone see the problem? if(isset($_GET['brand']) ? $_GET['brand'] : 0){ $brand = (isset($_GET['brand']) ? $_GET['brand'] : 0); $sql = mysqli_query($link, "SELECT COUNT(id) FROM products WHERE brand = $brand AND status … | |
Hello, by using [GOOGLE PLAYGROUND](https://developers.google.com/oauthplayground/) we can see the flow of how oauth2 works.. ok, I understood.. my question is: is it possible to validate google access token via php form by submittin email address and Token? Thank you! | |
I am retriving image from mysql database and want to hyperlink this processed image but not able to find solution for ($i = 0; $i < $rows; $i++) { $description = mysql_fetch_array($result); $img_str= base64_encode($description["nImage"]); echo '<a id="zoom" href="data:image/jpeg;base64,'.$img_str.'"><img src="data:image/jpeg;base64,'.$img_str.'" width="150" height="150" /></a>'; if($i%3 == 2) echo "</br>"; } | |
I want to do a redirection where a user enters their user name in the URL and redirects to their profile, like this: example.com/joe redirects example.com/profile.php?username=joe I want to do it like Facebook does | |
Hi friends, In my site, simply I want to save the configuration data, site details in the php file. For an example, in vBulletin they are using config.php file to save all the general details. // ****** DATABASE TYPE ****** // This is the type of the database server on … | |
i'm not sure what is the syntax error. I try in this source code in dreamweaver, it shows line 8 is a syntax error. $destination = realpath(‘../../app/webroot/uploads/excel/’); App::import(‘Vendor’, ‘php-excel-reader/excel_reader2’); //import statement class UploadsController extends RealTimeAnalysisAppController public function upload() { $destination = realpath(‘../../app/webroot/uploads/excel/’); //Set your upload path here if(isset($_FILES['Upload']['XLS_File'])); $ext = … | |
Hello I am build pagination but its give me stuck. **admin_cont Controller Page** $this->load->library('pagination'); $config['base_url'] = "http://localhost/Job-portal-CI/admin_cont/search_me"; $config['total_rows'] = $this->db->get("admin_emp_job_description")->num_rows(); $config['per_page'] = 2; $config['num_links'] = 20; $this->pagination->initialize($config); $data['records'] = $this->db->get('admin_emp_job_description',$config['per_page'],$this->uri->segment(3)); $this->load->view('admin_jobseeker/search_lists',$data); **View Page** <?php echo $this-> table-> generate($records); ?> <?php echo $this->pagination->create_links(); ?> **Problem** Its give me Link but when … | |
I have been having trouble getting a result from this wondered if someone may be able to help me. I am trying to decode/parse this json output from a URL so that I can extract "result" and "success" and place them into variables. So far I cant even parse the … | |
Just upgraded to Firefox 30.0 and sessions no longer seem to work. The cookie just doesn't set. Using `$this->session->set_userdata()` Not using Firebug, although reading on the web indicated it has been a culprit with similar issues. | |
-->>Hello,My problem is how will a trigger a php Function based up on Change event of a listbox value. My Page has the Field as those in the screenshot below the code: So when a driver is selected on the list all his/her details should be populated in the remaining … | |
i tried to mimic the code of a tutorial for a live updatable table....dat is connected to the MYSQL server .... i copied it and edited it a bit...but its not working... i was not able to understand the code so dont knw where the problem is here is the … | |
hi all! it might look similar to previous question but actually different.. i'm trying to calculate stock value. for this i want to use "average last purchase value" of item. like if closing stock is 14 and purchase detail is like this 2014/2/2 15pc @ 38000 2014/2/15 5pc @ 36000 … | |
| 3.0 is out. Anyone used it? Is it worth migrating to... Is it stable? |
Hallo, I wonder how to create a test maker with a php script. I have an elearning project and I have to create a test maker quiz project. Such as multiple choice and fill-in the blanks. How any free script like that? Thanks in advance. Davy | |
Hello, I try to input messages like: <p>An Online learning platform to connect student in South East Asia to learn Chinese Mandarin with Professional Native teacher LIVE from university in China, combined with flexible scheduling, multimedia learning materials, and certification</p> <p><img src="file:///C:UsersToshibaAppDataLocalTempmsohtmlclip1�1clip_image002.jpg" style="height:235px; width:346px" /></p> Unfortunately the all pictures is … | |
As seen in image, I need a copy of the remove selected ( marked in red ) to be available as a button down. ( it will remove the top item + send mail to next ). How is it possible to have a button point to same code. http://imgur.com/5bFC4dT |
The End.