39,316 Topics

Member Avatar for
Member Avatar for dandixon

Got the code below for a login form to check that users dont miss a field and then to check wether or not the data user and pass fields match what is in the database but i cant seem to structure my [COLOR="Red"]if, elseif, else[/COLOR] statements correctly [CODE] <?php /** …

Member Avatar for dandixon
0
85
Member Avatar for chiyankarthi

hi, I like to knoe that how to use page navigation in php and how to retrieve data from databases...Please send the code for particular task.. thank you, regards by, karthick.s

Member Avatar for lapunluyang
0
79
Member Avatar for cyberprincess

Hello, Can anyone please help me straighten out this error? I've tried a few things, but cannot seem to solve it. I am getting a 500 Internal Server error on a Wordpress 2.8 blog. I cannot get any pages to show up, nor log in to the admin area. The …

Member Avatar for tami64
0
209
Member Avatar for leemp5

Hi guys, I have a page that echos fields from a database based on various text and combo box selections. I am trying to get it so that when the page is refreshed, the echoed vales are still displayed, even if the form fields are reset. Im under the impression …

Member Avatar for gunnarflax
0
119
Member Avatar for bjeffries

I have a Join page on my site(which also has a login form). Is it easy to write java-script to determining if they do not have matching passwords(re-type password for Join form) or a valid email without redirecting you from the page? That way if something is wrong it shows …

Member Avatar for gunnarflax
0
238
Member Avatar for dflor

For instance, the following script works fine without html <html><head></head><body><?php $im = imagecreatetruecolor(100, 100);// sets background to red $red = imagecolorallocate($im, 255, 0, 0); imagefill($im, 0, 0, $red); header('Content-type: image/png'); imagepng($im); imagedestroy($im); ?></html> How could we include a php gd library into html?

Member Avatar for gunnarflax
0
137
Member Avatar for phplover

Hi, I know and understand what magic quotes does, but have never written any of my scripts to check whether magic quotes is on or not; and if on stripslashes() . I thought it was time that i do this check incase any of the scripts i create are used …

Member Avatar for hielo
0
121
Member Avatar for AboJaD

i have two web servers, one that hold the site files and database, the other have a folder named images which will hold the member photos. on the site server i have a php file, which should contain a script that grab the photo the member chose to upload and …

Member Avatar for MindSter
0
193
Member Avatar for carlogl

I have problems with this part of my code, I try to make a dynamic email and send it, I already can send a plain email with this but now I need to make an email with personalized info. I hope you guys can take a quick look. [CODE=php] $smtp …

Member Avatar for carlogl
0
154
Member Avatar for cpu278

Hi, quick question, more of a curiosity. Is there a PHP method that has as input an int and returns the name of the number as a string value? Say, for input 0 it returns "zero", for 7 returns "seven", and so on? Thanks

Member Avatar for cpu278
0
141
Member Avatar for focusondot

Hi Community of DANIWEB, first time here, first post below...and I'm pretty new at this as well. I'm getting this error "Column count doesn't match value count at row 1" My code is: [CODE]$insertSQL = sprintf("INSERT INTO tearSheet (". "compType, ". "compType2, ". "report_date, ". "numEmployees, ". "cliNumber, ". "execSummary, …

Member Avatar for focusondot
0
129
Member Avatar for Bazzaah

Hi I am writing a site that will include an audio dictionary. The dictionary will have a working search function. [B]This is what I have so far:[/B] When a search is made, one or more results is returned. The user can click on each result to get taken to a …

Member Avatar for MindSter
0
187
Member Avatar for belometer

Hello there, I'm in the process of learning C# and windows forms. What I'm trying to do is adapt some scripts I have already made using PHP and MySQL to work in a windows environment and GUI. I previously wrote it using PHP because I was already familiar with the …

Member Avatar for belometer
0
135
Member Avatar for heshanm

Hi, I want to retrieve data from my database and display it in a particular form. The data should be displayed in text boxes. This is the coding that i have used. But it is not working. Can someone help me out...... [CODE] <?php $connect=mysql_connect("localhost","root",""); mysql_select_db("bank",$connect) or die ("could not …

Member Avatar for MindSter
0
141
Member Avatar for devHelp

I want to search a folder/directory on a client's computer when a button is pressed. Opendir seems to scan the path on the server and not the client. Can anyone confirm or deny this, and if it is possible how should I go about doing it?

Member Avatar for mschroeder
0
145
Member Avatar for searchacar

Hello everyone, I have a site [URL="http://www.searchacar.co.uk"]used cars[/URL] and I am thinking to implement search facility. I need some information to implement a searching similar to autotrader. Means when people search on my site it shows cars according to closest to postcode search. Is this easy to implement. Are there …

Member Avatar for benjaminFowl87
0
78
Member Avatar for rahulephp

I am a php programmer but I am not so good with XML files. For a price comparison website, I need to parse the Amazons XML feed to store product data into the database. Can anyone please help me to find out such a simple script to parse Amazon XML …

Member Avatar for Kieran Y5
0
652
Member Avatar for phplover

Hi, I am driving myself mad. I have not posted the full code but wondering if someone can help. I am testing a deletion of a record and file using the code below. The problem i am having is that although i delibrately remove the the variable $id from the …

Member Avatar for phplover
0
102
Member Avatar for Mecklar

I have a simple 2 option drop down menu which corresponds to a column in my database. The drop down menu is not populated by the database it is just used to update the data in that 1 column. However I was wondering if it would be possible to make …

Member Avatar for Mecklar
0
89
Member Avatar for sugikrish

i frnds, Many times i try to retrieve image from database. Successfully it upload to database. but cant retrieve. any one know this? Thanks in advance....

Member Avatar for MindSter
0
52
Member Avatar for prerit

I have a HTML form Having two fields [B][I]From:[/I][/B] and [B][I]To:[/I][/B] both are [I][U]text[/U][/I] fields(to genereate a report).I want to use these data to query on two tables based on the date specified(DD-MM-YYYY) i.e from and to and using these to select values from the two tables visitor_in and visitor_out …

Member Avatar for Stefano Mtangoo
0
183
Member Avatar for demented_gurl

Hi, I would like to make an Online Course Application System. I'm just wondering, what are the frameworks,technology that I need to get started? I'm thinking of using PHP and MySQL. I've used Joomla before, but for normal web page, is Joomla capable of handling such system? Thanks.

Member Avatar for MindSter
0
153
Member Avatar for backendcode
Member Avatar for ayooshkasmth

Hi, i have been trying in vain all day to assign child name to a parent id in an innodb table with foreign key. I can retrieve the parent id fine, but the problem is when i try to insert child name, PHP doesn't seem to be passing any values …

Member Avatar for MindSter
0
92
Member Avatar for dandixon

[url]http://www.dandesign.co.uk/steel/register.php[/url] above is the link to my register page, filling the form in works fine but if you leave it blank and click the submit button it removes the footer of my page, please someone help i really need to get this sorted heres the code to my page too, …

Member Avatar for MindSter
0
220
Member Avatar for cristi08

Who can repair this it really a wizard. I try to add a column to an existing table. It a compound foreign key column from ather two. [CODE]ALTER TABLE valoare_lucrari ADD COLUMN id_oferta FOREIGN KEY (id_ofertant, id_proiect) REFERENCES valoare_lucrari(id_ofertant, id_proiect)[/CODE] It may be a problem of sintax or even it …

Member Avatar for cristi08
0
73
Member Avatar for priyam1309

I want to create a layer popup, as the one used on this website when you click on Member's login. I require the solution to be in HTML & CSS, JSCRIPT, PHP, etc. When the page opens, the popup should appear and the background (main webpage) would be blacked / …

Member Avatar for gunnarflax
0
97
Member Avatar for love_bug

I have Webpage written using PHP that displays data from MySQL tables. I want my page to refresh after new records are entered to the database.

Member Avatar for gelos
0
293
Member Avatar for chiyankarthi
Member Avatar for levsha

Here is my php: [CODE]<?php $confirm = $_POST['confirm']; if(($_POST['confirm'] == 'Y') {header("Location: http://mysite.com/sage/page1.php");} else {header("Location: http://mysite.com/sage/disagree.html");} ?>[/CODE] Here is the HTML: [CODE]<form id="form" action="terms_redirect.php" method="post"> <table id = "radio"> <tr> <td> <input type="radio" id="agree" name="confirm" value="Y" /> </td> <td> <label for="agree">I have read and agree to the Terms and Conditions</label> …

Member Avatar for levsha
0
207

The End.