39,388 Topics

Member Avatar for
Member Avatar for Venter

hi i'm new to Code Igniter here is my controller for signup & login.i'm having a little problem while working with sessions.when i cal logout function it was redirecting the page to login page with out destructing sessions. after doing logout when i press back button it was displaying the …

Member Avatar for cereal
0
5K
Member Avatar for noahwilson

Hi friends, I want to make my website's product-detail pages title dynamic. so help me how can i create this in php. please share your suggestion. thanks.

Member Avatar for paulkd
0
389
Member Avatar for kliss.aemecrespin

hall guys! i have a static website that is not able to display news,music video and audio, because i want them to be displayed on page from database even allowing comments from audience. can please help me how i can do it step by step from creating a database,table retreive …

Member Avatar for paulkd
0
85
Member Avatar for bfitzgerald

Hi Guys I'm using a form which sends data to a php file so that ti can be sent to a database. However some of the data passed are dates for the start, end of teh event and when sign ups expire. I want to stop the from data been …

Member Avatar for bfitzgerald
0
200
Member Avatar for 68thorby68

I have a small site that is not too data intensive, but requires the user to login to access pages that handle data and pages that interact with the database. To enhance the site security I am hoping to that I do not need to use cookies, instead handle all …

Member Avatar for Webville312
0
135
Member Avatar for Webville312

Hullo, I am working on sam php code that captures users' details, depending on their choice. If the user selects "No", then the products will not be delivered to him, and so; the form collecting details will not be displayed. However, if he selects "Yes" option, then the form to …

Member Avatar for Webville312
0
105
Member Avatar for bfitzgerald

Hi Guys I have been asked to make an online sign up sheet system by my boss. I have almost finished but have encountered a problem. To sign up to the created activity I have use a previous form to add a "page name" which is then used to generate …

Member Avatar for bfitzgerald
0
222
Member Avatar for yy886

It seem to be I have a problem on that code as this only go though the first one and then stopped...so other file extension is not allow... //Check the file extension if (($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/doc") || ($_FILES["file"]["type"] == "application/docx") || ($_FILES["file"]["type"] == "application/ppt") || ($_FILES["file"]["type"] …

Member Avatar for yy886
0
290
Member Avatar for mmonclair

I have a Drupal 7 question, related to extending a theme's regions. I've been to the official Drupal site, where this has been batted around with no solutions, on StackOverflow and a few other places. I'm continuing to troubleshoot it, but haven't hit upon a solution yet. I set up …

Member Avatar for mmonclair
0
188
Member Avatar for yy886

The connection and setting are fine as I can insert things into the same db with different tables. Long story short below is the value that I want to insert into the db but it give me no error and nothing insert. I have use the echo and checked every …

Member Avatar for pritaeas
0
285
Member Avatar for akkbkht

Hello. I have tired too much ways to overcome this issue but can't find a way yet. I am making a user defined function, when click a "And new row", This function will be called and a new row will be added. There in first cell, a dropdown menu will …

Member Avatar for pzuurveen
-1
289
Member Avatar for ak47carbon

i want to redirect all .html file in subdirtories into root directory with .htaccess file,it does not manner that how much directory is complicated or long. example1: http://www.example.com/folder/folder2/folder3/folder4/main.html to http://www.example.com/main.html example2 http://www.example.com/folder/manyfolder/main.html to http://www.example.com/main.html

Member Avatar for pritaeas
0
170
Member Avatar for mogaka

function addUsers($params) { $fnameval = $params->getParam(0); $fname = $fnameval->scalarval(); $mnameval = $params->getParam(1); $mname = $mnameval->scalarval(); $lnameval = $params->getParam(2); $lname = $lnameval->scalarval(); if(mysql_query("INSERT INTO users(fname,mname,lname) VALUES('$fname','$mname','$lname')")){ $mess="data and synced successfully";} else{ $mess="data saved but not synced as required";} $response = array('response' => new xmlrpcval($mess, 'string')); return new xmlrpcresp(new xmlrpcval($response, 'struct')); } …

Member Avatar for mogaka
0
483
Member Avatar for mathewmoozh

How can i encrypt the php code so that i can block the re-editing of files.I have tried some, but not working thanks in advance

Member Avatar for pritaeas
0
120
Member Avatar for rjony321

Hello Masters, I need help.I can't apply **WHERE** Condition clause in my Multiple selected checkbox value.like If i select 'accounitng' or 'php' then i want here use a condition like **WHERE** **("skill", "php")** here, skill table field name and php checkbox selected value.If i select a category 'PHP' so all …

Member Avatar for diafol
0
183
Member Avatar for OsaMasw

Hello guys, today when I was try to install Joomla on my server it prevents me from continue because of Magic Quotes GPC = ON , so I red about this and saw many sites and PHP iteself recommended to shut this feature, my question is in my projects I …

Member Avatar for OsaMasw
0
247
Member Avatar for davy_yg

