39,402 Topics

Member Avatar for
Member Avatar for Mtowns Finest

So here is my problem. I have developed guestbook's and comment systems before, however they were simply used on one page and used the auto increment feature to seperate enteries. Each entry was stored on a seperate row in my database and they were organized by an array when called. …

Member Avatar for theighost
0
251
Member Avatar for veledrom

I think, we would need cURL only for cross domain applications. I mean if I use pages stored under same domain then I should simply use POST rather than cURL. Is this right? Also, For example: how do i check if username=1 and password=2 in check.php page and return TRUE …

Member Avatar for theighost
0
84
Member Avatar for neverneverland

I have a query that was working fine, but I recently switched hosts. I couldn't tell you what version of MySQL was on the old host, but I am now on version 5.0.67. The query asks for multiple fields using AND and LIKE. My error message is telling me there …

Member Avatar for theighost
0
154
Member Avatar for dmanw100

Hello, I'm pretty new to PHP and MySQL. I was wondering what the most efficient way to access a large database would be. All the tutorials I've seen show something along the lines of: [icode]$database = mysql_query("SELECT * FROM table");[/icode] But it seems to me that if 'table' was a …

Member Avatar for theighost
0
128
Member Avatar for theighost

Hello, I have a bit of a problem, I am think its not the script that has the problem, but wanted to be sure before contacting the server masters. In my website, I can make cookies, and sessions, I can echo them successfully. But when I logout, it doesn't work, …

Member Avatar for theighost
0
103
Member Avatar for shasha821110

Hi, all I have one assignment about implement the stock website. i stuck in some problem which i can't solve. i want to implement one function which all the $row related to the $result in sql and for each row initialize the class once. i found if i gave the …

Member Avatar for shasha821110
0
89
Member Avatar for danielagaba

hi on my index.php page i'm calling several php functions with html embedded in the php so that the interface changes with different function calls. my problem is in one function, i'm using a button to whose onclick calls php function in another page to store field values in my …

0
46
Member Avatar for marney25

I just created a mysql with php scripts to manage it. I had quite a time finding security for the output. Finally got htmlprotector to do it for not only php script but the php generated output with the output data from mysql database. I got the php script from …

Member Avatar for cwarn23
0
84
Member Avatar for Designer_101

Hi I have a tiny problem, the emails outgoing from my website are all going to hotmail and are for some reason un-openable. You have to click the 'This message has been blocked for your safety. Open message' in the red box at the top of the message. I have …

Member Avatar for samarudge
0
103
Member Avatar for sashkat

Hi, I need help with writing a piece of code that counts all the folders in a specific directory and prints the number, then counts image files in the same directory but located in all the fullsize sub folder of each gallery. Example: -images -galleries -gallery1 - fullsize -thumbs -gallery2 …

Member Avatar for digital-ether
0
115
Member Avatar for jayb

hello everyone ... I am working on a CMS in PHP, using Apache server .. in my site we have a download and upload file module .. where user can download necessary files and also can upload . but I want use an another server for this .... such that …

Member Avatar for digital-ether
0
127
Member Avatar for rajeesh_rsn

