39,316 Topics

Member Avatar for
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
96
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
267
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
235
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
341
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
110
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
191
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
253
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
139
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
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
105
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
144
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
171
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
170
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
161
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
88
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
168

The End.