39,388 Topics

Member Avatar for
Member Avatar for urbanthistleuk

Good Morning All, I need some help and guidance on a project I'm working on, I am having problems with the following code below, I have been trying to figure it out for days and cannot see anything wrong with it, I am getting the following error when processing the …

Member Avatar for urbanthistleuk
0
237
Member Avatar for daniel.conlinjr.1

Is there a way when a login button is clicked that it will display a hover over page and show the login form and then once it's logged in then it goes back it if it errors then it displays an error message with out redirecting or reloading the page?

Member Avatar for jkon
0
80
Member Avatar for renierdbruyn

Hi... I got the following: function solution($A) { if (is_array($A)) { if ($b = preg_grep("/\-1/", $A)) { foreach ($b as $key => $value) { $A_count = count($A); $remove = ($A_count-1) - $key; $v = $A[$key]; unset($A[$key]); for($i = $key+1; $i < $A_count; $i++){ unset($A[$i]); // to remove the element after …

Member Avatar for renierdbruyn
0
282
Member Avatar for amulet_john

Hello everyone ! How to make conditional messagebox in PHP? How do I do it? Like for example, in deleting record inside the database. The user will be asked to input costumer_ID (there should be a button named "search") if the user pressed the button search, it will search through …

Member Avatar for pzuurveen
0
209
Member Avatar for prakash_1

Parse error: syntax error, unexpected end of file in D:\xampp\htdocs\metrimon\sections\searchbox.php on line 80

Member Avatar for pritaeas
0
80
Member Avatar for uvray90

Hello members.. I needed to implement dynamic graph solution in PhP and got this wonderful article which serves my purpose. [URL="http://www.kidslovepc.com/php-tutorial/php-dynamic-chart-plot.php"]http://www.kidslovepc.com/php-tutorial/php-dynamic-chart-plot.php[/URL] I played with it as they told me to but did not get any output from the samples :'( I tried the installation test and its showing that everything …

Member Avatar for shadia_1
0
347
Member Avatar for happygeek

In the newly published Imperva 'Hacker Intelligence Initiative Report' the in-the-wild modification and exploitation of PHP SuperGlobal variables has been investigated. This particular external variable modification weakness has been described as being where a PHP application does "not properly protect against the modification of variables from external sources, such as …

Member Avatar for Gaetane
4
615
Member Avatar for Nadera

Hello, I am trying something new and I do not know how to do it. I have table that list all the expenses claim, which these expenses needs to multiple approvals from different managers, where it will be like this: <?php $connect = mysql_connect("localhost","root","***") or die ("Could not connect"); mysql_select_db("expenses") …

Member Avatar for Gaetane
0
152
Member Avatar for davy_yg

controllers/admin/clogin.php <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* Author: Jorge Torres * Description: Login controller class */ class Clogin extends CI_Controller{ function __construct(){ parent::__construct(); } public function index(){ // Load our view to be displayed // to the user $this->data['assets'] = array('logincss' => base_url().'assets/css/login.css', 'logo2' => …

Member Avatar for dany12
0
134
Member Avatar for dany12

I would like some help with my connect class.This class is created by me it is my way of thinking so i would like to know why this class dossent get my variables and connect proprely to mysql. the code <?php /** * Exp:Connect to database in oop style @params …

Member Avatar for pritaeas
0
1K
Member Avatar for Sanjay_6

I am new to Joomla. i have to select one theme from these two themes. Rocket theme - http://demo.rockettheme.com/?template=acacia Nemo White Premium Joomla Template - http://themeforest.net/item/nemo-white-premium-joomla-template/5507845?WT.ac=category_item&WT.seg_1=category_item&WT.z_author=ThemeRox but exactly i don't know which parameters i have to consider for selecting theme like Framework. I am not sure how to check which …

Member Avatar for dany12
0
176
Member Avatar for shelexelex

I have been trying to do this and i dont know why exactly its not working.. Here's the idea. I want to receive the name and age of a person via POST method and then put it in an array dynamically, so that as more names and ages are added, …

Member Avatar for Gaetane
0
351
Member Avatar for maxlipman

I need a lost password script for my existing login script. I need one that sends an email to the person once they enter their username. It is in a database with other things but the tables name is "profiles". The rows in that table are "id" "email" "username" "password". …

Member Avatar for pritaeas
0
619
Member Avatar for shrikanthnk

Hi below code prints tempnum correctly but not tempname. Kinly look into this. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".mylinktempnum").click(function(){ alert($(this).attr('href').match(/tempnum=([0-9]+)/)[1]); *alert($(this).attr('href').match(/tempname=([a-z]+)/)[1]);* }); }); </script > </head> <body> </body> </html> <?php <a class=\"mylinktempnum\" href=\"home.php?tempnum=$num&tempname=$name\"></a> ?>

Member Avatar for diafol
0
198
Member Avatar for Whilliam

Hi guys, I want to make a website that notifies a user whether an upload in youtube (someone he subscribed to) or a new article from yahoo has been published. I want to know if that's possible, without needing to contact anyone from youtube or yahoo. This is just a …

Member Avatar for dany12
0
65
Member Avatar for shrikanthnk

Hi, getting error as This page contains the following errors: error on line 2 at column 1: Extra content at the end of the document Below is a rendering of the page up to the first error. for following code. please help me to resolve this <?php header("Content-Type: text/xml"); $xmlBody …

Member Avatar for shrikanthnk
0
364
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
137
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
372
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
126
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
248
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
346
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
142
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
310
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
170

The End.