39,402 Topics

Member Avatar for
Member Avatar for cosby

hi everyone can anyone help me with the php pattern that search the following string and get relevent pattern. "2004_8.rtf" (November) S v Mimi(000/00) [2004] NAME 8; "2005_9.rtf" (November) S v Mimi(000/01) [2005] NAME 9; i want the regular expression patterns that match this : [2005] NAME 9 ; or …

Member Avatar for cosby
0
75
Member Avatar for zappan
Member Avatar for skinbug

Hi, I have a series of checkboxes that may or may not be checked. This means that when none of them are checked, the implode function has nothing to implode so returns an error...I think that's why I get the error. The form is processed and I was wandering if …

Member Avatar for skinbug
0
110
Member Avatar for jynx_o7

I'm going to build a tutorial website.. this is the link that im going to build on my website.. HOME Can you please give me an idea of what will i write on my home page?.. SERVICES TUTORIAL CONTACT any suggestion on the said link?.. Thanks!

Member Avatar for jynx_o7
0
83
Member Avatar for bimaljr

Hi, I have a single page website. It contains only a form to signup.. and I want to make it secure. I have self signed certificate to test. My admin has setup a self signed certificate. But I don't know how to access it. I want to impliment it in …

Member Avatar for bimaljr
0
110
Member Avatar for Tootlol

Hi! I am a newbie, and recently I have installed php, apache, and mysql on my computer. However, after type some codes the browers left ÈpartÈ of the php code on the brower. It almost seem like the browser doesnèt recognize the code or something. below is what my browser …

Member Avatar for ryan_vietnow
0
151
Member Avatar for rati

Hi all, I want to use preg_grep for an assosiative array. Can someone guide me how is it possible?

Member Avatar for praveen_dusari
0
103
Member Avatar for saikishore

Hi.. anybody help plz.. diff ..between mozilla & IE. here some pages r differ(alignment) from mozilla to IE.. plz solve this problem..how can i rectify.. Thanks in Advance..

Member Avatar for saikishore
0
97
Member Avatar for almualim
Member Avatar for digital-ether
0
63
Member Avatar for coco86

i hv problem installing apache + php + mysQL .. it seems that i fail to load PHP module in the httpd.conf anyone can help me ? i am very pleased .. thank you

Member Avatar for digital-ether
0
100
Member Avatar for PomonaGrange

HI All, I've been trying to make a membership management type script. This script would have a database with the members contact info and which office they hold, if any. The problem I am having is I would like the script to show the president's and vice president's Contact info …

Member Avatar for langsor
0
164
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
113
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
109
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
170
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
56
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
85
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
112
Member Avatar for niladri.user
Member Avatar for Shanti C
0
49
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
81
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
153
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
116
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
119
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
204
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
86
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
92
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
63
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
96
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
115
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
153
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
139
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
156
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
107
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
98
Member Avatar for JeetRaj
Member Avatar for langsor
0
96
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
137
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
169
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
283
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
192
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
112
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
108
Member Avatar for epixca

I've been wondering for the past hour if i could make a custom web extention like, .php. Would it be possible to create a .page ? (default.page) while using the php extension? Basically just renaming the web extention.

Member Avatar for Shanti C
0
113
Member Avatar for Shanti C

Hello friends... I got one error ,when my login page is loading... Fatal error:maximum execution time of 30 seconds exceeded in ../../../login.php What would i do for preventing this.. Thanks in Advance. Shanti..

Member Avatar for Demiloy
0
129
Member Avatar for yasmena

can anyone heLp me i need to send an id to a page through a javascript function but it wont work he can't read the variable function confirm_delete() { var answer=confirm("Are You Sure You Want to Delete ?"); if(answer==true) { window.location="delete.php?id=$id"; // alert(" Title Deleted"); } else return false ; …

Member Avatar for Shanti C
0
96
Member Avatar for veledrom

Hi, I use the "login.php" to login to my site, i want store all the sessions in "sessions.php" after login process. When i go to other pages, i simply want to require "sessions.php" to be able to use sessions in those all pages. Is this logis possible? If so, how …

Member Avatar for Shanti C
0
77
Member Avatar for architact

Hello I am facing a problem in my website development, I am using a html text area on my web page which is used to fill a field in database. The problem is that when I submit the text it converts the multiline text into single line. e.g Hello, I …

Member Avatar for Shanti C
0
106
Member Avatar for anuj_sharma

hey guys, i've installed xampp on my PC but i m nt able to run php files on it. please tell me how to run php fiels on xampp.

Member Avatar for Shanti C
0
71
Member Avatar for yasmena

Heloo, i've just downloaded a template for my site but i dont know how to use it in my PHP code can anyone just state some steps to follow thnx

Member Avatar for nikesh.yadav
0
58
Member Avatar for Mylena

Hi guys, I need to have a list of alphabet letters ABCDEFG...etc, and when I click on each letter, it opens a list of items. How do i do this opening list? I'm working with html/php/sql/etc Thanks a lot! Good night :)

Member Avatar for nikesh.yadav
0
82
Member Avatar for queenc

i want to send bcc and cc if uers click the checkhox.it is not working [ICODE] $body2.="<html><body>"; $body2.="<b>With Regards,</b><br/><b>CG Group</b>"; $body2.="</body></html>"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1" . "\r\n"; if (strlen($body2)>998) { if($option1=1) { $headers .= "Content-Transfer-Encoding: base64;" . "\r\n"; $headers = "To: $to\r\n"; $headers .= 'From: …

Member Avatar for queenc
0
84

The End.