39,320 Topics
| |
Hello the code below checks if the email is real but when a real email is entered for some reason or another it states undefined when the sumit button is clicked even though the email entered is real. if no email is entered is says enter a an email, if … | |
Hello I have a category select menu, what I want is to when user select a category I have to repopulate the sub category select menu with items can I do this with out AJAX, it does not matter if there is a another request can I use a onchange … | |
Hello people i need some help, ive got all the code but having problems making it work. The webpage which i am creating allows the user to select day and time and when they click search it displays the results and i want the user to be able to select … | |
is it possible to alert session variable.is the syntax is correct... [CODE=php]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login() { alert($_SESSION["un"]); } --> </SCRIPT> </head> <body bgcolor="#f1f3f3"> <form> <?php print "<input type='submit' value='submit' onClick='javascript:login();'>"; ?> </form> </body> </html>[/CODE] | |
[CODE=php]<? $c = $_POST['col']; $r = $_POST['rw']; ?> <? for($cvchk = 1; $cchk<= $c; $cchk ++) { echo $cchk."<br>"; for($rchk = 1; $rchk<= $r; $rchk ++) { echo $rchk." "; } } ?> [/CODE] i don't know what is wrong with this one i want the output to become this … | |
ok i think someone got into my sever. and when ever you try to go to like sdlfsdjklfjlkdsfjk.php or any page that doesnt exist but has a .php it says "No input file selected". Anyone know why? I think someone got in using my File upload manager. but i deleted … | |
Hello everyone, Im once having problems trying to retrieve information from one of my tables. I have a table with the following information: [code] CREATE TABLE `island2` ( `id` int(10) unsigned NOT NULL auto_increment, `user` int(11) NOT NULL default '0', `island` int(11) NOT NULL default '0', `town` int(11) NOT NULL … | |
The title might be messed up a bit; I didn't know how else to title it... Basically I'm making a web page for a guy who sells sports memorabilia/penants/team clocks, etc. for free as a favor, and I'm making the item create page where you type in the name of … | |
I know you cannot have multiple headers in a section of code. But is there a way to make it work? I require 1 header to refresh the page. I require 1 header to open a new page. Note: The refresh paged is not the new paged that is opened. … | |
Hi everyone !!! I'm new here... and i have my first question... let's see if someone can help me... I have a form on the web i'm working that collects messages from viewers in a database, right? How can I make a script to send me an automatic e-mail everytime … | |
Hi All, I am trying to send some data using Ajax and recieve that data in php code using _POST method. But my data contains "&" and _POST method takes it as a seperating token and data after tht does not get passed. Does anyone has a solution to this. … | |
Now i know how Display someones information from DataBase after loggin In using php. Now i want to understand how can i arrange the profile. So that the profile will be more proffesional. For example. a table in which someones info are, including picture,message,video, even a search box if one … | |
I installed oscommerce successfully.But when i try to place order through payment by paypal. At paypal page the message comes as below [QUOTE][B]Please provide an amount and click Update Totals Item osCommerce Price $0[/B][/QUOTE] Please be advice how i can get the information which order is placed and price on … | |
Hi and thanks for looking. The code below is my signup page and it all goes fine until i have to compare the code i sent to their email address with the code they copy into a textbox. It works but only on when you submit the form and then … | |
Couls someone help me fix this code, I think I need to put in a function and a return but i'm not quite sure. All the code does is return the value # for everything even letters [CODE=php]$letter = ucfirst($_POST['tut_name']); $letter2 = $letter{0}; if($letter2 = 1) { $letter3 = '#'; … | |
hi please tell me the answer of this question How to give the variable value to textfield on same page? | |
Can someone give me idea on how to remove image url? For example when i click on the news link..the news information will come out..In the news information page, i only want text.I dont want to display the image. How can i figure out the image.Cause my problem is.. the … | |
Hey all im basically a bit lost when it comes to how to do something in PHP. Im new to php programming and any help would be greatly appreciated: I have a query that displays a list of courses (In a while loop).. now all these courses belong to say … | |
How can i allow a user to select only 2checkboxes, if they choose more then 2an error message will appear saying you can only select 2, heres my code below where the checkboxes are used. // Loop through data and display [code=php]while($a_row = mysql_fetch_assoc($result)) { echo "<tr>". '<td style="color: black;"><input … | |
Just set up a local host with php an apache 2.2............. it says all working fine but when I test, it looks like apache dosn't know what to do with php and asks if it shouldm open with a program or download???? any ideas......... Brian | |
i created a databases with name,lastname,username,password,email,country and proffesion. Also created a registration form. apart from from i also created a Login Form in which only username and password. Now I need when Someone is logen in To view all of his Datas supplied while registering. How can i Do this?? … | |
Hi all, I was wondering how to you create application in PHP . Do you have any program tool ? Or you write Forms or you do something else . Do you know any good site about application development in php . Thank you for your info . | |
give me idea to develop hotel booking check in and check out date using drop down list day month year with calender. | |
Hi I'm trying to use the image mapping, but the problem is: 1. i'm not a web developer and i'm not sure how to do that. 2. the site on which i'm trying to do the image mage is php bases. 3. i tried to do it using dreamweaver but … | |
Hi there I'm having some problems with my form. I'm generating my form through php and I can't quite figure out how to echo <?= $_SERVER['PHP_SELF']?> for the action in my form tag. at the moment what I have is this: [code=php]echo "<form name=\"tsgh_add\" method=\"post\" action=\""; ?><?= $_SERVER['PHP_SELF']?><? echo "\" … | |
hello, basically ive got a while loop which brings up bookings dates but i want to send a selected row to a table within the sql table but depending on, one specific field for instance if the name = "tom" i want to send it to the table called tom, … | |
Is there anything wrong with this script? [CODE]<?php $username=""; $password=""; $database=""; $rom_name = $_POST['rom_name']; $rom = $_FILES['rom']['name']; function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } if (empty($rom)) { $result = '<font color=FFFFFF>Please choose a ROM … | |
hello..can i get the php code for print function..does anyone have the code?..tq..i'll appericiate it. | |
[B]I'm writing a simple weblog, and I'm new to PHP; but thanks to this particular resource, I'm learning more and more. With that said, I'm making some mistakes, which I need help finding solutions for. I'm receiving these three Warning/Errors:[/B] Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: … | |
I'm only learning PHP, and have encountered some problems that I'm sure are issues newbies often encounter. Nevertheless, I need help. I'm writing code for a simple Weblog forum and one of the problems I've encountered comes on a page entitled viewcat.php. To me, the code looks good. But I … |
The End.