39,323 Topics
| |
Dear All, I am new to MySQL. Can i retrive the result of a query as the combination of different fields of a single record.. For example.. if the result record of a query is ... id(1), country(India), Location1(maharashtra), Location2(pune), Location3(Navi Mumbai)... My doubt is that can i retrive the … | |
I have a problem with my script i am trying to format a text area so that on the next page it displays it as it was entered in the textarea. my css style says this textarea { width:450px; padding:2px; font: normal 1em Verdana, sans-serif; border:1px solid #eee; height:100px; display:block; … | |
I choose something from selectbox and click on the button and i get list of the data from database but, whatever i choose from selectbox doesn't remain what i have chosen. It sets itself to first value. How can i do "selected" ? [code] <?php $mysqli = new mysqli("localhost","root","","inantest"); if … | |
Hi all can anyone tell me that how to upload an image (jpg) on a page. Dawood Khan | |
Hi i am new to php. The code below is a page that display results from the database. i included a table. When the search result displays the result it doesnt go on a new line. For example the name neil Mcman and Peter Worth comes in the same line. … | |
does anyone no if it is possible to convert a php/mysql page into a html page? if it is would it be possible for you to point me in the right direction as i have no joy searching the net. | |
Hello i want a basic search which counts how many records there are ths code works in mysql but when i use it in php its jus prints this code and dont display result // Standard SQL $query="SELECT COUNT(*) FROM dates WHERE search='yes'"; echo $query; | |
hello people ive got a signup form which allows people to signup and login but to signup they enter there email address in which is then used as there login name, its all working but when the next user signs in they mite type the same email address in so … | |
Hey guys, I've heard that you can write php code when its combined with javascript, you just need to echo"" out all the javascript functions. So i've done this and it is working.. to a degree. From using Firebug to test the page, the javascript is coming through and it … | |
hello, all: I need help retrieving records from a catalog-like format I am building. Should be soemthing simple i think, but just cant get it... Here is the thing: I have a mysql "Products" table with each product's info in it, and another "images" table that has all the image/paths … | |
Hi, any help would be greatly appreciated on this Ive discovered that if I am using a form, with the 'server[php_self]' action, then variables that i created earlier (such as ones i retrieved from the URL) disappear, or become unuseable... how do i retain these variables, or pass them for … | |
i have a table where the table contains the path of the files. when the user enters a word in the text box it should search all the file and display the files.p | |
Hi all, I am not able to get the session in IE.Its Working Fine in Mozilla.I tried a lot to Overcome this Problem.Session registration was Successfull.After Successfull login i am redirecting to some Other page.Here Session is Not Coming.Anybody can help me for Doing this? Rajeev | |
I am creating a php property buy/sell/trade game. The goal is to have the most properties and the most cash after a set time period (cash prize awarded later in site development). I was wondering what you guys would like to see in a game like this. Here is a … | |
Hello ive got a form where the users enter there details on a form then click on submit which then should update there telephone number, where is says where Email= $_Post[Email]") thats one of the fields that automatically appear the email cant be updated, this code below luks correct and … | |
Hello ive got a login screen user logs in then they should be able to update there details there orignal details appear in textboxes so i want the user to be able to edit there old details in the textboxes and update them but dont understand how can i update … | |
Hi, This code works fine but, when i choose "Female" from selectbox, it sets "Male" in the selectbox again. What is the problem? Thanks [code] <?php if (!isset($_POST["sex"])) { print "Please start!"; } else if ("Male" == $_POST["sex"]) { print "Male !"; } else if ("Female" == $_POST["sex"]) { print … | |
I'll make this real short - don't know much about PHP. This form was created and then run through a utility that sets all required fields. I am getting a T_string error message in line 1. If someone can help I would greatly appreciate it. I am attempting to include … | |
I have a page1.php which is a form and i want to be able to go to page2.php when i click submit in page1.php.? How do i do that ...my page1.php is a self processing form. this is what i have now... <form action="<?php echo $_SERVER['PHP_SELF']?>" method="post"> - this is … | |
OK so i bought a Myspace clone for my web site, [URL="http://www.maddogsprofiles.com"]http://www.maddogsprofiles.com[/URL], but it doesn't work. Why you ask, because the functions.php file is all screwed up! My admin panel doesn't work and the site is a basic demo site. I got like 4 different error codes from it! And … | |
I am getting the following error when executing the script with the below code... Parse error: syntax error, unexpected $end on line 125 I am trying to generate a completely new .php file from information stored in the database by using this .php file. Any Suggestions??? Thanks in advance for … | |
Hello ive got a while loop and when the user selects one result from the loop it displays the chosen result and inserts it into the database table but i want the selected row to go to a table depending on one field from the while loop. there are three … | |
Any script with an error in it shows up blank on firefox. In IE, however, I get html 500 (internal error). I figure PHP isn't echoing its errors back to the client. Is there a way to set this behavior? | |
Hii..... Ok here goes my issue I am developing a recruitment tool intranet aplication for my company and when i post a resume i want a pop up which is same like when we upload a pik in sites liek orkut...its basically used in php i wanna know how can … | |
Hi, I want to configure php 4.3.2 on windows 2003 server. I installed binary but I am not able to view php pages on iis 6. Can anyone help please? Thanks in Advance Vishwajit | |
Hi I have issue regarding the mail, which is not sending to my mail account. 1. <html> 2. <body> 3. <?php 4. if (isset($_POST['email'])) 5. //if "email" is filled out, send email 6. { 7. //send email 8. $email = $_POST['email'] ; 9. $subject = $_POST['subject'] ; 10. $message = … | |
Have been searching all over the web for this, no luck yet.... I'm starting a site, obviously have no members yet. But, the amount of members I have will be important in attracting new members. Where can I find an automated profile generator, or can someone point me to a … | |
hello people i basically i need some information ive got a booking website which allows users to book a hotel room but once they book the room i dont want that room available to anybody else, im using Mysql databse linked to php, in the database i got a colum … | |
Can anyone show me how i can view the images which i sent to msql database, i open the msql console, and type the folowing but nothing displayed: >SHOW DATABASES; >USE photos; >DESCRIBE image; >SELECT id,image FROM image; then the id displayed № 1,2,4,5,6,7,8,9 numbers of images i sent to … | |
My code only inserts the last value of the array into the database column. Even though when it runs for the foreach loop it echo's each of the expected values out of the array. I'm pretty new to PHP so I'd be grateful for any help with this. Thanks NH … |
The End.