39,393 Topics
![]() | |
Hi Everyone, I am a bit new to using php/Mysql and i am having a little challenge. I am creating an online form but on entering a value in one of the form fields, i want to add a link to check if that value is valid(ie if it does … ![]() | |
Hi, In PHP, What should be the right code so that , I can open & Show an another New form (may be called as "form1"), on the same current window page (may be called as "page1") , as i click & select one of the two radio button choices … ![]() | |
i am creating chat server in php where i need to get dynamic data in php page without referesh can anyone guide me how to do it | |
i want to display database value in atable and edit new value in the existing field.how is it possible.please help me | |
Hi to all, I am beginner in the field of php & I have a problem as, I want to show a form , after selection of one of the two radio buttons choices & then click on submit button. Can i use "onclick()" for this ? if Yes, please … ![]() | |
Hi all,i need help with validating php form..I got 3 php files.How do i show the error messages beside the text input..Here are the codes that i have made.Thanks.. output_fns.php [code] <?php function do_kepala($title){ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title><?php echo $title ?></title> <meta http-equiv="Content-Type" … ![]() | |
Hi I need a bit of guidance please, I want to place a feedback page on a small site I am working on. The form will have 4 options per question. I would like the results of feedbacks to be available to admin only in 2 ways: # as graph … ![]() | |
Hi guys, I am trying to echo some output based on a variable in my PHP. I can code an if statement to echo the output if the variable is not empty [inlinecode] if (!$variable=='')[/inlinecode] but my problem comes if the variable returns the value "N/A". If it returns N/A … | |
Hi, I'm looking for help with my description meta. I have set it for a maximum length of 150 characters which works fine, but does anybody know how I can set it so that it stops after the first white space after 150 characters ie so that only full words … | |
Hi im developing a PHP website based on PHPRunner 5.0 and i feel that it has basically all the features that im looking for. However i do want to have a private messaging system for users to send messages to other users. anyone knows which software have this component and … ![]() | |
hi there...i really need some help... am develope training calender.. so in table i have training title n date for training ( from jan to dec). i have some problem when i wanna view all the training. fo example . in table i got 3 data: 1. training abc with … ![]() | |
I want to know if this image has been viewed let say if I have this link : [url]www.example.com/image.jpg[/url] when the imaged get viewed I want store the time of view in db , my only problem is how can I tell if the image has been viewed and how … | |
Hello! Im new to PHP and have a need for what I have found out is called AJAX. I prefer to code in PHP for my DB access. I need to create a dropdown list using AJAX that updates it self depending on what is slected in the parent dropdown … | |
ok so, the problem is it goes straight to the register3.php and it totally ignores the if statements! here is the code: [ICODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title>Register</title> </head> <body> <center> <h1>You Are Now Ready To Register!</h1> <div class=indexboxlarge> <form action=" " method="post" name="register"> <label>First Name*<br> <input name="name1" type="text" … | |
somewhere i read to install joomla i must install it in apache's directory htdocs... but i installed the php5, apache, mysql pack with easyphp... and it doesn't have any htdocs folder... where do i install it then? | |
ok so what i want is the image path to be implemented in the database, but i dont understand how i can also include the speech marks for the image source. Heres my code: [ICODE]<html> <head> <link rel=stylesheet type=text/css href=style.css> <title> Image Upload </title> </head> <body> <?php include("header.php"); ?> <br> … ![]() | |
Hello I have a question about pulling a value from a mySQL DB. Wondering how you pull just one value out of a list.. ex. Table name is People ID 1 FIRST NAME Jim LAST NAME Boberson PHONE 555-555-5555 AGE 99 How would I display just Jim Boberson's age on … | |
Here is a little bit of the code that generates a number based on retrieving the largest number from the field Number. However when it inserts it in, the Number value is 0. here is the code: [ICODE]<?php SESSION_start(); include("dbcon.php"); dbcon(); $user = mysql_real_escape_string($_POST['user']); $content = mysql_real_escape_string($_POST['content']); $date = mysql_real_escape_string($_POST['date']); … | |
as i`m creating a social network website,i would like to inhance members to upload photos to their personal albums. So i dont know how to get started,is there a free script i can use or somebody to explain to me what i need to do inorder to fulfill my needs. … | |
Hi am currently new to php i know all the basics etc but wanting to learn to do bigger more complicated things can anybody reccomend any gud software or books or anywhere could have help learning any help would be appreciated fanx | |
i get this old code to create some tables but it gives me error this [code]#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`message` TEXT NOT NULL , `from` INT( 11 … | |
Hello all, I have this strange problem. I have a website where user can post messages to the site. I see from yesterday that someone is trying is manipulate with the forms. I see some 1048 messages posted in a single minute to the site :( . I used nl2br(htmlentities(-displaymessage)).. … | |
ok so here is the error:[ICODE] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from, content, date) VALUES('', '', '', '')' at line 1 [/ICODE] Between the apostrophes is the information from the … | |
| |
Hello Again everyone, I have two forms on the same page, i have text input fields and the drop down boxes i created are auto submit boxes i created with javascript. Now the problem is that when form 1 submits itself it resets form 2 and vica verca i am … | |
Can anyone please help here I have a form that i wish the user to select a product from a drop down box and then query it in a mysql then i would like to the user to input a number in the next field the press the submit button, … | |
Hey All, I've got a web page that displays multiple boxes of text using php. The text are coming from .txt files instead of using a database to store the data. I can update these text files when I want to change the information. My problem is that I need … | |
Hi everyone i cant seem to get my drop down boxes to retain the data the user selected is this code right? [CODE]<select name="bap1" id="bap1" onchange='this.form.submit()' value="" > <option>Select One</option> <option value='Energy Efficient Cooking' <?php if($_POST['bap1'] == 'Energy Efficient Cooking') echo "selected"?>>Energy Efficient Cooking</option>[/CODE] Tahnks in advance anyone!! | |
i want to Call a Div tag in validating a form.....that means i need a div call at the onblur condition....in that time i want to recieve a msg like this username is already exits....like that ![]() | |
Hi everyone and thanks for reading. Up until yesterday I was unaware of this technique, and have always just ran a user's password through md5 and stored the result to the database. From what I've been reading about SALT it sounds like a very cool way of making your passwords … |
The End.