39,402 Topics

Member Avatar for
Member Avatar for ShawnCplus

This is about as simple as it gets with menu generators. Everything is explained in the code. Note that the menu is simply an unordered list so to pretty it up it really relies on the CSS. If you don't want to write any CSS of your own here is …

Member Avatar for TonyAR
0
733
Member Avatar for jrosh

Can any one tell me about a place I can find any joomla help. Tutorials or just guidance. Thank you. Hope this goes with PHP forum since there is no separate Joomla forum.

Member Avatar for sithembisophp
0
325
Member Avatar for jjemphoung

good day! i can't send an email in php. i have this code: <html> <body> <?php mail("jjemphoung@yahoo.com","Testing","Hello","From: [email]flatOne@yahoo.com[/email]"); ?> </body> </html> when i run this the output is Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use …

Member Avatar for sithembisophp
0
182
Member Avatar for detweiller

me and my buddy got some project for our thesis. our problem is how can we make a Universal Search Page. a search page that can query any table in our database. there will be 3 inputs. 1. Key Search 2. Search Type(it will be a dropdown list that contains …

Member Avatar for detweiller
0
178
Member Avatar for Padmashri

Hello friends, Will you please tell me, [B]how can i display contents of the form on the same page of that form?[/B] Thanks to all!

Member Avatar for omol
0
87
Member Avatar for jjemphoung

good day! im an IT student. im new to php&mysql. my database engine is first myisam. everything works fine. but when i changed it into innodb(for foreign key purposes) i can't insert a data in my the parent table. i can insert data in child table though. replies are really …

Member Avatar for jjemphoung
0
106
Member Avatar for Awah Mohamed

Hey every one . I need your help . I am new to programming in php so i want to know what is 'define ' statement used for and how to use it and please give me some examples. I looked in w3schools but i did not find it . …

Member Avatar for rch1231
0
79
Member Avatar for mikecronauer

How would I build a web page similar to an online banking page that has a running account balance, only I want to make each line editable. If a specific line was edited the total would then change up through the top. (transactions are sorted by date order) How do …

Member Avatar for MooGeek
0
162
Member Avatar for Syphilis

Ahoy Sailors! So I've begone a Parent/Child based application, I've currently got both the scripts to connect to each other & send & receive text, However there are two bugs. First when the Child connects too the Parent for the first time, It works! But if you exit & start …

Member Avatar for MooGeek
0
153
Member Avatar for vinryyesha

hello,i am editing a program for e-ticketing.and i am having a hard time figuring out on how will i convert time into am/pm..in the process of buying ticket,we have to choose time departure and if its am or pm,then the problem is i dont know how will i put it …

Member Avatar for vinryyesha
0
105
Member Avatar for detweiller

hello everyone, im a new member here and also new to php. i've been searching in this site for days about my problem and with no luck i dont find any of them. i want to create a dropdown list menu (of persons) and everytime i choose a name of …

Member Avatar for ﻼim
0
279
Member Avatar for koveras vehcna

Hello everyone, I am currently creating a small JS app. that will help me search PostgreSQL and print related data via PHP. I am using jQuery to help me but I have this small problem. I wanted to test if the code worked, by prompting the PHP file to print …

Member Avatar for koveras vehcna
0
238
Member Avatar for koveras vehcna

Hello everyone, I am trying to retrieve some data from PostgreSQL using jQuery and PHP. I should be able to enter a date as input -e.g, as 2010-08-09 and retrieve all the data that is dated August 9th- however, when I execute my javascript, all I get as an output …

Member Avatar for koveras vehcna
0
350
Member Avatar for pgmarco

Hello, I am having a little trouble getting the variable $total to insert into mysql table. I used javascript to get the total that is in the input box. Any help is very much appreciative. Here is site: [url]http://illcomputers.comyr.com/custom.php[/url] Thank You Snippets of Code JavaScript Code [CODE] var mainitems = …

Member Avatar for pgmarco
0
2K
Member Avatar for emilcarlo

Hello, I am currently working with a project that involves PhP and MySQL. I have a working code for adding, editing, and deleting of information. However, I was required to put up a paginating script in my code. I am actually new to PhP, about 3 weeks old xD, and …

Member Avatar for FlashCreations
0
162
Member Avatar for Facte

Hi there, I have an RSS feed generated by a php script and I need the published date to show but no the time. For some reason my tiny little brain cannot get the code to work without showing everything. Please can someone help as I am slowly going insane. …

Member Avatar for FlashCreations
0
114
Member Avatar for amit.hak50

.how to remove this "bookmarking list" that is showing at the bottom of every post at the home page of my blog[URL="http://firstediting.com/blog"]firstediting[/URL] ..I just want only sociable plugin to show at the bottom of every post not the text based "bookmarking list"

Member Avatar for FlashCreations
0
66
Member Avatar for rawrjoeynashomg

[URL="http://shop.ccs.com/guys.shirts/category/"]ccs [/URL] I want to use a similar approach to display my MYsql database and organize it, but i'm unsure of how to go about it. I want to have drop down boxes or use the nav ones i already have [URL="http://www.casingit.com"]here [/URL](at the top) to sort different types of …

0
85
Member Avatar for heshanm

Hi guys, this is very urgent. Can anyone help me out..... I want to generate reports using php and MySQL. I have one table which includes customer_id, full_name, name_with_initials, address, contact_number and gender fields. I want to print the details of all the records of the table. It should be …

Member Avatar for chrishea
0
243
Member Avatar for QWaz

Hi, I am trying to set more than 1 variable in a $_SESSION however I can't seem to get it to work. I also can't find anywhere, if it's actually possible to have 2 sessions set at the same time. Hence the Question. So can you set 2 sessions at …

Member Avatar for MooGeek
0
132
Member Avatar for ello

Hey, wondered if someone could help me with how to go about doing the following: I have some code which generates bits of text randomly from a database. But I was wondering if there's a way for a user to download an individual file, which corresponds to the one they're …

Member Avatar for sDJh
0
111
Member Avatar for cdunde1

I just started getting this error on my wordpress site when I try and access certain pages. I have checked the3 /custom_functions.php file and I see nothing that looks out of place. Any help would be appreciated. The site is [URL="http://www.whowillwinthe2012election.com"]whowillwinthe2012election.com[/URL] Warning: Cannot modify header information - headers already sent …

Member Avatar for cdunde1
0
194
Member Avatar for sami.asanga

Hi, I was trying to develop a login script using OO php.But I found it is not directing to the menu page even with the correct login details ,instead it is redirect to the login page.Even it is not giving any error messages.Can anybody tell me whats wrong there..Im here …

Member Avatar for vibhaJ
0
314
Member Avatar for visualmonk

Hello, I am trying to use the mysql_real_escape_string() function, but I can't seem to use it without losing the content of the variable. When I use [code] $act="It's now or never" $act=mysql_real_escape_string($act);{ [/code] then attempt to insert the value of $act--it comes out null. I have established the database connection, …

Member Avatar for liamfriel
0
143
Member Avatar for popinthecan

Ok, I came across this site :[url]http://www.pokebuddies.tk/[/url] and the images(pokemon) show how many times they have been clicked(their level) and You can only click it once every 24 hours per IP. How did they do that? I know they use PHP and MySQL.

Member Avatar for metalix
0
93
Member Avatar for starmikky

I need asistance on how to handle registration forms with picture upload, rename, then preview and store the record in MYSQL database

Member Avatar for canterorist
0
103
Member Avatar for bibiki

Can someone please explain why is the following code outputting some Chinese instead of breaking down the string passed in the function into an array. [CODE]<?php // define URL $url = "http://www.somewebsite.com:80/community/columns/trog/article.php?id=79&page=2"; // parse URL into associative array $data = parse_url($url); // print URL components foreach ($data as $k => …

Member Avatar for FlashCreations
0
106
Member Avatar for ceeandcee

I know how to limit the number of rows returned in a query: [code] $result = mysql_query("SELECT * FROM playerdb where CFHL_A = 'XMEN' OR CFHL_B = 'XMEN' order by field(pos,'LW','C','RW','D','G'), PTS0910 DESC LIMIT 0, 11") or die(mysql_error()); [/code] However, now I am looking to fix a table to 25 …

Member Avatar for MooGeek
0
149
Member Avatar for baudday

Hi, So I'm working on a shirt printing quoter for a client. Basically you fill out a few fields and it tells you how much it would cost to print your design on 24+ shirts. After you see your total, you can place your order by filling in contact info …

Member Avatar for ﻼim
0
174
Member Avatar for jkaye

I'm trying to write this query, but I don't know how to go about it. Say you have a table with a bunch of listings, with multiple listings per company. You have a status field in the table that is either complete or active. What I want to do is …

Member Avatar for ﻼim
0
172
Member Avatar for beforetheyknew

Hi guys, i'm using a php response once the javascript has validated the form. I've tested it from(/on?) the server and the the form is submitting so javascript is working fine, then it reaches the php and although it was working fine earlier, displaying the 'score' etc now after i …

Member Avatar for ﻼim
0
167
Member Avatar for ceeandcee

What I am trying to do is to run a query in my database and output a table to a php file. If the query yields 10 resuts or rows, I would like the far left column to read 1,2,3,4,5,6,7,8,9,10. What happens now is it outputs all 1's in the …

Member Avatar for ﻼim
0
90
Member Avatar for ivatanako

I am trying to make a website that uses fopen to open up text file. Something like this [url]http://somesite.com/readarticle.php?name=sample.txt[/url] [code]<?php $file = 'sample.txt'; $f = fopen($file, r); while ( $line = fgets($f, 1000) ) { print $line; } ?>[/code] The sample.txt is located on the web server, I was able …

Member Avatar for ndunks
0
171
Member Avatar for andrewliu

Hello, I got my search engine working and it does show the number of results including the number of pages it should have. But I'm having trouble outputting the results when I click next. When I click the next page it doesn't show any results. [code]<?PHP global $search_term; global $location_term; …

Member Avatar for andrewliu
0
294
Member Avatar for hinfeyg2

Hi all, So I would like a else statement that would go like this: <?php if ($image=="none") echo "no image"; else <img src="../images/<?php echo $image; ?>"> ; ?> Obviously this does not work. Any suggestions on how to get it to work? So if $image's value is 'none' then it …

Member Avatar for hinfeyg2
0
70
Member Avatar for eefh01

Hi, I have been breaking my head to solve this. May be this is very simple. I am trying to convert date value to string and to merge with another string. [CODE] $dt=$_POST['formdate']; //$dt is in format of Y-m-d $msg = "The date entered is ".$dt; echo $msg; [/CODE] But …

Member Avatar for eefh01
0
106
Member Avatar for ultimatebuster

This script is something i wrote during work, as I often need to do this (concatenate strings via multiple lines so it's clearer). Hopefully you guys like it.

Member Avatar for TrustyTony
0
185
Member Avatar for mpc123

I have this code part of a bigger table with different field names being echoed. [code=php] echo "<tr><td>"; echo $row['car']; echo "</td><td>"; echo $row['caravan']; echo "</td><td>"; [/code] I need 2 pieces of help please. I want to add an image of that car, the image is in a folder on …

Member Avatar for MooGeek
0
124
Member Avatar for ceeandcee

I am working on a Hockey Pool stat project. My PPG column is a calculation that divides PTS by GP. This works fine for anyone that has played a game. However, in the case of Rookies or the very beginning of the season the GP number is 0. As such, …

Member Avatar for ceeandcee
0
197
Member Avatar for redbeta99

I'm rather new to the whole PHP world and I know how to get a form (like an application) to send to an email when the Submit button is clicked, my question is. Is it possible to have it be submitted as a forum topic? So others can view it …

Member Avatar for ﻼim
0
143
Member Avatar for Rishikeshan

I am getting so much errors in php. I couldn't understand why. I re-checked all code but I am getting strange errors. The code below is provided to you under mit/x11 license for modification and distribution. ALL DERIVATIVES ARE WELCOME! :) Here is the code: [code=php] <html><head><link href="style.css" rel="stylesheet" type="text/css" …

Member Avatar for pritaeas
0
149
Member Avatar for Mike516

I have a pagination script but currently it echos out all the page numbers which is well over 1000, Can anyone tell me how I would make it like 1 2 3 .... 1000.. Like vb has it.

Member Avatar for Mike516
0
136
Member Avatar for u8sand

This may seems like a lame question but I have yet to find something online helping me with my problem. Many websites you go to (excluding this one) instead of putting bla.php?id=2 they will have a url that looks like its in a folder or something like: /bla/2 An example …

Member Avatar for pritaeas
0
101
Member Avatar for dragonheart

HI, in my project, i have a table 'Orders' with orders submitted, where some have already completed and others are pending,,, The status of the order is denoted by a status ('completed' / 'pending') My problem is this,, I need to display the orders separately in two different sections in …

Member Avatar for ﻼim
0
84
Member Avatar for nick3592

Hi i have recently discovered that my site was on some one elses website, i have checked his source code so but it wasnt through iframes so it must be through server side technology. i was wondering if theres a way to block this from happening.

Member Avatar for almostbob
0
115
Member Avatar for sam023

Hello Friends.. i have 2 folder in root directory DEMO1 and DEMO2 containing same kind of files. when i login in DEMO1 through localhost/demo1/index.php and it will direct me to welcome.php and after login when i change demo1 to demo2 from address bar.. I Still remain in SESSION or welcome …

Member Avatar for ﻼim
0
161
Member Avatar for lwaterfo

Hi, I have a php code that lists the contents of one of the tables in my database. At the bottom of the listing, there is code that takes you to the next 10 results. Problem is, when I test it out, I am being redirected to a comcast search …

Member Avatar for MooGeek
0
117
Member Avatar for sjeggels

Hi everyone. I am seeking help to display my query result (user list) into several pages. The code below retrieves user details successfully like a picture, accommodation name, address and a clickable link to a profile page related to specific details of user. This page is my users_list.php which displays …

Member Avatar for benjaminFowl87
0
109
Member Avatar for |DarkBerzerk™|

Dear Friends, I am not expert in php, but i am trying to make website easy to edit with its own cPanel i tryed this basic code to get the id of the page from the link and show the contents of the file.. and its working good..but how i …

Member Avatar for |DarkBerzerk™|
0
127
Member Avatar for eagled2

Hello. I am currently working on a website to post some articles I write for my friends. The problem I am currently having is with a dynamic redirect. I have a dropdown list that is populated dynamically from a mysql database. That part is working fine but I can't get …

Member Avatar for MooGeek
0
213

The End.