39,316 Topics

Member Avatar for
Member Avatar for diafol

Hi all, Trying to get my head around OOP at long last. Finally got to the beggar on my to-do list. Just a quick question: I was looking for a way to persist the object across pages, but on further research, I got the idea that this is a bad …

Member Avatar for Stefano Mtangoo
0
139
Member Avatar for Amr87

Hello Everyone, I have a plain joomla template and I have articles that I want to list on the main the page , but they must take an exact style in displaying , I have an example of what I mean , I just need to know how I can …

Member Avatar for Stefano Mtangoo
0
67
Member Avatar for yaci91

Hi! I'm trying to show 5 random images from my database and i seem to be stuck. Would appreciate some help or tips. I obviously dont want any duplicate images. Have tried to figure it out by googling butt my head hurts too much xD Got thumbnails for the picture …

Member Avatar for diafol
0
1K
Member Avatar for Danny159

Hey, I have a textfield and before I insert it into the database I run the function nl2br(); It works grand add's <br>'s at brake lines... However when I output it back into a textfield to edit it and update the record it had the <br>'s? Not a brake line... …

Member Avatar for diafol
0
121
Member Avatar for Blaze41

Hi all, I have two questions about retrieving questions from another website. I read on this forum you can use cURL to obtain a websites code, is there a way to narrow down that code and only display a certain part of it. For example I want to use the …

Member Avatar for chrishea
0
132
Member Avatar for Stunt

I'm looking for a very simple forum script such as the forum scripts they use on Ning.com (ex: [url]http://handofwin.ning.com/forum[/url]). Where can I get a forum script such as that?

Member Avatar for maxlipman
0
568
Member Avatar for NoviceCoder37

