39,316 Topics
| |
Hi all, Im currently working on a php script that adds information to a database I created. I know the php script works because when i run localhost/signup.php?Name=test&User_ID=1 it works, however I cannot run the script from another computer. I have tried **x.x.x.x:3306/signup.php?...** and **x.x.x.x:8080/signup.php?...** however none of this seems … | |
Hello! The main idea is that i want to set the variable for screen resolution of the user and pass it to php to manipulate her. How can i achieve that? | |
Hi All, I have a script that works fine for transferring files from one server to another when I use HTTP protocol. (When I use a test site that is.) Here is the script, working on test site with HTTP: // Navn på faktura der skal hentes $pdf_faktura_navn = 'Microsoft_sporgeskema.pdf'; … | |
Hello, I have a csv file of about 200 rows and i have to create a xml file for each of them. The template will be the same for all expect two line which will be changed and will be replace the the data in the rows. Any idea how … | |
i created a simple project usin firefox...bu when i browse it in it the template was destroyed..y is that? what shall i do? | |
Hello everyone! I am new to php language. I want to know if we install xammp server on our pc . Is there any need to install php 5.5.1 or any other version through php.net and mysql for data base or simply start work on the editor in simple php … | |
Chanced upon a [youtube tutorial](http://www.youtube.com/watch?v=NJZBl5KXdXc) and decided to try out. When user hovers over to the image, he should be able to click on "Toggle avatar image" choose an image that he wants to change to. However, the "browse" and "upload" buttons are not appearing when I clicked on "Toggle … | |
Most annoyingly I cant get this to work, I made a sample table where there will be duplicate entries in some of the fields, and I need to display then all. table looks a bit like this id county city phonenumber the id is unique as is the phonenumber, but … | |
i want to learn Best Frame work for Web Development , plz tell me which framework is best for all kinds of secure 100% & modern web development . a some toturial site if you have , than plz share Thanks | |
Which framework is the best to develop a mobile application using database connection? | |
A PHP Error was encountered Severity: Notice Message: Undefined index: id Filename: controllers/event.php Line Number: 215 function addParticipant() { $data['event_id'] = $this->input->get('id', TRUE); $event_detail = $this->EventModel->getEventDetail($this->input->get('id', TRUE)); $data['event_title'] = $event_detail[1]; $this->loadpage($data, 'people', 'Add participants | BCIPN'); } | |
I have posted code for my index() action from TestsController. To tell you what it does is that I login my username and password on that action. Since if you're only going to input the username and password, they are the only data that can go through $this->request->data. Now I … | |
Hi, I just downloaded TinyMCE WYSIWYG, and I am doing an insert query into MySQL using PHP. Everytime I submit the form it returns false. and if I toke out the textarea everything goes ok. I am pretty sure it's TinyMCE. Have any of you came across this problem, am … | |
Hello I am trying to create a simple gallery CMS. All the pictures will be saved in uploads/ folder in the root of Codeigniter. Looks like my errors have to do with php programming. I am trying to print the pictures gallery to the screen: controllers/upload.php <?php class Upload extends … | |
Is it possible to use Kohana ORM with MySQL AND Oracle DB? More wider questions is is it possible to use two different databases (RDBMS) with Kohana? | |
How can i make a single login form for purchaser , seller , distributer , franchiser . All have diffrent right , franchise can se all activities of distributers , seller & purchaser bt a distributer cant se franchiser data . Distributor can see only seller & purchaser . And … | |
Hi, Someone suggest me to use Netbeans to debug code in php. I have installed php, yet do not know how to detect errors that I have using Netbeans. Does anyone know how to use it ? I try debug -> debug file -> Run arguments (empty) -> (x) php … | |
I have the following function: function rank() { $sql = "SELECT * FROM applicant_details"; $results = $this->db->query($sql)->result(); $sql3 = "SELECT * FROM job_advert"; $job_advert = $this->db->query($sql3)->result(); foreach ($results as $applicant) { $applicant_age = $applicant->age; $applicant_id_number = $applicant->id_number; foreach ($job_advert as $advert) { $job_title = $advert->job_title; $age = $advert->age; if ($applicant_age … | |
Hi all, I have to find out to write a function that can serve PDF documents (invoices) in the browser window. My challenge is that the PDF fiels is on another server, which I do have access to. Can I somehow just create a link on the site, and then … | |
Good Day everyone im having trouble in script right now basically im trying to make an if statement that will assign rate base on the destination, branch ,service and vehicle. which is working fine just a moment ago but when i add another array for another destination it seems that … | |
If got a problem in a mysql select string. I get some data from a mysql table and want use some data to pull data from another table. When I use static (i typed it in) it works good but when i use the data that i got from the … | |
Here, i've built a script that gets the time a user accessed the login page and stores it in a session with the user's i.p address and when next the same user accesses the login page, if the time difference is less than 5 seconds, the script wil display a … | |
Can any Body Tell me how can i genrate E-pin for MLM web site which makes payment secure from customer to admin & how can i transfer these pin from customer to customer in secure way | |
When i m making contact from with database connection, 2-3 times it is executing properly but ,after that when i execute it again ,thn it is opening only multiple tabs in firefox .wht should i do nw plz help my web server is wamp | |
Hi, Installing a new script.... Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 5 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 … | |
Hi, I have been trying to integrate gravatar to my login system but it doesn't seem to work. Here is the code: <?php include("include/session.php"); $connectmysql = mysql_connect("localhost", "********_login", "*******"); mysql_select_db("********_login", $connectmysql); ?> <html> <?php $email = mysql_query("SELECT email FROM blog_users WHERE user = '$session->username', $connectmysql"); $default = "mm"; //This returns … | |
I wrote code in notepad and gave the extension as hello.php but it didn't change to web and so it did not run. Secondly ,I wrote code in Visual Studio asp.net web application <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="phphello._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" … | |
Okay so I've been going through my HTML lately and I discovered that I was still using the <base> element to define my website's base path. I want to get rid of that - I would like to be able to use relative URLs all the time, without having to … | |
When i Open My Browser This Error Accourd . "Failed to execute query! ( -1)" plz help me to solve this issue ( UPDATE `name` SET `parentID`=[value-1],`id`=[value-2] WHERE 1) <?php /** * Handles creating and/or printing a Tree-Like HTML output, complete with * all necessary CSS styles. * * Assumes … | |
I am new to PHPUnit & unit-testing in general, I have got this problem, thankfully I can sense, the answer is out there, maybe with everyone has ever done their first tests. Here it goes: I have been trying to find tutorials for unit-testing with PHPUnit. And, so far all, … |
The End.