39,316 Topics

Member Avatar for
Member Avatar for nawabsheriff

hi to all pls help me to store whatever the user enters in text box in a table and then get the records from the table and use it in drop down list. Any idea or tutorial to do like tat....

Member Avatar for Will Gresham
0
100
Member Avatar for ahmksssv

Hi frnds... i need to select only fixed no.of records from my db table... table having 100 records... i need to select recent 10 records based on id .... plz tell me whats the logic in this....

Member Avatar for cwarn23
0
61
Member Avatar for PinoyDev

Good day.! I thought ive already solve the problem regarding to disable a button. When a variable totalbill is equal to zero the button will be disable, otherwise it will disable if totalbill is not equal to zero.! If totalbill is zero then it will be enable otherwise disable. Whats …

Member Avatar for cwarn23
0
424
Member Avatar for Dsiembab

This isn't really a question I just noticed on the php manual under control structures that they are going to be using goto. I don't know how old any one is in this forum, but when I saw that it brought me back to the days of when a cd-burner …

Member Avatar for death_oclock
0
206
Member Avatar for ahmksssv

Hi frnds... I have some doubts regarding this PHP... 1)i need to display an add in between two pages.....i.e. when i post data from 1st page to 2nd page than, i want to display an add before redirecting the 2nd page...by using PHP or JavaScript... 2)Can we pass input value …

Member Avatar for cwarn23
0
114
Member Avatar for PinoyDev

Good day. I was able to take a nightmare of my code regarding to disable a button. This code derive from a member post in this site. it will retun errror.! [code=php] <?php if($totalbill==0) { $disabled="disabled=true"; } else { $disabled="disabled=false"; } echo "<input name="enrlclick" type="submit" class="style18" id="enrlclick" value="Enroll Now" ".$disabled">"; …

0
64
Member Avatar for PinoyDev

Good day.! Thank you for all your support to all my thread. By the way Ive got some error regarding of mysql query. I want to load all data from the table depending on the table name on the variable.!I dont know whats wrong with my query below.! [code=php] $coursesubject=$row_reclog['tablename']; …

Member Avatar for PinoyDev
0
170
Member Avatar for localp

i am new to PHP, i typed in a hello world php program and opened it using the web browser, but the end tag "?>" is also getting displayed, could any one correct my code ... [code=syntax] <html> <head> <title>My First PHP Page</title> </head> <body> <?php echo <b>Hello World! </b> …

Member Avatar for cwarn23
0
138
Member Avatar for gangsta gama

Ok guys, I have a problem. I am a total noob coming to php so was was going to set it up. I was following this tutorial: [url]http://www.youtube.com/watch?v=cSN34q47BXY&feature=related[/url] I got XAMPP all set up. But one problem, my computer can save .php files. How do I get this to work? …

Member Avatar for gangsta gama
0
87
Member Avatar for puk

Im doing a login facility for my website iv connected it to the database but when i try to enter some values for login name and password i get the following message: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/milkitshakeit.freehostia.com/log.php on line 16 Here is …

Member Avatar for Andrieux
0
170
Member Avatar for ahmksssv

Hi frnds.... i am working on file handling.. I need to display text from my file... here i got everything, but the alighnment is totally looks like notepad...i want to display same clarity(styles) which my original file having... plz give me any solutions asap.. Thanks & Regards..

Member Avatar for almostbob
0
134
Member Avatar for progurammaar

Hi i'm used to working with Visual studio IDE and C#.NET and have just started studying PHP. These are my queries: 1. Is there any IDE like the visual studio for PHP, i mean it was a lot easier dargging and dropping controls in VS. Suggest me one. 2. Is …

Member Avatar for progurammaar
0
108
Member Avatar for PinoyDev

Good day.! I am having problem with passing the parameter value. I have a page called index.php. This page has a textbox named "username" when the user login and type his/her user name in the textbox named "username" i want the data of that user to be displayed in the …

Member Avatar for PinoyDev
0
166
Member Avatar for designingamy

Hello all! Sorry in advance if this seem like a really dumb question. I have one page where a client posts their personal info. One way I check the post is to use htmlspecialchars and then store it in a session. For example... [code] <?php session_start(); include ("databaseinfo.php"); //Form validation: …

Member Avatar for Will Gresham
0
113
Member Avatar for giguere18

Hi- I am having difficulty working with an array in php and would appreciate any help...thanks in advance! I have queried my database to return all product ids with type 'book' and id base 'brd'. The product id is a string that is formatted as follows: <base><3 or 4 digits><no …

Member Avatar for diafol
0
80
Member Avatar for shadiadiph

