39,320 Topics

Member Avatar for
Member Avatar for kmachstang

I was hoping to throw what I am trying to do out there to see if anyone could give me the best way of handling it. Basically, I have a custom pdf viewer that converts the desired page of the pdf to a jpeg on the server and then sends …

Member Avatar for fatihpiristine
0
103
Member Avatar for monkeywright

This one's killing me - I'm trying to implement multiple polls on one page based on Fpoll PHP. If you look at [url]http://rocklineradio.com/Fpoll/poll.php[/url], you'll see the poll displaying properly, with a colored bar and percentage indicating who's winning. If you look at [url]http://rocklineradio.com/TESTER.php[/url], you'll see two polls side by side. …

0
77
Member Avatar for roopeshnp

there is a combo box in my form.when i am selecting an item in the combo 1 contrl(textbox) to be diplayed.when i am selecting other item in the combo textbox to be disappeared. i dont want to refresh the page can any one help me

Member Avatar for fatihpiristine
0
41
Member Avatar for Yashua

I wish to create an inventory database with the following: 1. When an item is checkmarked and the submit button is pressed that item is deducted from the mySQL Inventory portion. By default only 1 is deducted per item, but if they add to the Quantity they wish to order …

0
33
Member Avatar for ezb

I have two slight problems I simply cant find an answer to anywhere, the first, only small. I have my database printing out items from a database into a select box, this is giving me blank options even though there are none in the database, I remember having this problem …

Member Avatar for Yashua
0
223
Member Avatar for elangobala

Hi, Friends In some websites i have seen that in a website called mginger.com in that invite tab when i keep a mouse over the Text field in the right hand side of it shows that please enter the name in a layer .It looks very nice .My friend says …

Member Avatar for Shaffer
0
81
Member Avatar for rime

I have written the following code to retrieve image from mysql database: <?php include('dbinfo.inc.php'); include('../functions.php'); mysql_connect("localhost","username","password") or die("Failure to communicate"); mysql_select_db("db") or die("Could not connect to Database"); $query = "SELECT content,size,type FROM upload WHERE id=1;"; $result=mysql_query($query); mysql_close(); $content=mysql_result($result,0,"content"); $size=mysql_result($result,0,"size"); $type=mysql_result($result,0,"type"); header('Content-Type: '.$type); print $content; ?> It is working.. Now I …

Member Avatar for ryan_vietnow
0
128
Member Avatar for roy--

Hello, I've been trying to send html emails via the mail() function. I tried different combinations of headers configurations. and spent hours and hours on this with no luck. All I get is plain text, as if i did not define the headers. headers would be displayed in the message …

Member Avatar for ShawnCplus
0
135
Member Avatar for Shygirl

[code=language] <?php $username="151296"; $password="******"; $database="151296"; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $last = $_COOKIE['ID_my_site']; SELECT 'Wing' FROM 'users' WHERE 'username' =$last; $CC1 = ['CC1']; $amount1 = $_POST['amount1']; $total = $CC1 + $amount1; $UPDATE FROM 'users' WHERE 'username' = $last SET `CC1` = 'CC1'+ '$amount1'; ("Location: arming.php"); } ?> …

Member Avatar for fatihpiristine
0
118
Member Avatar for vyadagiri
Member Avatar for stymiee
0
62
Member Avatar for ep2002

Hi all, I hope everyone is well. :) Ok, I don't know how to explain this properly, so I'll just struggle along & if you need anything clarified, please ask. First, I'd like a quote from only very experienced MySQL/PHP programmers on how much this appl. will cost to build. …

Member Avatar for ep2002
0
184
Member Avatar for cancer10

Hello, If you have used phpmyadmin, you might have noticed while creating a table there are few optional fields asked by phpmyadmin along with the table name like tablename | Datatype | Length | [B]Default[/B] etc etc Not my question is how do you make use of this [B]Default[/B] field? …

0
46
Member Avatar for ashkan3030

Dear pro web developers, This is a basic web developer and wanna you to help me. I want to make Forum site on my LAN what should I do and what should I use? I see the most forum site which are exactly the same with the same template,are they …

Member Avatar for jbennet
0
241
Member Avatar for jpl80

