39,320 Topics

Member Avatar for
Member Avatar for asaidi

Hi i m trying to save a file pdf to a location : xampp\htdocs\cake\app\webroot\files or any where in my pc i have this code... public function upolad() { $filename = ''; if ($this->request->is('post')) { // checks for the post values $uploadData = $this->data['Pod']['pod']; if ( $uploadData['size'] == 0 || $uploadData['error'] …

Member Avatar for cereal
0
220
Member Avatar for websponge

I have the below code that grabs all the data I need, but as there are duplicate names in each row, I only want to display this once as a heading, and then display the array. <?php echo "<h1>Results Summary</h1>"; //TABLE RESULTS $psba = $_POST['psba']; $con = mysql_connect("localhost","root",""); mysql_select_db('project', $con) …

Member Avatar for minitauros
0
179
Member Avatar for aVar++

My teacher needs to be able to view my databases in PHPMyAdmin however I am running on local host. How could I make it so he can connect to my localhost on another computer?

Member Avatar for broj1
0
277
Member Avatar for vicky one

Hello every one i am seeking a user of joomla to help me a little. During joomla webinstaller database mssql is not connected it gives number error, now what to do??? Why mssql is not connected m using xammp server...

Member Avatar for BadManSam
0
70
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
182
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
293
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
227
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
293
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
211
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
367
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
169
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
522
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
178
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

The End.