Hi i had a big database and need to delete and add to it daily. About 500 rows are there in that table. I add add a check box in every row ( in the output page ) .. Something like this [ICODE]<table> <?php $select=select * from table ; while($row=mysql_fetch_array($select)){; …

Member Avatar for hemasow
0
150
Member Avatar for hemasow

hi we have one problem while using drop down list in PHP. We have a drop down list, after the selection of the items in that drop down list we want another drop down list to be displayed based on the selection of the first drop down list, we r …

Member Avatar for cwarn23
0
114
Member Avatar for BASSUHG

Hi every one I have created a table which contains fname, lname, age. And inserted the values. Now I want to retrieve the data using php and display in browser. I am using oracle10g and php. Please any one help me. Thank you in advance

0
79
Member Avatar for jjtrooper

Hi all, Wonder if someone could help me please, I am not technically minded but I will try and explain my problem. I use Serif Webplus, ntl (now virgin) free web space, ftp, xp. For over 5 years I have been using the same set up with no problems at …

Member Avatar for jjtrooper
0
109
Member Avatar for New2PHP

Good Afternoon, I am realtivly new to the wonderfull world of PHP and am reaching out for help on a project I am currently working on. I would appreciate any help on this issue. Thank You in Advance! Objective: Create Dynamic Multiple Drop Down Boxs - Options to be stored …

Member Avatar for New2PHP
0
115
Member Avatar for rajeesh_rsn

I need to delete a file using php function and then redirected the page to another one. I tried with this code : ----------------------------------------- [ICODE]delete("$file"); function delete($file){ unlink ($file); header("Location: npp.php"); }[/ICODE] Works fine in my local host but the following error coming when upload to server : [ICODE]Cannot modify …

Member Avatar for rajeesh_rsn
0
278
Member Avatar for cjwenigma

My web page was working fine last week and when I went to work on it again I got this: Notice: Undefined index: courseID in C:\wamp\www\1.1\lib\coursePage.php.inc on line 7 Notice: Trying to get property of non-object in C:\wamp\www\1.1\lib\coursePage.php.inc on line 10 we have no data Here is my coursePage.php.inc [code] …

Member Avatar for blocblue
0
962
Member Avatar for rajeesh_rsn

Hi is there is any other option to redirect a php page to other page. Other than "header " ??? Thanks Rajeesh

Member Avatar for hooka85
0
94
Member Avatar for veledrom

Hi, Let's say i have a form in [url]www.111.com/form.html[/url] where user can submit name and surname with POST action. Can we send the POST data (name and surname) from [url]www.111.com/form.html[/url] to [url]www.222.com/process.php[/url] to be processed? Thanks

Member Avatar for veledrom
0
1K
Member Avatar for Borderline

I'm using PHP to piece together photos on my website. I have the pieces in the correct order, but there is white space between each photo. At the moment, the only Css I have is placing the black border around the specified outer edges of the photo - I added …

Member Avatar for sDJh
0
179
Member Avatar for yanti

hi guys, just want to know how to do alert via email when a new record updated in database. i use php and mySql. thanks.

Member Avatar for MayaLocke
0
118
Member Avatar for rajeesh_rsn

Hi i wrote a code to upload 4 images. I wrote code and works fine for my need. I wrote some thing like this. file1,file2.... file4 as the names of file fields. and in the process.php page like this [ICODE]if ($_FILES['file1']['name'] != '') { //// file upload } then file …

Member Avatar for rajeesh_rsn
0
94
Member Avatar for ripper1510

I have come up with a day comparison script and it worked fine until daylight saving kicked in. Now all the dates i insert into my database are 1 hour faster. So current date plus 7 days = 7 days + 1 hour. How do i solve this? The code …

Member Avatar for ripper1510
0
209
Member Avatar for nickfday

Is it possible to have an include function several times on the same page pointing to the same php file? Here is my setup: I have a page (form.php) which uses forms to run a query in another (results.php). This page displays several tables based on how many records are …

Member Avatar for nickfday
0
2K
Member Avatar for finalsemstudent

i have this code. the looping code. but i dont know how to pass the value to the next page. help me please! :P <?php $req = $_POST['req']; echo "<form>"; echo "</form>"; $i=1; while($i <= $req) { echo "<label>Requirement " . $i . " :</label><br/"; echo "<input name=\"req".$i."\" type=\"text\" /> …

Member Avatar for cwarn23
0
76
Member Avatar for jino

Dear all, I had set the 17- character long transaction id, that i got from the paypal in the successful completion of the order transaction, in the DoAuthorization request to paypal.. But i am getting an invalid_transaction_id response from the paypal. What will i do.. Please help anyone.. Thanks

Member Avatar for cwarn23
0
139
Member Avatar for hilimili

Hi-DaniWeb community! I'm New here and already have a question: What software or program used <URL SNIPPED> Best Regards hilimili

Member Avatar for mrcniceguy
0
84
Member Avatar for jtyler

Table does not display any border when php outputs data from MySQL. I'm trying to set the following styles for table: border-width: thin border-style: solid Below is the snippet of code I'm having trouble with. print( "<table border-width = thin border-style = solid cellpadding = 1 width = 1400px>" ); …

Member Avatar for jtyler
0
2K
Member Avatar for nickfday

I want to pass a php variable into xml script. Essentially what I want to achive is: var xmlvariable= '$phpvariable'; Is there a simple solution to this? Many Thanks Nick

Member Avatar for nickfday
0
2K
Member Avatar for theighost

Hi, I am making a site, in firefox it looks fine, but in IE its a mess, take a look at the first page, you will see that the images are not filling the space as they do with the firefox, although they have the same deminsions. The site is …

Member Avatar for theighost
0
143
Member Avatar for jumbla

Hi guys and gals, I am using the following code as a searchbox at the top of my site. [code]<form name="classic" method="post" action="error.php"> Quicksearch: <input name="INPUT" id="INPUT" type="text" value="" /> <select name="countries" onchange="updatecities(this.selectedIndex); document.classic.action=(this.value)"> <option value="" selected>Choose a category</option> <option value="search1.php">Category One</option> <option value="search2.php">Category Two</option> <option value="search3.php">Category Three</option> <option value="search4.php">Category …

Member Avatar for jumbla
0
250
Member Avatar for rEhSi_123

Hello eveybody, I am currently creating a forum system and have gone completely blank as how to fix this issue! The issue is as follows: A topic is created. A user comes along and comments on the topic and message is posted on the thread. Right! Now another user comes …

Member Avatar for rEhSi_123
0
218
Member Avatar for Pado

I can pass my SWF file a variable from PHP using Flashvars, but when I try to pass in a number Flash tells me it's NaN. Is there something I can do to make sure it is a number? I'm not sure what to do here. Can someone help? Thanks …

Member Avatar for Pado
0
105
Member Avatar for rajeesh_rsn

Hi I had a database . I need to take one of the cell content into an array. I had code but not working [ICODE]$select=mysql_query("SELECT * from db where name='rajeesh'") or die(mysql_error()); $new=mysql_fetch_array($select); $forfriends=$new['first']; $forf=array ($forfriends); while (list ($key, $val) = each ($forfriends)) { echo "$key -> $val <br>"; }[/ICODE] …

Member Avatar for cwarn23
0
74
Member Avatar for bthaxor

hey all, could someone please help me with my htaccess file... i am currently running a wordpress blog, and a url for a search (here the term 'SEARCHTERM' is searched) is like this: [CODE]http://www.bthaxor.com/?s=SEARCHTERM&search=Search [/CODE] i would like to use mod_rewrite to convert such a url to this (exactly like …

Member Avatar for cwarn23
0
97
Member Avatar for atheist

[CODE]<?php // find out the domain: $domain = $_SERVER['HTTP_HOST']; // find out the path to the current file: $path = $_SERVER['SCRIPT_NAME']; // find out the QueryString: $queryString = $_SERVER['QUERY_STRING']; // put it all together: $url = "http://" . $domain . $path . "?" . $queryString; echo "The current URL is: …

Member Avatar for atheist
0
132
Member Avatar for notetech

Comparing to .NEt and Java programmers, my friend argues that PHP is an easy to learn and do platform. I need some points to counter him. you are welcome.

Member Avatar for jbennet
0
90
Member Avatar for bsteinex

I'm trying to use mysqli with Apache 2.0.63, Mysql 5.1.32, and Php 5.2.9-1 for Windows. Looking at phpinfo() I can see mysqli installed. I can also run a mysql query. However when I attempt to run a prepared statment I it fails at the if statement if($stmt->prepare($sql)) with the following …

0
35
Member Avatar for grunge man

i have a parse error and i just cant figure out what it is because it seems my code is right but maby im wrong any advise is apreciated aswell heres my code [CODE] <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="en" lng="en"> <head> <title> Background Colors </title> …

Member Avatar for grunge man
0
109
Member Avatar for Mtowns Finest

Hello - I'm new to PHP, only been learning it for about a month, but I think I am starting to get the hang of it. I am working on a project that involves the Google Maps API which uses markers that are populated by values from a MySQL database. …

Member Avatar for Mtowns Finest
0
249
Member Avatar for Andrieux

I have two files, index.php and config.php. Config.php has a lot of variables, such as $CONF['sql_user'], $CONF['installed'], etc. How can I edit those variables from index.php? For example, if someone hasn't used my script yet, then $CONF['installed'] = 'no'. When they do use it, I want $CONF['installed'] = 'yes'. How …

Member Avatar for darkagn
0
83
Member Avatar for carthous

Ok im a complete noob to PHP. I'm trying to make a contact form. I had it working perfectly before. But now it seems that I have messed sometime up and I dont know what. I'm using this code: NOTE: I put the email address to [email]blank@blank.com[/email] solely to not …

Member Avatar for carthous
0
160
Member Avatar for theighost

Hello, I have this script for an ajax slideshow. I made the functions and they are working perfect in Firefox, but in IE they are not working? could the error be when I call the functions, or might it be the functions themselves here are the functions [CODE] function isIE() …

Member Avatar for theighost
0
97
Member Avatar for stevehart808

Hi all, I've got this problem where I'm using one "include header" for my website. It has in it the navigation and because my site is spread out in and out of folders I need to use absolute links to connect all the various pages. i.e [code] <a href="<?php echo …

Member Avatar for chrishea
0
109
Member Avatar for orchids

Need help!!! Please I am new to PHP so please bear with me. I have a page that I display several questions retrieving from the DB along with its answers. I do not have any problems displayed them. Each question have 4 checkboxes. Users can check as many boxes as …

Member Avatar for orchids
0
86
Member Avatar for 1baxter1

Hi Ive wrote a upload script for a photo website im making and ive cam across a unusual problem. The script inserts all the values into the databse correctly and displays "file upload successfull" but the photos are not copying onto the server. any help will be appreciated, thank you! …

Member Avatar for 1baxter1
0
120
Member Avatar for csharplearner

Hi I want to display results which are retrieved from the database in the following format: 1 2 3 4 5 6 7 8 9 ........ ....... ..... based on the mysql_row_count() dividing the results into 3 columns and n rows. [code=php] $result1 = mysql_query("SELECT * FROM table2"); $row = …

Member Avatar for csharplearner
0
318
Member Avatar for prawin@123

Hi Can any One Help me in Sending e mail . I am creating code for Forget password where iam sending the password to those eho forget based on their Email iD. It Partially works but Sends Error as [QUOTE]Cannot send password to your e-mail address ie error 3 [/QUOTE] …

Member Avatar for prawin@123
0
96
Member Avatar for sreya.n

Hi all How can we modify the attribute of a node using DOM in php? For eg : [code]<node width="50"> <detail>test</detail> </node>[/code] i want to modify the attribute width as 100 using the php code? how can i do this? Thanx in advance...

0
71

The End.