How to find the following information using php? Server Information Server OS Linux PHP Version 5.4.8 Server Handler fpm-fcgi Platform windows Admin Information IP Address 202.93.141.94 Browser Mozilla Firefox Version 20.0

Member Avatar for davy_yg
0
205
Member Avatar for davy_yg

Hello, I create this backend system. When someone click check box then press apply. This script suppose to delete all rows that are checked. How to do so? It seems like the script are incomplete. <?php $i=0; while ($data = mysql_fetch_array($result)){ $result2=($i%2)?'#DFA09D':'white'; echo "<tr bgcolor='$result2'>"; echo '<td><input type="checkbox" name="vehicle" value="Bike"></td>'; …

Member Avatar for davy_yg
0
150
Member Avatar for pranavsai3

<?php session_start(); if(isset($_SESSION['is_user_logged_in'])) { $x=mysql_connect("localhost","root",""); $y=mysql_select_db("online_book_shop",$x); $n=$_SESSION['id']; echo "<html> <body background=modern-background-design.jpg> <div align=center> <h1 style=text-align:center;font-family:fantasy;color:red;font-size:36px> COMPLETE BOOK DATABASE</h1></br>"; $z=mysql_query("select * from books order by serial asc"); echo"</br><br/><br/><br/><table border = 4 bgcolor=white align=center>"; echo"<tr> <td> Serial number</td> <td> Name </td> <td> Price </td> <td> Quantity remaining</td> <td> Purchase</td> <td> Add to …

Member Avatar for broj1
0
129
Member Avatar for atikah8890

Hi. I'm creating a short-answer quiz. The questions has one text area each for answer. However, for each question there are several answer suggestions in the database. I'd like to compare the value post by the text area with the suggestions. $answers = explode(" ", $ans[$arr_ind]); //$ans[$arr_ind] holds answers from …

Member Avatar for atikah8890
0
183
Member Avatar for jethaya

i have multiple users who need to update a table into mysql with a csv file they will need to do this by pasting the csv file into a text area on the website the first row of that file contains the name of each feild and i need to …

Member Avatar for diafol
0
462
Member Avatar for vizz

How to create website like, [URL="http://www.paktvlive.com/"]http://www.paktvlive.com/[/URL] [URL="http://www.freetv-watch.com/"]http://www.freetv-watch.com/[/URL]

Member Avatar for joopdoop1
0
119
Member Avatar for anand_potukuchi

I wanyt to create a progress bar for my website in which a user can skip registration steps and fill them afterwards. Like supposeuser has to compulsorily foll step 1 & 2 of the reg process but can skip the 3rd and do it later. On his dashboard after he …

Member Avatar for phfilly
0
321
Member Avatar for yy886

mysql query problem Sample data of my mysql. id | id2 | sender | recipient | senderread | recipientread | Title 31 | 31 | A177 | B213, A256| yes | yes | Question123 32 | 31 | A256 | A177 | yes | no | Answer456 33 | 33 …

Member Avatar for diafol
0
353
Member Avatar for rjony321

Hello Masters, I am new in Codeignitor but i enjoy here.I have one problem like, I want only display value comparison last date *less then or equal* current date. **Last date <= current** date.here last date mention by user.If last date *greater then current date* then those value auto delete …

Member Avatar for cereal
0
6K
Member Avatar for kirtan_thakkar

I want to add text string at the end of the text file. I used "a+" for it but it delete all the content and than enters text to it. So please help.

Member Avatar for msnadz
0
3K
Member Avatar for cgull

Showbiz carousel and cycle problem Hello, I am looking for a jquery guru that can help with a plugin that I bought. The developer of the plugin does not answer me and I need to go live next week. The plugin is called: Showbiz Carousel. It is a carousel for …

Member Avatar for LastMitch
0
393
Member Avatar for ultramel

hi I have the following which brings up the print window for my page, however, I would only like to print the "echo" form data which is being displayed and not the entire page. any suggestions would be greatly appreciated :-) Thank you <script> function printpage() { window.print(); } </script> …

Member Avatar for almostbob
0
206
Member Avatar for PF2G

Hi, i'm trying to do clean url's using .htaccess but i'm having problems. Here i have my .htaccess: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^([a-z]+)\/([0-9]+)\/?$ parameter_letter_and_number.php?param=$1&param2=$2 [NC] RewriteRule ^([a-z]+)\/?$ $1.php [NC] RewriteRule ^([0-9]+)\/?$ parameter_number.php?param=$1 [NC] RewriteRule ^([0-9_]+)\/?$ parameter_number_and_underscore.php?param=$1 [NC] </IfModule> Here is my parameters page so i can test: <!DOCTYPE HTML> …

Member Avatar for NardCake
0
447
Member Avatar for kamil.metkowski

Hi I'm doing a search function in PHP from an sql database. It was working before and i have no idea what happend but when i search now no results are found, but before the search it shows all the records, so there is a connection with the database. I …

Member Avatar for kamil.metkowski
0
189

The End.