39,316 Topics

Member Avatar for
Member Avatar for Malymieczek

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 …

Member Avatar for broj1
0
181
Member Avatar for andreiviziru

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?

Member Avatar for broj1
0
317
Member Avatar for klemme

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

Member Avatar for klemme
0
292
Member Avatar for shaqib

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 …

Member Avatar for pritaeas
0
72
Member Avatar for lloydsbackyard

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?

Member Avatar for lloydsbackyard
0
108
Member Avatar for vicky one

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 …

Member Avatar for broj1
0
203
Member Avatar for Rachael_1

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 …

Member Avatar for veedeoo
0
224
Member Avatar for websponge

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 …

Member Avatar for websponge
0
182
Member Avatar for best4earn

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

Member Avatar for jkon
0
291
Member Avatar for Myronz
Member Avatar for Bijay_1

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'); }

Member Avatar for cereal
0
209
Member Avatar for kevinyu

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 …

Member Avatar for kevinyu
0
363
Member Avatar for FarrisFahad

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 …

Member Avatar for FarrisFahad
0
1K
Member Avatar for davy_yg

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 …

Member Avatar for veedeoo
0
163
Member Avatar for kumold

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?

Member Avatar for kumold
0
168
Member Avatar for best4earn

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 …

Member Avatar for kevinyu
0
326
Member Avatar for davy_yg

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 …

Member Avatar for kvprajapati
0
80
Member Avatar for renierdbruyn

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 …

Member Avatar for broj1
0
211
Member Avatar for klemme

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 …

Member Avatar for pritaeas
0
517
Member Avatar for ehpratah

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 …

Member Avatar for ehpratah
0
125
Member Avatar for Robonte

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 …

Member Avatar for bradly.spicer
0
350
Member Avatar for Olagsfark

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 …

Member Avatar for pritaeas
0
172
Member Avatar for best4earn

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

Member Avatar for pritaeas
0
160
Member Avatar for Namrata Patel

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

Member Avatar for pritaeas
0
64
Member Avatar for L-D

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 …

Member Avatar for pritaeas
0
176
Member Avatar for BadManSam

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 …

Member Avatar for cereal
0
146
Member Avatar for Iamateur

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

Member Avatar for JorgeM
0
245
Member Avatar for minitauros

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 …

Member Avatar for minitauros
0
271
Member Avatar for best4earn

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 …

Member Avatar for pritaeas
0
313
Member Avatar for Clanstrom

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

Member Avatar for pritaeas
0
247

The End.