39,320 Topics

Member Avatar for
Member Avatar for justinmyoung

I've been able to put together a basic search form that allows users to search my database by entering their last name. My question is how do I offer them an option, using a radio button, to allow them to search by, for example, a city or state or age, …

Member Avatar for justinmyoung
0
111
Member Avatar for Morty222

Can anyone tell me how to write a PHP script to update this shell command? /usr/local/psa/bin/domain.sh -u domain.com -passwd password I am trying to update FTP passwords using a PHP script, in place of logging into Plesk everyday to change an FTP password. I have a web based tool that …

Member Avatar for MVied
0
107
Member Avatar for Q8iEnG

Hi guys I'm working on my site, and I want to include this page [url]http://www.q8ieng.com/renders/index.php[/url] the code inside (renders/index.php) is [CODE]<?php if(@ini_set ( 'zlib.output_compression', 'On' )) @ini_set ( 'zlib.output_compression_level', 9 ); else @ob_start ( 'ob_gzhandler' ); require 'gallery.php'; ?> [/CODE] to my page this one [url]http://www.q8ieng.com/renders.php[/url] I used to include …

Member Avatar for MVied
0
167
Member Avatar for gamshid

Hello guys i have a little proplem with configuring a zend controller and use it i search over the internet to know how to change my php include path to have the controller library , search to know how to redirect all request to the index page to make the …

Member Avatar for gamshid
0
54
Member Avatar for fortiz147

i can't figure out how to delete my records in php. my page displays all the records from the database, and i want to place a checkbox beside each record and the function delete. please help me. code is php code [code language="english"] <?php //Connect to MySQL Server mysql_connect($dbhost, $dbuser, …

Member Avatar for langsor
0
84
Member Avatar for cosby

hi everyone i am new in php and i want to serch the specific words on text file using pregmach . i have try the patterns of the pregmatch() but it seems like i dont doit right. can someone look into my code and help me out with this problem. …

Member Avatar for cosby
0
109
Member Avatar for niladri.user
Member Avatar for Shanti C
0
47
Member Avatar for heni_pro

