39,316 Topics

Member Avatar for
Member Avatar for urbanthistleuk

Morning All, I am having a few problems with this code below, been trying to figure out where i'm going wrong, can any one shead some light to where I may be going wrong? I keep getting a 500 Server Error, when trying to process the form Thanks <?php include('config.inc'); …

Member Avatar for urbanthistleuk
0
136
Member Avatar for dany12

Hy I want to understand what is a better approach on problem solving point of view for a php project , a framework or the mvc pattern? I would like to add that I know that both principels are quite the same but with a minor diffrence that a framework …

Member Avatar for dany12
0
368
Member Avatar for CreatorZeus

so, im editing my site and i made a blog, it worked earlier but idk why its not working now. it may be something small that im just over looking but my table of entries come up empty when i know my mysql server has 1 entry in that table. …

Member Avatar for EvolutionFallen
0
207
Member Avatar for arifkutty

i am learning to build a shopping cart, the problem is every time i hit refresh it automatically increases the quantity for the added item, and even i close the window and run the file again i see my cart there means it does not destroy the session, i will …

Member Avatar for arifkutty
0
1K
Member Avatar for sriramkarthick

How to fetch the data of 6 different tables and display them in single datagrid view ? Including the image have to displayed from table and displayed into the table?

Member Avatar for pritaeas
0
125
Member Avatar for ryy705