What is the best way to submit sensitive data (social security, driver's license, etc.) over the internet. I also need to store it in a database where an administrator could access the info. I may be looking at either open-source solutions or outsourcing this to a company to limit my …

Member Avatar for world_weapon
0
76
Member Avatar for 0123456789

please forms from oracle with php insert,delete,search ya tengo el formulario de mostrar registros[ select ] ..... Alguna persona que tenga formularios ya mencionados que lo comparta para ver como va el codigo en esos formularios ......... muchas gracias por su atencion .........

Member Avatar for debasisdas
0
54
Member Avatar for world_weapon

Hello Everyone, I was trying to figure out why this particular mysql_query() doesn't return false and how to deal with it. First of all, I have a table (call it table1) with only one row in it. The one row has a 2 in the user_id column. So when I …

Member Avatar for world_weapon
0
144
Member Avatar for thunderbbolt

I am trying to get this program login to work with sessions. I don't know what I am doing wrong, but part of my code is displaying on the page instead of just my login form. Here is my code [code] <?php session_start(); $_SESSION['name']= "test4"; define('DBSERVER', 'localhost'); define('DATABASE', 'dbname'); define('USER', …

Member Avatar for thunderbbolt
0
121
Member Avatar for Pro2000

Hi guys, I wrote: [CODE] <?php $WACnt=33; while($WACnt>=0) { require("Wordsarray.php"); $enn=preg_replace("/".$normal[$WACnt]."/i",$tidied[$WACnt],$enn); $WACnt--; } ?> [/CODE] The browser said: [B][QUOTE][B]Warning[/B]: Unknown modifier 'g' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Compilation failed: nothing to repeat at offset 0 in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Unknown modifier 'b' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] …

Member Avatar for Pro2000
0
185
Member Avatar for ramirez

Hi all. I have an application were a user fitt (outside the game) a "ship" and after the full fitt he can save that in a doc file. In that file we'll see 4 fields with vari lines in each of them (not the same fitt for all the ships). …

Member Avatar for Puckdropper
0
119
Member Avatar for jtmcgee

[code=php] if( $rand_num <= $chance ) { //$item_id = mysql_query("SELECT `item` FROM `creatures` WHERE id = '$id_creature'"); $foo =& creature_stats( item, $id_creature ); $item_query = mysql_query("SELECT * FROM items WHERE id = '$foo'") or ('$item_query'); $item = mysql_fetch_array($item_query); echo"You got an ".$item."!"; } [/code] Creature Stats Function: [code=php] function &creature_stats($what_stat, …

Member Avatar for somedude3488
0
159
Member Avatar for tanha

Hello everybody, I found paging code from [url]www.plus2net.com[/url], but when I implemented there is a problem with $this variable and the error is: "Fatal error: Cannot re-assign $this in C:\wamp\www\Paging\php_paging.php on line 33" This is the code: [CODE]<?php //**************************************************************************** ////////////////////////Downloaded from www.plus2net.com ////////////////////////////////////////// /////////////////////// Visit www.plus2net.com for more such script …

Member Avatar for ShawnCplus
0
341
Member Avatar for roy--

Hi, My php script would do a few updates/inserts to a table. after that I would like the rows that have not been affected by the script to be deleted from the database. cant figure out how to do this. any ideas ?

Member Avatar for ShawnCplus
0
68
Member Avatar for ajay_tabbu

I want help. [B]what i do[/B]:I creat three pages 1. login.php, 2. welcome.php, 3.change password.php. when we login(right Id & P/W) welcome.php will open,On that page i have put two option i. Logout, ii.change password.,[U]on clicking on Logout we will logout to enter again we have to enter password.As session …

Member Avatar for somedude3488
0
266
Member Avatar for comask

i need to redirect to other page with out using header if it is not possible tell me how can i use header with relative url plz n 10q

Member Avatar for ajay_tabbu
0
387
Member Avatar for rhak

Hello guys im completely new to php scripting and I am currently seeking a script where users can goto my form page and enter various details I ask for (World of warcraft recruitment Form) .Once that user has completed his application I would like that information bound and stored on …

Member Avatar for somedude3488
0
64
Member Avatar for world_weapon

Hello everyone, I have an issue that I can't seem to resolve with integrating phpBB into the rest of my site so that login and session can be intact. Well, for the most part, the whole scheme seems to work at first glance. I noticed that pages that have the …

Member Avatar for world_weapon
0
148
Member Avatar for becraig

I need some help here I am trying to figure out to set a php file to go to different URLS based on the request it receives. eg this code might make no sense at all I want to code for 6 different referrers. <?php if (($_GET['PID']) != '097641342sjherjy') {header.location …

Member Avatar for jtmcgee
0
138
Member Avatar for dami06

Hi all, I have a project thats was given to me in school but the problem is I don't know anything about PHP but i know a very little about MySQL. I was given three options to use. Two of which are PHP and the other JSC. I hate anything …

Member Avatar for dami06
0
126
Member Avatar for CaliVagabond

I've been tring unsuccessfully to find information on what each language, C and PHP, have to offer in terms of working with MySQL. Just wondering if anyone out there has preference for one or the other and why. I understand that PHP is supposed to have alot of built-in functionality …

Member Avatar for iamthwee
0
115
Member Avatar for himanjim

Hey friends I've a doubt regarding my password authentication code given below If we use `session _start` function one need not use the `cookies` as $_SESSION['user'] = $username; $_SESSION['password'] = $password; functions do the same job that cookies would have done so my cookies code is just a clutter?? Here's …

Member Avatar for Puckdropper
0
189

The End.