Hello, I have created 3 tables: trainer, course, trainerCourses. Table trainer has the following fields: trainerID(PK) , trainerName, email and a brief summary. Table course has the following fields: courseID(PK), courseDate and trainerName(FK) Table trainerCourses has the following fields: courseID(FK), trainerID(FK) and attendanceStatus (int where 0 is absent and 4 …

Member Avatar for diafol
0
149
Member Avatar for noahshoa2

Hey, OK, so this might be something, but I seriously cannot find how I went wrong here. This is my script: [CODE] <?php $_POST['submit']; $name = $_POST[$name2]; echo "It is going to database <b>db_".$name."</b>"; ?> <br> </br> <form action='' method='POST'> <input type='hidden' name="Example"> <input type='submit' value='What db is it going …

Member Avatar for zubaircs
0
112
Member Avatar for Danny159

Hey, I need some help, I need my script to loop through a directory of images and only delete images that contain "t.jpg"... Here is my looping script... [CODE] <?php // First we need to loop through the files.... $image_dir = $_GET['dir']; if(!opendir($image_dir)){ echo error_msg("Ooops... This Album contains no images"); …

Member Avatar for Danny159
0
131
Member Avatar for twistercool

I am a CMS Developer but am not well in PHP. So I might need your help here.. error: Notice: Undefined variable: handler in C:\wamp\www\TESTING\components\com_rsappt_pro14\rsappt_pro14_front_desk.php on line 34 source of error: [CODE]defined( '_JEXEC' ) or die( 'Restricted access' ); // Load configuration data //include( JPATH_SITE . "/administrator/components/com_rsappt_pro14/config.rsappt_pro.php" ); include( JPATH_SITE."/administrator/components/com_rsappt_pro14/config.rsappt_pro14.php" …

Member Avatar for cwarn23
0
250
Member Avatar for TheHaxx0r1215

The code I used isn't working with sql, and not sending a mail message, but it's perfectly formed(Or not)? Please help! [CODE]<?php require_once('recaptchalib.php'); require_once('config.php'); $privatekey = CAPTCHA_PRIVATE_KEY; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens when the CAPTCHA was entered incorrectly die ("The reCAPTCHA wasn't …

Member Avatar for chrishea
0
206
Member Avatar for bbizzl

Hey All, Been banging my head into the wall on this one. I have 2 tables one for users 'myMembers' and one for products 'products'. Each table has a auto increment id. The myMembers id is the user id and the products table id is for the product id. I …

Member Avatar for chrishea
0
215
Member Avatar for twistercool

error 1: Trying to get property of non-object in C:\wamp\www\TESTING\components\com_rsappt_pro14\rsappt_pro14_user_gad_fd.php on line 83 error 2: Trying to get property of non-object in C:\wamp\www\TESTING\components\com_rsappt_pro14\rsappt_pro14_user_gad_fd.php on line 86 error 3: Undefined index: ppsubmit in C:\wamp\www\TESTING\components\com_rsappt_pro14\rsappt_pro14_user_gad_fd.php on line 327 (This is a joomla module error) source: [CODE]<?php defined( '_JEXEC' ) or die( 'Restricted …

0
71
Member Avatar for Mi-Dia

On a project I am doing I am making a Feed Flow of recent updates. Problem is I cant find out to overcome the following. There are two tables, shouts and journals. what I want to do is pull records from them both and print them out with the newest …

Member Avatar for diafol
0
66
Member Avatar for Joshua Kidd

Hello, I have created a login page for my users. And it seems to not be working properly. [CODE] <?php include "inc/header.php"; ?> <div class="ContentHold"> <?php include "inc/globals.php"; if (isset($_POST['login'])) { $username = addslashes(strip_tags($_POST['username'])); $password = addslashes(strip_tags($_POST['password'])); if (!$username||!$password) { ?> <div id="NotifyUI"> Please Enter a Username and Password. </div> …

Member Avatar for Joshua Kidd
0
181
Member Avatar for chris666uk1

hi i hope some one can help me with this i am a real php noob i am trying to create a graph using mysql data with jpgraph it is going to show 7 temputures over a week so date at bottom from mysql with the diferent color lines showing …

Member Avatar for diafol
0
42
Member Avatar for lunacyfoundme

Im trying to pull two different account numbers from an ms query on an Oracle DB via ODBC with PHP. The problem is that two of the columns have the same name, e.g. ACCOUNT_NO [CODE]SELECT V_GUARANTORS2.ACCOUNT_NO, V_GUARANTORS2.GUARANTOR_NAME, V_GUARANTORS2.LOAN_NO, CURRENT_LOANS.ACCOUNT_NO, CURRENT_LOANS.LOAN_PRINC, MEMBERS.SHARES FROM LOOK.CURRENT_LOANS CURRENT_LOANS, LOOK.MEMBERS MEMBERS, CU.V_GUARANTORS2 V_GUARANTORS2 WHERE CURRENT_LOANS.ACCOUNT_NO …

Member Avatar for diafol
0
118
Member Avatar for whiteyoh

Hi all, I need to figure out how to validate the contents of a file. I know how to do it via mime and extension, but i could still upload, for example, a php file that would satisfy those checks. Any ideas? regards paul

Member Avatar for diafol
0
101
Member Avatar for morrisproject

I am using a dreamweaver form, which has some buttons on it. The button id is stored in the database as the conveyor number. When updating records i want to be able to click a button, which will use the button id to call for the correct record in the …

Member Avatar for morrisproject
0
133
Member Avatar for ken.atienza

I use the top table as a cart for 1 customer, and the bottom table for order. I wanted to get the productprice, productname, productqty and put it into orderdetail field. Help and suggestions are very much appreciated. Thanks in advance. *attached a pic of the tables.

Member Avatar for foreshadowed
0
72
Member Avatar for skanda_shekhar

Im trying to create a login page. I am using ob_start. I am still getting the following errors: Warning: Cannot modify header information - headers already sent by (output started at xxxxxxx) in xxxxxxx on line 57 Warning: Cannot modify header information - headers already sent by (output started at …

0
42
Member Avatar for SmallCucumber

hi,thank you for your attention.:P I am thinking of if there are some thing in php like event or trigger to inform another php file, :idea: that I'v just insert something into the mysql database . thank you for giving me some advices~ :)

Member Avatar for SmallCucumber
0
234
Member Avatar for FBG

I have a problem creating a commentbox in PHP. I've created this commentbox from a simple tutorial and created a database with MySQL and it works fine. The only problem is, the table won't expand when more text than the quantity that can fit on 1 row is send. Instead, …

Member Avatar for jcbphlip
0
248
Member Avatar for Nguafack

Fatal error: Call to a member function query() on a non-object in C:\wamp\www\socials\chapter11\registry\mysqldb.class.php on line 240 here is the code: [CODE] <?php /** * Database management / access class: basic abstraction * * @author Michael Peacock * @version 1.0 */ class Mysqldb { /** * Allows multiple database connections * …

0
79
Member Avatar for mshahidali

Earn Extra money from your home by doing ad posting jobs with Virtual online Jobs. 101% guarantee of income of your work. Earn per ad post you did. For More info and advertise your website visit: [url]http://adf.ly/2yWrC[/url]

0
140
Member Avatar for wolfgangcs

Since this is only one customer, how can I carry this $total from the submit button to the next page for INSERT into database punches page [CODE] <p>Is this the correct total of punches?</P> <form action="run_punches.php" method="post" > <?php $small = $_REQUEST['smallamount']; $medium = $_REQUEST['mediumamount']; $large = $_REQUEST['largeamount']; $total = …

Member Avatar for wolfgangcs
0
165
Member Avatar for dr.4030

i wanna create news page in my project & i have to many newsletters for showing but i wanna show the certain numbers of newsletters in each page for example in each page i want to show 4 number of them. nevertheless i wanna create <next> page numbers <previous> for …

Member Avatar for diafol
0
25
Member Avatar for sujitrulz

Hi fellas i am in desperate need of fototrix or photofunia type of script i have already googled many thing but couldnt real one which could solve my problem..Help Pls..

0
39
Member Avatar for aci.herobo

I am trying to set up a form for potential students to give their information for a language academay. When I tested the form with <input type="text" name"Nombre"> type of fields everything went fine. As soon as I tried to introduced drop down menus or typ radio elements the data …

Member Avatar for antonioatt
0
213
Member Avatar for thecameraman

hello, I am trying to learn to create a login and log out profile. I am fairly new to php and web coding in general. I know the basics. I found a tutorial that logs you into a profile and then logs you out. I want to be able to …

0
120

The End.