Is there anywhere I can find a list of dangerous MIME types I have tried Yahoo and Google not much on there?

Member Avatar for uncle_smith
0
58
Member Avatar for shadiadiph

i have got this done so far but it still isn't working properly its really doing my head in it sends the message fine subject file attachment but cuts the html message off halfway down and doesn't send the disclaimer if i change $message which is being passed to $messagemain …

Member Avatar for shadiadiph
0
106
Member Avatar for mrcniceguy

I`ve created a social network website in PHP,actually this is my first website. now i need to know how i`m i going to benefit using my website. Please i need somebody to advice me,beacuse i know nothing about website marketing.

Member Avatar for ShawnCplus
0
90
Member Avatar for veledrom

Hi, I’ll use a txt file to store locations in it. When I user click on button, the locations will be read from txt file and stored in an array. If more than 1 user run this script, will it cause problem like “File is already open”? It this reliable. …

Member Avatar for veledrom
0
80
Member Avatar for gagan22

HI EVERYONE, I have one problem, as i calculate two time like today i have worked [B]9.43 hours [/B]and 2nd day i worked [B]8.20 hours [/B]when i calculate total time of these two day then it shows [B]17.63 hours [/B]but i want to show this with the help of php …

Member Avatar for almostbob
0
84
Member Avatar for Woobag

I'm trying to build a crude album viewing site. There are three files I'm working with: [LIST] [*]index.php: Contains html code. [*]images.php: Builds images from browser URL and an array. [*]include: Builds an array of images from a given directory. [/LIST] Given: [B]image.php[/B] [code=php] <?php include('include.php'); buildImageArray("images/"); $image = $_GET['show_img']; …

Member Avatar for cwarn23
0
99
Member Avatar for tomtetlaw

i am makin a simple account creation screen for my website and i have an error: Error: No database selected and i dont know why im getting this because i have used mysql_select_db(), heres my code: [code="php"] <?php $con = mysql_connect("localhost"); if (!$con) { echo "Could not connect:" . mysql_error() …

Member Avatar for tomtetlaw
0
182
Member Avatar for Dsiembab

This may be a funny question. But how does php get rendered, I know it is a top down interpreter. But does that change when using classes. If I make a bunch of variables in a function do all the variables get interpreted first and then the function logic or …

Member Avatar for Dsiembab
0
81
Member Avatar for JimD C++ Newb

Good evening, all! I'm trying to display multiple checkbox values in a summary screen of sorts. The website is about movies, and if somebody checks that they like more than one movie type, I would like all of their choices shown. I currently get "Your favorite movie type is: Array" …

Member Avatar for mschroeder
0
125
Member Avatar for rajeesh_rsn

Hi I had a captcha script in my web page. Some thing like this.. [CODE]session_start(); $md5 = md5(microtime() * mktime()); $string = substr($md5,0,5); $captcha = imagecreatefrompng("images/captcha.png"); $black = imagecolorallocate($captcha, 0, 0, 0); $line = imagecolorallocate($captcha,233,239,239); imageline($captcha,0,0,39,29,$line); imageline($captcha,40,0,64,29,$line); imagestring($captcha, 5, 20, 10, $string, $black); $_SESSION['key'] = md5($string); header("Content-type: image/png"); imagepng($captcha);[/CODE] It …

Member Avatar for rajeesh_rsn
0
179
Member Avatar for shasha821110

Hi, just want to know which software is the best for PHP. I use PHPeditor and Notepad++ So how about you guys??

Member Avatar for almostbob
0
120
Member Avatar for croft

Let me tell you this from the start =) We play a game called eve. In that game wheneve you kill someone you will recive an email wich i will post belove here for an idea how it looks like. This game alsoo has an ingame browser html 1.4 compliant. …

Member Avatar for digital-ether
0
289
Member Avatar for niketa.kasliwal

Hi I want to send data to remote server ,I have used http_post_data and cURL and even fsockopen method. For http_post_data it has give me undefined function error.For cURL i have included curl libraries .dll file ,uncommented curl extension from php.ini file though it's giving error like curl_init() can not …

Member Avatar for digital-ether
0
541
Member Avatar for sureronald

What is the best validation technique or function that I can use to detect spaces,commas or any other characters I dont expect from a user. I know of ereg and eregi but it seems not to be working the way I want. The problem is that I am allowing a …

Member Avatar for ShawnCplus
0
85
Member Avatar for serdas

i am using this code to send pm, after i send a pm it says "You have successfully sent a private message!" and the boxes under for user to send again if they like but i would like to show only "You have successfully sent a private message!" if the …

Member Avatar for serdas
0
100

The End.