39,323 Topics

Member Avatar for
Member Avatar for slap01

I've been coding for about 3hours i can't seem to see whats wrong, all help is much appreciated! :) [CODE] <html> <body> <form method = "get" action = "SLAP2.php"> <center> RANDOM IMAGES<br> <table> <?php $images = array('2010 BMW M6.jpg','2011 BMW 750 Li.jpg','2009 BMW M5.jpg','2010 BMW 650 i.jpg','2010 BMW X6 ActiveHybrid.jpg','2010 …

Member Avatar for slap01
0
248
Member Avatar for mmitchell73

I have designed a survey with PHP that submits the responses into a MySQL database. The people that will be taking the survey are existing clients which have user IDs and information stored in a database that I do not have direct access to. What I would like to do …

Member Avatar for ram007
0
1K
Member Avatar for baloch123

Hello I want to display random images stored in folder.and their name stored in mysql. Please Help me. Thanks

Member Avatar for pritaeas
0
101
Member Avatar for newprimitive

Hi, don't know what's wrong, when i try to dispay an array, nothing is displayed. [CODE] // class.php class Connection{ var $arr=array(); function getData($username){ $q="select comment_id from comments where user='$username'"; $result=$this->conn->query($upit); $n=$result->num_rows; for($i=0; $i<n; $i++){ $this->arr[$I]=$result->fetch_array[MYSQLI_ASSOC]; // I've also tried $this->arr[] (with no index) but the same thing } return …

Member Avatar for newprimitive
0
138
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
729
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
302
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
180
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
173
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
86
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
104
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
77
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
160
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
150
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
99
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
269
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
236
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
344
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
158
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
111
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
64
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
83
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
240
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
130
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
107
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
192
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
287
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
140
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
91
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
102

The End.