38,020 Topics

Member Avatar for
Member Avatar for jitu_mania

Hi friends i am learning php now when i started my website which use php script i am creating a page which will consist of my friends links So I searched in my scripts forum and got this solution step 1 : create links.tpl and insert {$my_content} and save it …

Member Avatar for jitu_mania
0
192
Member Avatar for abhi10kumar

I have categories, that came from database. I have to create pages for all the categories. For this I am creating menu and submenus are displaying categories. All submenu items must correspond pages. Here is an example: --------- Menu | --------- item1 | open item1.php (came from database) --------- item2 …

Member Avatar for karthik_ppts
0
145
Member Avatar for rotten69

Hi people, I am so interested in learning PHP as it is a powerful language in the web. I know a little bit of PHP so you can say that I've got an intro to PHP at this stage. What I am really struggling the logic of PHP. What would …

Member Avatar for rotten69
0
513
Member Avatar for kleinsteve

I have a php script to process a web form and email the contents. It processes everything except the subject line correctly: [CODE]$emailSubject = 'Work Order: ' | $_POST['company'] ;[/CODE] i don't get any syntax errors, but the email displays the subject as a mismatch of letters and numbers? like …

Member Avatar for Insensus
0
91
Member Avatar for Dannis86

I've got a website: [url]http://funnymash.com[/url] (this is not advertising). I need to add some cool features, like: When the photo who wins gets a green light and the other that loses gets a red light, how am I going to do this? Also I want to make it possible to …

Member Avatar for cfwebdeveloper
0
127
Member Avatar for prabhjitsw

Hi again,Guys.Here's my problrm. In [B]Appointments.php[/B] ,In the [B]Sector Drop down list[/B] when i select a sector,through AJAX i have selected the list of hospitals for the sector using [B]fun1()[/B] and displayed it back here in [B]appointsment.php[/B].Now that's ok. But when i try to acess the hospital select lists value …

Member Avatar for ko ko
0
151
Member Avatar for aspkiddy

Hi, I have some difficulty with my 'select' In my select/menu, I display all the options come from a table (table_db_email) in my database In this table ([B]tb_code_prmtn11_email[/B]) I have two field : [B]fld_email_id fld_name_email[/B] It works here is a code [CODE]<select name="email_adress_menu" id="email_adress_menu" class="valid" onchange="submit()"> <?php echo "<option selected=\"selected\" …

0
101
Member Avatar for abhi10kumar

How two AJAX functions can be called on an event of a control? I am using check box, on checked/unchecked I want to populate combobox and want to show records in a DIV.. Please give complete code ..

Member Avatar for ko ko
0
92
Member Avatar for Mujahid158

Hello, I'm using Google Maps to show houses listings on the Google map. I'm also using AJAX to allow user to customize search parameters. Map is showing fine but the houses listings on the map is not working. Moreover, I'm getting the following pop up error; [url]http://imageshack.us/photo/my-images/857/screenshotpll.png/[/url] I'm also sharing …

Member Avatar for pritaeas
0
213
Member Avatar for patrickm129

Hi all! I'm a new to PHP and I embarked on a making a small store. One part of this involves making a form to add new products, and tables for categories. But I am getting this error: Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' on line …

Member Avatar for rotten69
0
2K
Member Avatar for stan_l

I am trying my first PHP CLI using cURL, and simply want to complete a login to an HTTPS site. The site HTML is simple: [CODE]<body> <div class='plain-header'> <img src='/images/logo.jpg' /> </div> <div class='login-form'> <form method='post'> <table> <tr> <td class='fieldname'>Username:</td> <td> <input name='login' type='text' /> </td> </tr> <tr> <td class='fieldname'>Password:</td> …

Member Avatar for pritaeas
0
156
Member Avatar for Shantanu88d

I want to find frequency of all words in a given string. I wrote this code, but it is not giving correct output. Plz help [CODE] <?php //string here $wordsArray = "Hello world hello world this is hello world"; //echo($wordsArray); //function here $startPosForWord; $endPosForWord; $wordToMatch; $word; $scannedWords; $occurance = 0; …

Member Avatar for edwinhermann
0
3K
Member Avatar for haimz
Member Avatar for edwinhermann
0
97
Member Avatar for Rsby

Hi, i moved my site to a new server yesterday and my booking form is not working since then. I have html pages with a form action button as below; <form action="http://mydomain.com/tour_form.php" method="post" style="margin:0 0 0 0;"> <br> <input name="tn" type="hidden" value="product name"> <input type="submit" class="book" value="book now"> </form> and …

Member Avatar for urtrivedi
0
159
Member Avatar for praveen_dusari

hi all, i have developed a joomla custom components and in the front end when the language is changed the text is not changing...even though i reloaded the language on refresh.. [CODE] $language =& JFactory::getLanguage(); $extension = 'com_raffle'; $base_dir = dirname(__FILE__); $language_tag = $language->getTag(); // loads the current language-tag $language->load($extension, …

0
77
Member Avatar for RobotFX

