39,392 Topics

Member Avatar for
Member Avatar for webguru07

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?

Member Avatar for buddylee17
0
69
Member Avatar for anisa

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 …

0
60
Member Avatar for CBnewbie

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(): …

Member Avatar for pritaeas
0
92
Member Avatar for scorpionz

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 …

Member Avatar for fatihpiristine
0
178
Member Avatar for zanzo

hello, would somebody help me to connect oracle db to PHP best regards, zanzo

Member Avatar for phper
0
122
Member Avatar for tefflox

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"] …

0
62
Member Avatar for boo_lolly

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 …

Member Avatar for almualim
0
175
Member Avatar for allen.jes
Member Avatar for shadiadiph

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?

Member Avatar for nav33n
0
40
Member Avatar for Icetigris

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, …

Member Avatar for nav33n
0
136
Member Avatar for bornok15

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...

Member Avatar for archangel_025
0
79
Member Avatar for almualim

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; ?>

Member Avatar for almualim
0
86
Member Avatar for Vai

[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 …

Member Avatar for Vai
0
100
Member Avatar for rickarro

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 …

Member Avatar for rickarro
0
115
Member Avatar for mortalex

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 …

Member Avatar for blocblue
0
148
Member Avatar for dmanw100

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 …

Member Avatar for nav33n
0
106
Member Avatar for tanha

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] …

Member Avatar for tanha
0
165
Member Avatar for almualim
Member Avatar for nav33n
0
56
Member Avatar for uncoversports

Hey all, I'm looking at building a website that allows photographers to login and upload images to galleries, while another type of user can signup and buy images from those photographers. The problem is I've come up against my age-old rival. I haven't been able to get my head around …

Member Avatar for Will Gresham
0
144
Member Avatar for antwan1986

Hi everyone and thanks for taking the time to read. There's a specific section of my website that I would like to be dynamic. It has the possibility of having one or two paragraphs, possibly even more. What I had done was set up a MySQL database with a field …

Member Avatar for Will Gresham
0
122
Member Avatar for csshacker

Hello DANIWEB Friends, Anybody help me for making a website in HINDI (PHP).. my plan is i give a simple link or tab to change website languge Hindi to English OR English to Hindi. please help me

Member Avatar for ithelp
0
127
Member Avatar for JoelBox

[COLOR="Green"]Hi, I have a puzzle that is difficult to fix,[/COLOR] My website running drupal on wamp is running fine with Firefox and safari. But IE performance is bad. The symptom, IE performs the first couple of gets, then delays 5 seconds and then the next couple. The total page takes …

0
58
Member Avatar for Lamaison

I'm a PHP newbie, I need to assign query results to variables that have an incrementing number in the variable name, can someone help me with this? So let say I return a few rows of from MySQL, I would like loop though the results and assign the values to …

Member Avatar for Fungus1487
0
144
Member Avatar for Tess James

While using header() to pass values to the file that contains the graph code,the image is not shown. Browser says that it contains some error. Am getting all values passed in the 2nd file, still the graph is not displayed. What could be the reason? Please help...

0
90
Member Avatar for rickya100

Hi, thanks for looking. The problem is that I can't get a custom header in my emails no matter what i do. The code i have is shown below. From everything I have read it seems like it should work. I have also had a chat with my host (Hostmonster.com) …

Member Avatar for rickya100
0
101
Member Avatar for charvie

I have checkboxes in my HTML form and i want to delete several records from my database using those checkboxes. I'm quite new to php so I have a dificulty in manipulating the checkboxes. so can anyone help me? thank you! Example.... I have 5 records and i want to …

Member Avatar for effu
0
161
Member Avatar for farahphp

Hi there i have a window(A) which has a button which when clicked opens a new window(B) which is for authentication tht is for username and password once the username and password r validated a new window should open in the first window(A) how can i achive this please help …

Member Avatar for phper
0
58
Member Avatar for ChrisKlinger

After several days, red eyes, sleepless nights and gray hair, I _still_ can't get swf to cooperate. I've tried both loading the pure .swf, and encapsulating it in a separate .html page (01.swf and 01.html) Still, the script I'm trying just sits there. The audio is a self-esteem message, that …

Member Avatar for phper
0
108
Member Avatar for atplerry

i am a new user of php and mysql now i have wampserver install on the computer and dreamwaver, I try to write a phpcode and run it on my browser but it was giving displying page can not be display and before then i try to configure the my …

Member Avatar for phper
0
246
Member Avatar for xylude

I wrote a script in PHP that works fine on its own, but when inserted into a document containing CSS does not work properly. I am a newb with the PHP programming, and what I am trying to do is create a simple register/login script. Once the user has successfully …

Member Avatar for xylude
0
340

The End.