39,402 Topics

Member Avatar for
Member Avatar for heels

Hi, Is it possible to use images for a button instead of the normal button? I am not trying to link it to another page over here but, getting it to trigger some event like a normal button. Thanks alot. Regards, heels

Member Avatar for heels
0
77
Member Avatar for bridgecity_dev

Sorry for how stupid this question may sound but I am in the process of linking two different warehouses together that use different databases. I need to run a query from one that is a remote webserver as well running PHP with a MYSQL database. This query will be done …

Member Avatar for gpm1982
0
139
Member Avatar for percent20

I have been trying to access a public array inside a class, but it is freaking out on me. Should this be able to work? [code=php] $TestArra = array('Hello', ' ', 'World'); class Test { function Test() { $this->Display(); } function Display() { foreach($TestArray as $value) { echo $value; } …

Member Avatar for R0bb0b
0
562
Member Avatar for firthusa

I have two tables, one is called "options" and the other is called "option_values". The first one contains entries such as: "size, color, shape" while the other has a "option_id" field linking it back to the "options" table and with entries like: "small, medium, red, green, square, etc..." depending on …

Member Avatar for firthusa
0
127
Member Avatar for bigbob

Hi, I have downloaded a couple of scripts which I would like to combine but I am very new to PHP and don't know if it is possible to do. One of the scripts is a simple shopping cart and the other is a (to me) very complicated affiliate script …

Member Avatar for sDJh
0
118
Member Avatar for ravi_84

Hai, I had scrapped the website with the help of code in the following link [url]http://www.daniweb.com/code/snippet293.html[/url] When i tried to scrap the following web site,it is keep on refereshing, Kindly help me to solve this issue. Thanks ravi [CODE]<?php require_once(dirname(__FILE__).'/class_http.php'); $h = new http(); //$h->ttl = 1000; if (!$h->fetch("https://secure.classmates.com/profile/fullLogin.html","daily")) { …

Member Avatar for sDJh
0
66
Member Avatar for ms88

Hi guys, I would like to ask if there is anybody have example files on how to use php_java bridge...... cheers

Member Avatar for scjp
0
75
Member Avatar for senthilvnr08
Member Avatar for psathish2

this page edit page which record user want to edit that field come to the two box.. this is my coding but error is coming Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource <?php $jtitle=$_GET['jtitle']; $desc=$_GET['jdesc']; $hostname="localhost"; $username="cdf"; $password="dfdf"; $dbid="cdsemplo_job"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("not connected"); $result=mysql_query("select * …

Member Avatar for nav33n
0
82
Member Avatar for s_susanta

im Indian a novice and in php. I installed the wamp server2 that has the apacheserver,phpmyadmin and mysql but when I try to connect mysql through PHP code a error message is comming so I cnat connect mysql. can someone help me. Thanks Susanta

Member Avatar for kvdd
1
88
Member Avatar for prabhatrahul

hi, I have one problem regarding retriving data from database. I have created one database in userrecord and its table name is tbl_user. I am trying to display the user information when thy logged in the syste. i.e view logged user profile. The code is as follow: <?php include("auth_user.inc.php"); // …

Member Avatar for nav33n
0
110
Member Avatar for roy--

Hello, I am currently using phplist, which is ok but started acting weird lately, kinda buggy i must say. Please recommend a free php/mysql based mailing list software. and also please recommend a commercial version of which i might consider.. requirements: tracking of opens/clicks/etc.. multi-language support html support I need …

Member Avatar for macneato
0
133
Member Avatar for wandie

I have a created a page to upload images. Can someone please help me. When when I click on browse I would like the picture to go on the server and not change the image name. just to upload the image as it is. please help <?php include('../includes/cms.config.php'); require_once('login.php'); ## …

Member Avatar for nav33n
0
256
Member Avatar for allena
Member Avatar for psathish2

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' this line error is coming in php code echo "<td align="right"><a href='edit.php'>Edit/&nbsp;</a>&nbsp;<input type="delete" name="delete"></td>";

Member Avatar for nav33n
0
105
Member Avatar for FaMu

I installed a vbulltein in my pc during installation everything goes fine but, when viewing the pages i can't see the text only the numbers are showing up I tried uninstalling and reinstalling and i got the same problem an image of the problem is attached any help will appreciated

0
58
Member Avatar for bww

Hi, I have a family database, and I am having trouble displaying a family member that has more than one child. $bw=$_GET["id"]; mysql_pconnect("localhost","user","password"); mysql_select_db("database"); $result = mysql_query("SELECT * FROM Members WHERE id='$id'"); $row = mysql_fetch_array ($result, MYSQL_ASSOC); echo "Member: "; $result2 = mysql_query("SELECT * FROM spouse WHERE mid='$id'"); $row2 = …

Member Avatar for nav33n
0
93
Member Avatar for harrence

Hi, my first post. I'm trying to gather attendance records between two dates the user selects. I have two tables 'attendance' and 'artists_details' which I'm hoping I've successfully joined. The field I'm working on is just above the commented one 'ethnicity=maori'. I get no errors, however whatever dates I choose …

Member Avatar for harrence
0
98
Member Avatar for mustafaneguib

help please once again... my login page was working just fine when one morning it just stopped to function. now i have tried to fix it, buy changing some of the logic and also recreating the database. now the point i have reached is that when the user enters his …

Member Avatar for nav33n
0
111
Member Avatar for kvdd

Hello all, What I want is to divide a string in timeformat, lets say 27:30. How can I do that? Eventually I can use SQL for it, because the string comes from the database. Thanks before!

Member Avatar for kvdd
0
1K
Member Avatar for gyanu

We have built a code to compile C program from text area built in PHP. We have tried all the commands that could be used to compile the program, for example exec(), system() and even the shell_exec() commands. The problem is still that we are not getting the output. We …

Member Avatar for nav33n
0
89
Member Avatar for geetha_sg

Hi all, I am using php-4 with apache 2.0 on redhat linux. Now i need to install php-5 on separate directory without disturbing existing setup.. that is multiple php installation. thanks in advance Sg..

0
72
Member Avatar for harinatt

hi i need ur guidens to create websitebuilder. It look likes first i have a button like "create your own pages." when user clicks on this link you should get different opton like > menu bar creation > style sheet upload for that site > new page creation etc. different …

Member Avatar for R0bb0b
0
103
Member Avatar for websurfer

Hello, was wandering if anybody out there can help me with the following: We use a third-party shopping cart, but they dont really make it easy to be able to buy "memberships". The way we have it now, is that they buy a "membership-card" (say item code: CLUBMEMBER", which when …

Member Avatar for kaleshwar
0
114
Member Avatar for mesamb1

I am trying to write a simple php program that will up load files smaller then 200000000 bytes to my website, but I keep getting an error when I try to run it the initial HTML code is: <html> <body> <form action="upload.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" …

Member Avatar for mesamb1
0
111
Member Avatar for Roebuc

I have a page that holds two iFrames. The first iFrame is a form the user has to fill out. The second iFrame prints the results the form gives. When the page is first loaded with the two iFrames, I want the second to hold a default page that says …

Member Avatar for R0bb0b
0
205
Member Avatar for michael123

I try to copy and paste TAB delimited list into html text area, then save it to database, however when I retrieve it from DB, all TAB space are gone, does anyone can give me advice is there a way to keep these TAB? Thanks in advance. [CODE] test test …

Member Avatar for nav33n
0
144
Member Avatar for Visva

I am new to PHP, I need to create a web page where i have to create a new folder in the menu list with the name given by user. In detail, There will be 3 to 4 menus. if user need to add his own menu then we are …

Member Avatar for R0bb0b
0
84
Member Avatar for sreein1986

Hi, Friends, I am new for Php please send me the tutorial which one is the best for Php learning

Member Avatar for servis
0
104
Member Avatar for cknapp

I'm writing a webapp for a professor. It is basically a replacement for a csh script he wrote, along with a simple interface that will allow for dealing with input and output files. All the csh script does is automate a bunch of perl scripts. Anyway, I chose to do …

Member Avatar for cknapp
0
137
Member Avatar for Barman007

I just got to the end of an assignment I needed to do and its due tommorow, but I broke my code and i've just spent hours trying to fix it, but I can't. Here are the two things I have left to complete.... [code] 1. A student must access …

0
73
Member Avatar for ckurtz

Hello, i'm a newbie here and i just want to ask if what is the best distro in running PHP, MySQL, Apache? counting on your replies. thanks :)

Member Avatar for icaruslnx
0
158
Member Avatar for harinatt

hi if u login as a user into one site there we have to provide an option to create user define pages when the user is relogin he should get his own site instead of default site. logged in users site with all CSS ,HTML Pages ,Menu bars etc. what …

Member Avatar for praveen_dusari
0
86
Member Avatar for harinatt

hi all, i have a requirement to provide an option to create new site for that page? plz send the reply ASAP.

Member Avatar for ShawnCplus
0
54
Member Avatar for shadiadiph

Hi I have a form and I have a list of checkboxes I am trying to check 2 or all of them and get them to insert into one sql column in my database. When I select them it submits ok but in the cloumn on the database is storing …

Member Avatar for Yamthief
0
150
Member Avatar for soosai

hi good morning.. is my function for EXIT is corrcet? Thank you <form><input type="button" value="exit"onclick="exit=false"></form>

Member Avatar for R0bb0b
0
101
Member Avatar for harinatt
Member Avatar for nav33n
0
125
Member Avatar for StephenP

Hey all, I'm having a bit of trouble making GD load and display an animated gif with imagecreatefromgif() and imagegif(). It only displays the first frame of the animation. Is there any fix for this / am I doing something wrong? -Stephen

0
41
Member Avatar for mira216268

could someone help me with your brilliant ideas of yours to help me for my final project... im a science computer student.. i need your ideas.. im so blank..

Member Avatar for mira216268
0
164
Member Avatar for atplerry

Hello ! I am giving a project to Develop a forum website that people can chat with each other i need your help on where i can get the tutorial or on display records from the databases into a table and some other tips require for the development! Thanks.

Member Avatar for thomasjc
0
116
Member Avatar for doel.jangkrik

I am trying to make a login page using php. index.php contain form for "login" and "password" which will be check by "process.php" My intention is: if the login or password is incorrect, an alert box will pop up telling the user the case, and redirect back to index.php Here …

Member Avatar for doel.jangkrik
0
114
Member Avatar for isomillennium

is there a way to tell the occurence postition of the regex given ?? for example .. $text = 'PHP Hypertext Preprocessor'; if (preg_match('xt', $text)){ echo 'Found Match'; } Like in that example occurence position is 11.. I already know about the strpos() .. but that doesnt accept regex .. …

Member Avatar for nav33n
0
132
Member Avatar for blufab

I am having an issue calling an object's function. Can someone assist? Error: PHP Fatal error: Call to a member function add() on a non-object in C:\Properties.php on line 39 [code=php] <?php require_once 'HashTable.php'; /** * Properties * * The following libraries should be load at instantiation * dl("php_pdo.dll"); * …

Member Avatar for R0bb0b
0
79
Member Avatar for AliHurworth

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. However I'm getting errors on the second table [icode]mysql_num_rows(): supplied argument is not a valid MySQL result resource [/icode] and [icode]mysql_fetch_array(): supplied argument is not a valid …

Member Avatar for R0bb0b
0
140
Member Avatar for OmniX

I have a few number values that I need to store in one string/array and then use it at a later time. The idea is: [code] $a = 1; $b = 2; $c = 3; $alpha = $a + " " + $b + " " + $c; echo $alpha; …

Member Avatar for R0bb0b
0
204
Member Avatar for soosai

hi im soosai ..very new to this PHP WORLD..have created database with the field tc...and i have 10 fields in it but only would like to insert those datas in the coding .... but the coding shows some error...pls help me .. Thank you <? @mysql_connect("localhost","root","") or die (mysql_error()); mysql_select_db("upit"); …

Member Avatar for phpuser
0
254
Member Avatar for soosai

hi there is anything wrong with the code down here....? <? @mysql_connect("localhost","root","") or die (mysql_error()); mysql_select_db("upit"); $sql="INSERT INTO students VALUES('$nama','$ic','$fakulti','$emel')"; $result=mysql_query($sql); if ($result) echo"Insert record Successfully"; else echo "Problem inserting data"; ?>

Member Avatar for nav33n
0
87
Member Avatar for stevegoodmedia

Hi i i have a form that is processed by the following php script - the form and script work fine (i got it off about.com works very well!!) but the client does not like the way the email arrives and wants some formatting could anyone tell me how i …

Member Avatar for isomillennium
0
87
Member Avatar for soosai

hi this is my coding for submit and reset button ... but the reset button seems not working ...is it related to the value?.......or the return thing ? thanks for the help.. <input type="submit" value="Submit" /> <input type="button" value="Reset" onclick="valid.reset(); return false" />

Member Avatar for soosai
0
69
Member Avatar for boomar

hi, i m not able to configure java-bridge, here my OS is VISTA business,i installed php5.2.1 with IIS server, now i want to use java classes in php. I read many installation pages tried it,not able to succeed. pls help me in brief to install and configure.:| Thanks and Regards

0
62

The End.