[code]if($region==region){ $result = mysql_query("SELECT * FROM places"); $row = mysql_fetch_assoc($result); echo "zone: ".$row['zone']."; }[/code]

Member Avatar for Lejonet
0
79
Member Avatar for yasmena

this page opens in a pop up where it fetches an image from the Database ...everything works perfect except for passing the id part.. i'm tired of trying and i kept 5 days googling but could not solve it !! any help would be appreciated .. here's the line that …

Member Avatar for Lejonet
0
150
Member Avatar for god_1896

hi all; [QUOTE]I apreciate all the replies i had been read, but seems i got problem in sending an email, well this is my problem. I could not display the proper format after i send the email. [/QUOTE] [QUOTE]Im looking into this kind of format after i send the email. …

Member Avatar for langsor
0
113
Member Avatar for justted

Hello, I have a virtual pet website that has a soup kitchen which should only open at certain times during the day! However, I want to be able to add more timings to the kitchen opening hours but for some reason the script doesnt execute the IF statement and therefore …

Member Avatar for R0bb0b
0
110
Member Avatar for wiccanwolf

Hi, I was wondering if someone could look over my coding? x3 I'm really, really new to PHP (just learning, in fact) and a friend gave me this sample code, but it doesn't seem to work... could someone please help? Thank you so much. <3 Here is the full code: …

Member Avatar for god_1896
0
200
Member Avatar for veledrom

Hi, Code below sends values to the test1.php with button. Is there any way to use <a> link to do same thing? Thanks [code] <form method="post" name="form"> <input type="text" name="name" /> <input type="submit" name="submit1" value="submit1" onclick="javascript: form.action='test1.php';" /> </form> [/code]

Member Avatar for langsor
0
7K
Member Avatar for welbyobeng

Hi, I am trying to create a script which checks the "users_theme" table and finds all the user_id's which exist in this table and not the "users" table. Once I have those id's, I want to run a foreach loop to delete all rows with that user id from the …

Member Avatar for langsor
0
83
Member Avatar for rati

Hi All, I am new to PHP, i have installed WAMP but have no idea how to work on it. Can someone please guide me or provide some link how should i start? Thanks in advance

Member Avatar for buddylee17
0
74
Member Avatar for liza_nc

Hi all, I want to use advanced search with dropdown box which has all the products on my site written with php, but i want to give the user the facility to choose the product by alphabetical order, choose letter A give him all produts starts with "A" and so …

Member Avatar for liza_nc
0
61
Member Avatar for BillyMako

I have this script working and now i just need the alert to pop up when the field is in PHP. But when i put it in echo"" the onBlur event wont work. [CODE] function validate() { var valStreet = new RegExp("[pP]{1}[.]*[oO]{1}[.]*[ ]*[bB]{1}[oO]{1}[xX]{1}"); //Anything with "PO BOX" alerted if (form.Street.value.match(valStreet) …

Member Avatar for langsor
0
94
Member Avatar for god_1896

hi all; I create a php classes to insert my data into database, but it doest work, please help me with this. here is my whole code. [CODE]<?php require_once('connect.php'); class email { var $mail_id; // hotel id in emailRecord Auto_increment. var $name; // hotel name in emailRecord. var $email; // …

Member Avatar for god_1896
0
108
Member Avatar for derekcpt

Hi there. I need assistance with, I guess, a PHP date function. There is a way I can figure this, but its really not reliable and I guess it won't even work. So all you guru's, here is what I need to achieve; I am just writing a simple reservation …

Member Avatar for langsor
0
148
Member Avatar for predster

I'm new to php and I'm having some trouble with a code error. Can anyone help? I get this error: "Error in my_thread_global_end(): 1 threads didn't exit PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in exception.php on line 130" This is the code: [CODE] echo "<html> …

Member Avatar for Demiloy
0
138
Member Avatar for sTyleSHA

Dear Viewers, I need your suggestion in choosing my job profile further. Currently i work as web designer with 2+ years of experience. I am in the process of learning xhtml, css and keen to explore the technical part of designing. I feel i could learn php also, as i …

Member Avatar for khipucoder
0
153
Member Avatar for Seachmall

I have a method that requires two variables to pass through it but for some reason the second one doesn't. I've tried tons of stuff but nothing seems to work. [code=php] function get_area_number($area, $company='daniweb'){ echo '>> '.$company; } [/code] Thats the method, nothing is displayed for the [i]$company echo[/i] unless …

Member Avatar for langsor
0
104
Member Avatar for ryaninCO

Please help me fix this error - THANKS!!!! Website: [url]www.trumpcardmarketing.com[/url] PHP Form Mail Error is as followed: Parse error: parse error, unexpected '@' in /home/content/r/m/c/rmcrorie/html/trump/PHPformmailer.php on line 21 PHP line in question is as followed: @mail($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ; PHP Code is as followed: [code]<?php // Receiving variables …

Member Avatar for ryaninCO
0
94
Member Avatar for JeetRaj
Member Avatar for langsor
0
94
Member Avatar for ishlux

Hi all, I am storing check box values with comma separated into db like this , the code given below [code=php] <?php include 'database.php'; $servicec = addslashes(serialize($a1)); $servicet = addslashes(serialize($b1)); $services = addslashes(serialize($c1)); $query1 = "insert into autoalto_contractor( service_category,service_type,services) values ('".$servicec."', '".$servicet."','".$services."')"; [/code] but while retrieving from the db i …

Member Avatar for langsor
0
136
Member Avatar for Mylena

Hello, Please, if anyone knows how to pass a Javascript integer variable as a parameter into php mysql_query. Below gg1 is successfully converted to an integer (i checked it using some maths additions), and now i need to pass this value to BirdID. The last line with innerHTML works fine …

Member Avatar for buddylee17
0
166
Member Avatar for rati

Hi all, Can someone tell me in detail what are super global variables and how are they used??

Member Avatar for Demiloy
0
280
Member Avatar for rati

Hi All, I have started learning PHP now. I am unable to find the exact difference between include and require in php?

Member Avatar for JeetRaj
0
191
Member Avatar for andrew13d

hi everyone, I am trying to create an inventory using php/mysql. However, I am using a webpage such that the viewer or user indicates or picks their choice by making continous selections on the spry menu. For example, if the first choice is "x", another menu appears with several options …

Member Avatar for andrew13d
0
106
Member Avatar for yasmena

i want to display the results of a sql statement in several pages i have 6 rows .and i set the page limit to 2 rows so i have 3 pages i followed some tutorial online : [url]http://php.about.com/od/phpwithmysql/ss/php_pagination_3.htm[/url] but when i click next i have no results to display !! …

Member Avatar for Shanti C
0
107

The End.