Hello Is there a way to disable the php error logs per directory, if it is enabled globally?! I have this htaccess but it seems not to work: [CODE]<IfModule mod_php5.c> php_value display_errors 0 php_value allow_url_fopen 0 php_flag display_startup_errors off php_flag html_errors off php_value docref_root 0 php_value docref_ext 0 php_flag log_errors …

Member Avatar for RobotFX
0
167
Member Avatar for manu555

[CODE] <html> <form> <table> <tr> <td width="172" class="label" >&nbsp;</td> <td class="content" colspan="3" > Grwt <input name="grWeight" type="text" class="box" id="grWeight" size="20" maxlength="255" /> ntwt <input name="netWeight" type="text" class="box" id="netWeight" size="20" maxlength="255" /> crwt <input name="crWeight" type="text" class="box" id="crWeight" size="20" maxlength="255" /></td> </tr> </table> </form> </html> [/CODE] In above code i want …

Member Avatar for manu555
0
1K
Member Avatar for geekme

Hello, I'm working on ubuntu 10.10, have apache2 and php5 installed.But just to check that they are working fine, when I try to access my IP server address page, it asks for a username and password.The log-in username and password do not work.Please help Regards.

Member Avatar for diafol
0
148
Member Avatar for newbie14

Dear All, I am trying to apply transaction into my codes. Below is what I have done. It works fine. I would just like to know incase is there something wrong or missing in my way ? Thank you. What is different between mysql and mysqli ? [CODE]$rollbackStatus=False; $link = …

Member Avatar for diafol
0
111
Member Avatar for PixelatedKarma

Hello everybody, So this might seem like a really simple thing to some of you more advanced people but it has me extremely stumped, currently I am trying to create a menu. What I have is a mySQL database with a row called page_name I have written the following code: …

Member Avatar for urtrivedi
0
107
Member Avatar for gonidelux

Order Confirmation Thank you for your order! 84,46,62,84 Your Credit Card informations: Credit Card type: 0 Credit Card number: 2147483647 Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\baby\checkout.php on line 16 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\baby\checkout.php …

Member Avatar for IIM
0
537
Member Avatar for skitch

hi, i'm making a website for a company, with backoffice. when i want to add a new employee, i must specify the monthly fee and i created two inputs, one for the dollar part and the other for the cents parts. i wanted to concatenate the two parts with a …

Member Avatar for almostbob
0
117
Member Avatar for panhwer

Hello friends... I have one question that why session variable are stored on server side, what is reason behind this. If it is stored on client side what will be disadvantage.

Member Avatar for nonshatter
0
107
Member Avatar for 080346

hello everybody i want to learn that how online file converters works and also want to implement it please provide me good references for it. i shall be thankful to you

Member Avatar for matricol
0
88
Member Avatar for IWDesigns

anyone got any experience with using the login with fb option?? im thinking of implimenting it into a site of mine but im not sure how it works, the fb documents are terrible and give no knowledge of anythin, and all the tuts are useless! i kno how it works, …

Member Avatar for matricol
0
82
Member Avatar for gonidelux

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\baby\mail_result.php on line 16 [CODE]<?php $contact_us=1; include("dbconnect.php"); include("funksione.php"); include("header.php"); include("left.php"); include("tbl_begin.php"); $from=$_POST['email']; $sender=$_POST['name']; $headers = 'From: $sender' . "\r\n" . 'Reply-To: $from' . "\r\n" . 'X-Mailer: …

Member Avatar for pritaeas
0
101
Member Avatar for cwarn23

Hi and for the past 4 days, I have been trying to make a secure spam-proof blog with no login. I manage to embed a lot into a demo but the following code I know works (as I have made it work on my forum login) but has an error …

Member Avatar for spidersdesign
0
295
Member Avatar for gonidelux

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>The Book Center</title> </head> <body> <?php include('header.html'); //shtohet pjesa e kodit qe gjendet ne fajllin header.html // ne variablat perkatese ruhen vlerat perkatese qe vijne nga fajlli paraprak $bookid=$HTTP_POST_VARS['bookid']; $title=$HTTP_POST_VARS['title']; $datereal=$HTTP_POST_VARS['datereal']; $cost=$HTTP_POST_VARS['cost']; $pages=$HTTP_POST_VARS['pages']; $genderid=$HTTP_POST_VARS['genderid']; …

Member Avatar for gonidelux
0
319
Member Avatar for mrcniceguy

Helloo Guys...i have worked with PHP for almost two years and my Editor was Notepad++ then three weeks ago shifted and started using PHPEDIT )) BUT FOR I AM LOOKING TO KNOW WHICH PHP FRAMEWORK IS BETTER,BECAUSE I WANT TO START WORKING ON IT. PLEASE I NEED YOUR SUGGESTIONS.

Member Avatar for broswilli
0
2K
Member Avatar for abhi10kumar

I wrote rewriteurl statement that removes .php extension, but it is not working.. Here it is the .htaccess code. [CODE] Options +FollowSymLinks Options +Indexes RewriteEngine on RewriteCond %{HTTP_HOST} ^3gphone\.in$ [NC] RewriteRule ^(.*)$ http://www.3gphone.in/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/ RewriteRule ^(.*)index\.php$ /$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule …

Member Avatar for Shanti C
0
49

The End.