39,395 Topics
![]() | |
I am not too good with php and am trying to get this search and results form to work. I am trying to get the user to be able to search by shape, color, price range, etc. I was only able to let them search for one color and one … | |
Hello, I am collecting data from users on one form, altering the data, and then depending on which option the users (user will choose a submit button out of many) selects I will be passing the data to a different form where the data will be altered further. I plan … ![]() | |
hi i have written a code for convertingo uploaded a .doc and view it as html........ i am not able to view thw first line,all the bold string are looking like ordinary string | |
I want to enable members in my web to send mails to another web example yahoo,hotmail, and others. What to are essential needs to Get Started??? ![]() | |
[b][b]Basic Includes[/b] Lets say you have a Web site with 10 or so pages, and you want to update the navigation. You don't want the hassle of updating every single page. That's where includes come in handy. Your basic include will look like this. [php] <?php include ( 'includes/navigation.php' ); … | |
i am trying to get an image file to display in an email, the file is stored on the server but it will not send the file with the email. i have been working on this code now for a few days and i cannot get it to work. the … ![]() | |
hi i am very new to home hosting i have wampserver 2.0 on my computer but i dont no how to put the domain name in to the wampserver can any one give me some help or info please thanks william | |
does anybody know how to do PAGING using PHP inside a table. you see, my page is divided into 2 (i used tables) the left side views the profile of a PATIENT(name,address...etc.) while on the right side of the table are dates when the patient received his/her check-up. Now, i … | |
Is it possible to load two web pages at the same time without using a javascript? I want a pop up webpage to appear and I usually do it using javascript. But my problem is when a clients computer blocks a javascript, the page is unable to load. Is there … | |
Hi everyone. I'm thiiis close to losing my wits over this. I'm working on carrying Session ID via the url (not secure, I know, but it's not meant to be) and I cannot for the life of me get this to work. This is a hangman script (pre-written by someone … | |
I use an array for the first time in a while loop without declaring it(as php does not need it) [code=syntax] $variable_array[] = $fetch_array['column']; [/code] As the while loop is repeating it increases the number of the array. Am I doing this right? Should I have before the loop some … | |
I have noticed that some people use public/ private for their vars and functions. I tried looking it up on php.net and then here, but only found one explanation of it on the C++ board. It says that if you declare private var then it is only accessible by that … | |
Hi, I have a site and I want to put a forum on it. So, if I install phpbb3 for the forum, can I be able to change the layout as of my site. I have a vertical menu on the left on the site and so want to keep … | |
I'm trying to get this script to work and it is only giving me a blank white page, can someone take a look at it and see if you can tell whats wrong with it. [code] <?php // Show simple format of the records so person can choose the reference … | |
is it possible to generate a random number and then use cookies to pass this number to other page? i cannot use session_start because it does not like my code for resizing the images that are uploaded and i cannot use get as the page the the random number is … | |
Hi, straight to the pint, i am a newbie in php. and would anyone like to help me about the code of change password after i login. Please, i am waiting for your answer, thanks a lot | |
How do i store images on a mysql server and preview on a webpage using PHP. or how do i preview images using PHP on webpages. | |
Hi all, I want to insert multiple records into a table using one query. And my query is INSERT INTO table2(id,message) SELECT id FROM table1 WHERE condn,'hello' but it displays an error.... Can you help me? Thanx in advance.... jino | |
Hi guys, Bit of n00b here but do have some HTML experience. Anyway I'm working on a small project at the moment where I require the user to enter the details of a varying number of people. How can I create input boxes on the fly? so that the user … | |
I want to know when the monitor of the user is off so that I can play a sound instead of making an alert. I know you can help :) Thanks. | |
I have 3 pages a.php ,b.php and c.php .How can I use the variable of b.php in c.php [B]a.php[/B] [ICODE]<script type="text/javascript"> var width; width = screen.width; if (width > 0) { location.href = "b.php?width=" + width; } else exit(); </script>[/ICODE] [B]b.php[/B] [ICODE]<?php if($_GET['width']) { public $screen_width; $screen_width=$_GET['width']; } else { … | |
![]() | The following code given to me in another forum, as a "simple photo gallery" code, but I'm still experiencing problems with it. I don't know how to make the two pages interact correctly. I am assuming the [REF] etc sections are causing the problems, but I don't know what they … ![]() |
hello friends, im a php developer, am buliding a online memorial site.where the customers will register their Date of birth in a registration form .it will probe through mysql db.and i hav to send a mail for their birthday wishes in forcoming years automatically from php scripts..is it possibel.. give … | |
hi friends, i want to display data from mySQL database, and iam using two drop down list, displaying data in second drop down list depending on the selecting from first drop down list, for example: first drop down list contains states, and second drop down list contains cities. | |
Pretty simple, just dont know how to find the solution XS. I have a combo box, that once u select the required attribute (A, B, C). It should display the apporiate text of A, B, C below it. So any ideas? Thanks, Regards X | |
I am using IMG tag to display the graph. In the file(containing the graph code), I check some conditions and if true, then graph is displayed. Otherwise I need to display a warning(using echo). When this IMG tag is used, it is not displayed (obviously). So,is there any way to … | |
[B]The problem:[/B] I made a script that every minute - it restarts a program if it is told to in a mySQL database as well as if the program is not responding. I created it without a problem; it worked in the terminal, PHP and so on. Then why won't … | |
I have a question about using define(). I am using this function for other constants across my script ,but am looking at developing a set of language files. For example I was thinking of having one eng_defined.php and one fr_defined.php each containing the same named constants but the output would … | |
Hi everyone and thanks for reading! I have a MySQL database with a table called "lessons". Inside lessons there are about six or seven fields holding information about piano lessons. The table looks like this: [CODE]vid int(10) (Primary Key) title varchar(50) date date teaser varchar(500) description varchar(2000) vurl varchar(50) extra … | |
i have created a website where the user is able to upload images and then they are displayed on and email which is then sent out to the people of there choice. the problem i am getting is that the images are being cached and then the new images are … | |
Hi All, Can any body help me out how to pass an array values from php file to mysql stored procedures as parameter list and how to use the array inside the stored procedure. Please help me out to solve this problem. Thank you. | |
i need to have a hyperlink on the page having the graph code which, when clicked takes me to another page.. what should i do..please help.... thanks in advance.. :) | |
Hello all, I have been working on a simple web app but have run into a small problem. I am still fairly new to php and have found nothing on this topic searching google. I have a getimage.php page that fetches an image from a SQL Server Express 2005 database. … | |
I know this question has come up before and i've researched headers and i know that you can't output anything to the browser then change the headers, so my question is, is there a way to redirect with PHP inside a HTML document? | |
An entire real and full web-application is to be delivered on Monday for the school project :scared: . The problem is that since me and my team are quite new to doing real big things we are quite at the beginning point. I believe i need an overview of all … | |
OK, I'm new to PHP, and working with someone else's code. Kinda got thrust into this. I keep getting these two errors everytime someone tries use a online application page: PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in F:\home\admissions\application\appadmin\dataset.php on line 27 PHP Warning: mysql_free_result(): … | |
Hi this is scorpionz Any response will be appreciated with great interest, can anyone have an idea regarding image upload through PHP+Ajax, i m using mysql as a db. Like the Process i want to do is that: I have create a field of image_name in DB table and just … ![]() | |
hello, would somebody help me to connect oracle db to PHP best regards, zanzo | |
Hello, thanks for helping out. I need to upload an image, mogrify it to three smaller instances and rename it. thanks again. [CODE] if ($_FILES["file"]["error"] > 0) echo "Error: " . $_FILES["file"]["error"] . "<br />"; else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type: " . $_FILES["file"]["type"] … | |
i'm writing a redirect.php page for a CMS. the admin user makes whatever changes they want to certain information in the database, then clicks submit. they are taken to redirect.php which handles all the sql commands depending on what the admin wanted to change. and then they are redirected to … | |
hai can anybody help me. i need eclipse for php | |
Sorry I have been raacking my brains 4 hours. Does anyone have any idea how to display negative and positive numbers in two colors e.g postive as green negative red? | |
I'm trying to make a class registration page, but for some reason, when I dump my query results into an array and use array_search on it, array_search comes up null. Any ideas? [code] <?php /* - if classes[] is set, see if any of them were selected - if yes, … | |
I am making a guestbook script I'll be using combo, listboxes and paging for the entries can anyone give me some tricks on how to do this? thanks guys... | |
i want to send variable from one page to other in php and iam using session, but the variable doesn't appear in other page. iam using this code : page 1: <?php session_register('number'); $number =10; header("Location: page2.php"); ?> page 2: <?php echo"number= ".$number; ?> | |
[code] Here is what I am trying to accomplish: an image management system, that will: a: Store the name and url inside the database b: be displayed where needed. I have a form that already uploads, but I am unsure how to get the disered information to the database, and … | |
Hey All, I have a simple query form that displays from a mysql database, a list of names and phone numbers. What i'd like is a column heading at the top of the page but I can't seem to figure out how to put it in there. Here is my … | |
Hey guys, i've got a right headache from this piece of code at the moment, it's a simle login script and it just sin't working, the MySQL query looks correct to me and all the other stuff looks ok, but then again i'm no PHP expert. Could someone look at … | |
I was wondering if anyone could help me with what should be a simple PHP script. I want to write a text file, inputing different strings to different lines using some predefined lines and some input from a text box, then save it with another extension (such as .ini). Here's … | |
Hi. I am using WAMP5 Version 1.7.2, which includes : 1. PHP Version 5.X 2. MySQL Version 5.X 3. Apache Version 2.X 4. Php-MyAdmin But it does not recognize DB.php file, I dont why...I get the following error [B] failed to open stream: No such file or directory in F:\wamp\www\XXX[/B] … |
The End.