39,402 Topics
![]() | |
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 | |
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 … | |
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; } … | |
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 … | |
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 … | |
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")) { … | |
Hi guys, I would like to ask if there is anybody have example files on how to use php_java bridge...... cheers | |
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 * … | |
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 | |
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"); // … | |
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 … | |
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'); ## … | |
please anybody tell me about the PHP and about applications developedin PHP. | |
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/ </a> <input type="delete" name="delete"></td>"; | |
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 | |
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 = … | |
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 … | |
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 … | |
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! | |
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 … | |
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.. | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
Hi, Friends, I am new for Php please send me the tutorial which one is the best for Php learning | |
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 … | |
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 … | |
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 :) | |
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 … | |
hi all, i have a requirement to provide an option to create new site for that page? plz send the reply ASAP. | |
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 … | |
hi good morning.. is my function for EXIT is corrcet? Thank you <form><input type="button" value="exit"onclick="exit=false"></form> | |
hi i want to provide multiline tooltip for selection box items in IE.what to do | |
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 | |
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.. | |
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. | |
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 … | |
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 .. … | |
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"); * … | |
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 … | |
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; … | |
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"); … | |
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"; ?> | |
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 … | |
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" /> | |
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 |
The End.