Hello, How can I declare an array as a class variable? For example I can do: [CODE] <?php class test { private $name = 'john'; public function getName() { return $this->name; } } ?> [/CODE] But how can I make the following work? [CODE] <?php class test { private $name …

Member Avatar for pritaeas
0
4K
Member Avatar for dany12

I need a way to store x y height and width in 4 jquery variables I was thinkink about the jquery ajax get but don't know how to achive this. This is my code <?php $result = $pdo->query('SELECT * FROM figures'); foreach ($result as $row=>$value) { echo '<li>'."My value is" …

Member Avatar for dany12
0
246
Member Avatar for abhi10kumar

How I can convert following formula in PHP? P × r × (1 + r)^n / ((1 + r)^n - 1)

Member Avatar for diafol
0
95
Member Avatar for urbanthistleuk

Hello, First of all apologies if this has been posted before, having trouble findin the answer, Let me start by inserting the code I have having the problem with, apologies if this isn't the correct way of doing things but I am still a newbie at php <?php include('config.inc'); mysql_select_db($dbname); …

Member Avatar for urbanthistleuk
0
263
Member Avatar for sugumarclick

Hi geeks, After tireless searches of online open-source inventory management, I got no successful results. My requirement is that, there are 3 levels. A least level employee request for a inventory item to 2 level. second level manager approves and sends it to first level, First level manager approves, replies …

Member Avatar for diafol
0
345
Member Avatar for jacob21

Hi, I am working on a web application having more then 5 lakhs users accessing pdf file from server. Each time a pdf is loaded from server which may consume network bandwidth(our assumtion). Need suggestions for how can we restrict only 100 or any number of users at a time …

Member Avatar for diafol
0
140
Member Avatar for sigvewinter

Is there a way to use PHP function similar_text with MySQL databases? How should I connect the database with similar_text resulting 5 similar words or less?

Member Avatar for diafol
0
66
Member Avatar for everton.retweets

Hi Everyone. Got a problem with a wp comment form plugin I am trying to design. I have created a wp comments form plugin that adds to additional fields to the main comment form in worpdress. This has been created using the default twentyeleven theme. The pluing consists of two …

Member Avatar for everton.retweets
0
306
Member Avatar for durgesh1

hello friend i like to make program in which user can selecte product and they can choose on e or more product by clicking add button now i want to save this firstly temporary all selected product when they click on add button and when user click on submit it …

Member Avatar for StephenHero
0
168
Member Avatar for GrazerC0de

Hello guys I need some php framework to help me build my web application easier and faster. Could you suggest me some of them? and the fundamentals thankyou

Member Avatar for StephenHero
0
155
Member Avatar for hemanshurpatel

Dear friends, I am working on representing data in graphical view. Initialy i decide for column chart, in which each column represent a value associated with a variable. The strange thing is that values ranges from 1 to 100000 or ever more. Basically they are representations of types of data …

Member Avatar for diafol
0
148
Member Avatar for Edwin_2

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>SYNTHESIS REACTIONS</title> </head> <body> <p> Chemistry synthesis reaction equations </p> <p>&nbsp;</p> <form name="form1" method="post" action="index.php"> <p> <label for="A"></label> <input type="text" name="A" id="A"> + <input type="text" name="B" id="B"> <label for="B"></label> </p> <p>NB: Case Sensitive - Use Real Names!</p> <p> <input type="submit" name="solve" id="solve" …

Member Avatar for GrazerC0de
0
218
Member Avatar for davy_yg

Hello, How to make my email form function in CI ? I have a contact form which consist of : 1. Your Name 2. Your Email 3. Subject 4. Messages I have read: http://ellislab.com/codeigniter/user-guide/libraries/email.html Yet, I still do not know in which file do I have to write the codes …

Member Avatar for davy_yg
0
324
Member Avatar for lonestar23

How would I go about uploading and resizing a transparent PNG, GIF image using PHP? I have a script but it only works with JPG images and of course JPG images do not support transparent images. The image also needs to maintain it's transparency when resized. Thanks in Advance!

Member Avatar for selular88
0
1K
Member Avatar for everton.retweets

Hi Everyone, Especially those who are more experienced than others. I have been teaching myself php over the last 18 months and whilst I can do what I think are basic tasks, the more difficult tasks, well, are more difficult and take much longer to complete. The reason for my …

Member Avatar for everton.retweets
0
1K
Member Avatar for davy_yg

Hello, I am trying to create a table in CI: controllers/ctable.php <?php class Table extends CI_Controller { $this->load->library('table'); $data = array( array('Name', 'Color', 'Size'), array('Fred', 'Blue', 'Small'), array('Mary', 'Red', 'Large'), array('John', 'Green', 'Medium') ); $this->load->view('tablefile'); } ?> views/vtable.php <?php echo $this->table->generate($data); ?> routes.php $route['vtable'] = 'ctable'; Result: Welcome to CodeIgniter! …

Member Avatar for davy_yg
0
248
Member Avatar for thomale

i am always finding this error. if you have an idea.please assist as soon as possible mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\validate_login.php on line 20 This is line with the problem as per text -editor(* $row = mysql_fetch_array($result);*) <?php // Grab User submitted information $email …

Member Avatar for broj1
0
440
Member Avatar for everton.retweets

Hi Everyone, I am trying to add a php post variable to one of my output error messages. The working error message is this - registerError( $hint, $hint, $error_title, ' + sign not required. International dialing code not required' ); What I would like to do is to display the …

Member Avatar for minitauros
0
360
Member Avatar for amalinaharon

I need help on my coding. I want to disable date before today, so the user cannot click on that date. please help me on this issues. Below is my coding, please let me know if there is error or something that I missed here. Thanks.

Member Avatar for pritaeas
0
52
Member Avatar for leemyers

Hello, I have some php code that calls my server via a api, this code can create a new user on my server, what i need is a signup form so uses can enter information and creat the user and after the users has been made it will send a …

Member Avatar for Muneeb2Good
0
220
Member Avatar for accra

Am using ajax to populate a drop down list, and it works fine, but i just can't find a way to make choosen.proto to work. It works on other drop-down, but not the one populated with ajax. In short, the form must allow the user to select multiple items Here …

Member Avatar for accra
0
228
Member Avatar for NewHeart42108

I am creating a form which dynamically creates a list of options to purchase. The list is generated from a database. The PHP is <?php for($i = 1; $i <= $opt_count; $i++){ $desc = $options['description'][$i]; $prc = $options['price'][$i]; $type = $options['type'][$i]; $size[$i] = '&nbsp;'; $option_text = <<<TABLE <tr> <td>$desc</td> <td …

Member Avatar for ryantroop
0
253
Member Avatar for iLikePHP

I put it all here, it shows as a paste... mind looking and maybe editing and giving me your link? :) public function getTopics($cid) { require("database.php"); $cat_id = strip_tags($cid); $query = $db->query("SELECT DISTINCT * FROM `forum_topics` INNER JOIN `forum_replies` ON `forum_topics`.`topic_id`=`forum_replies`.`reply_id` GROUP BY `forum_topics`.`topic_id` ORDER BY coalesce(`forum_replies`.`posted_on`, `forum_topics`.`posted`) DESC"); if …

Member Avatar for iLikePHP
0
261
Member Avatar for musta2060

i want to know how can make internal live voice calling Application in web site by php not calling to external phone network and not by phone number just by username in site

Member Avatar for diafol
0
250
Member Avatar for davy_yg

Hello, I have the following error whenever I try to run phpmyadmin: Welcome to phpMyAdmin Error MySQL said: Documentation #2002 - No connection could be made because the target machine actively refused it. The server is not responding (or the local server's socket is not correctly configured). Connection for controluser …

Member Avatar for davy_yg
0
113

The End.