39,316 Topics

Member Avatar for
Member Avatar for Drugsxxx

Hi i have a code that shows me some repitnig data from .txt file. Code looks like: [CODE]$getText = file_get_contents("Kier.txt", true); $Poln = substr_count($getText ,"Polnoc"); $PolnW = substr_count($getText ,"Polnocny-Wschod"); $Wsch = substr_count($getText ,"Wschod"); $PoldW = substr_count($getText ,"Poludniowy-Wschod"); $Pold = substr_count($getText ,"Poludnie"); $PoldZ = substr_count($getText ,"Poludniowy-Zachod"); $Zach = substr_count($getText ,"Zachod"); $PolnZ …

Member Avatar for diafol
0
127
Member Avatar for hindu times

Hi there, This is following on from a previous solved thread. Basically, I have this code: [CODE]<td colspan="2" align = "center" style="color:#FF0000; font-weight:bold;">' . ((isset($_GET['error']) and ($_GET['error']=='recaptcha')) ? 'Error: The captcha was entered incorrectly. Please try again.' : '') . ' </td>[/CODE] I've now been told that the "Error: The …

Member Avatar for jpdeleon
0
336
Member Avatar for poopoo_pp

Hi all Not sure if im posting in the right section so sorry if i am. I have been looking for an open source asset/inventory solution for a friend. I came across Free CMMS on sourceforge.net and for ease of installation and testing installed the latest version of XAMPP as …

Member Avatar for pritaeas
0
388
Member Avatar for chiragsathit

Hi I am new in Joomla.... i want to add dynamic page in joomla. i want also bind dynamic page in menu..... Please Reply ASAP.......

Member Avatar for vishal9717
0
65
Member Avatar for Treasurepet

Hello all, I have a site with login system, when I run it on my local sever it worked perfectly ok, but when uploaded it was not taking me to member page as on my local server. Please can anybody help me with this. The codes are below. myconfig.php [code]<?php …

Member Avatar for Stefano Mtangoo
0
388
Member Avatar for Webxpres

I have this code but i can't get it to output in the email address i specified on the form. [CODE]<form action="Script/sender_subscription.php" method="post" name="Pillar Gardens Offer Form" target="_blank" id="Pillar Gardens Offer Form"> <table width="100%" border="1" align="left" cellpadding="1" cellspacing="0" bordercolor="#F8F8F8" bordercolorlight="#CCCCCC"> <tr> <td colspan="2" align="center" valign="middle"><table width="100%" cellpadding="0" cellspacing="0"> <tr> <td …

Member Avatar for Stefano Mtangoo
0
212
Member Avatar for jacksantho

Hi, Guys Could anyone tell me how to import MsExcel data into MySQL using PHPExcel. I want to make an upload system for my users. They want to upload their data which is in Ms Excel format into MySQL databases...Please teach me how to do that... And I appreciate your …

Member Avatar for vimalnath53
0
144
Member Avatar for jacksantho

Hi, I needs to upload the excel file and how can i read this excel file cell by cell using PHPExcel class and needs to import into database(mysql or mssql).please help me out. thanks in advance

Member Avatar for vimalnath53
0
75
Member Avatar for sacarias40

Hey guys, I am writing a bot class to scrape some information off of websites. Here are the requirements. [LIST] [*]Specify Url [*]Check for valid url [*]'GET' contents of url with curl [*]check mime type & response status code [*]check for special url [LIST] [*]parse special data [/LIST] [*]parse for …

Member Avatar for sacarias40
0
303
Member Avatar for jone kent

Hello i am new here also new in php i have problem with my code [CODE] $seller_id = $listings[]['Account_ID']; $seller_info = $rlAccount -> getProfileInfo( $seller_id ); $rlSmarty -> assign_by_ref( 'seller_info', $seller_info ); i get this error Fatal error: Cannot use [] for reading in [/CODE] the array is [CODE] Array …

Member Avatar for jone kent
0
3K
Member Avatar for asif49

I'm not really good with arrays and have had a go at this, but to no avail. I have a string called $str and another called $area. I need to split the string $str into an array of words (delimiter being spaces). This is the part I was able to …

Member Avatar for asif49
0
151
Member Avatar for saurabh2007

If I am inside a folder and I use "/", it uses it for root directory so [CODE]<a href="/">test</a>[/CODE] links to [url]www.test.com/index.php[/url] For example, if i am in the file [url]www.test.com/login/index.php[/url] and I use "/" then it goes to root directory but if I am in [url]www.test.com/index.php[/url] which is the …

Member Avatar for saurabh2007
-1
83
Member Avatar for aru211285

Hi all, I have 2 multidimensional arrays which i have to print simultaneously and one of them will not have same number of elements at some times. So i check them using empty() function. As it is not possible to check every single element, i wrote a function which has …

Member Avatar for diafol
0
5K
Member Avatar for kkasp

Hi! I am building a simple blog website and am stuck when I get to the posting comments part. I write my comment to post and when I hit post comment I get the error message: Parse error: syntax error, unexpected T_ELSE in C:\xampp\htdocs\simple_blog\inc\update.inc.php on line 90 Here is my …

Member Avatar for diafol
0
179
Member Avatar for Drugsxxx

Is it pasible to find all occurrences of strings "North" and "North-East" in some txt file and save number of occurrences in some variable??

Member Avatar for Drugsxxx
0
2K
Member Avatar for deraad

I'm making a feature like stated in the title that gives suggestions based on what terms exist in the database; I have a working example below that works for one term. such as "oranges", or "yellow bananas". However, I need it to work for multiple terms so if my database …

Member Avatar for deraad
1
236
Member Avatar for dhosthee

We are developing a email web site.but we are facing problem in receiving and validating the mail.i have the following doubts.can you please help me in clarifying these??? one more important thing is we are not using squrrelmail, qmail etc. how do we receive emails for users in email web …

Member Avatar for chrishea
0
143
Member Avatar for geekme
Member Avatar for almostbob
0
88
Member Avatar for mehdi.yazdani

Hi, i created the page which is display some information from database with some rules in the end of page i putted the command that it is show how many page that i have. so, i decide to add next and previous in the sides of page numbers and also …

Member Avatar for Stefano Mtangoo
0
97
Member Avatar for phfilly

Hi! I would just like to know if its possible to give an linked image the ability to send the form instead of a submit button? Like in the example below: [CODE] <form method="post" action="Search.php"> <table id="search"> <tr> <td> Search: <input type="text" name="search" id="search" placeholder="Search for friends"/><td><a href="Search.php" action="Search.php"><img src="graphics/search.png" …

Member Avatar for selina12
0
145
Member Avatar for rajesh1158

I'm very much depressed with the following code. As for me, everything is correct. But the Goddamn code doesn't work. I've a html form with radio buttons and a hidden field. On clicking Submit, the form does not submit. Trying print_r($_POST) on the submitted radio button variable, it returns an …

Member Avatar for Zahinize
0
997
Member Avatar for nikki05

Hi, I followed the steps to install the social network as shown in below link. I am able to install the social network in my forum. I can see online and offline users. Also, I set the permissions "allow chat only with friends" ," Open links in new window" in …

0
132
Member Avatar for zeeya

Hello!! For my final year project, i would like to build decision support system that give suggestion to customer to build their house based on type of house and price. So, customer will select type of house that they like and also the budge money that they have. Then, the …

Member Avatar for Stefano Mtangoo
0
915
Member Avatar for kb.c7

i want the month to date reports from starting of this month to present day. how to do that in php

Member Avatar for almostbob
0
62
Member Avatar for jetlife76

Ok guys i am working on a program that will compute the distance in miles from Chicago or dallas(radio buttons)to specific destinations. The destination cities are in a selection list. The output should be the distance between the two cities, the time it would take to drive at 60 mph. …

Member Avatar for jetlife76
0
111
Member Avatar for klemme

Hi guys, I would like to validate some form input, and only allow the folowing: letters, numbers, /, - if(!preg_match("*[0-9A-Za-z,-,/]", $url_key)){ $erros[1] = '<small>Error submitting url key!</small>'; } Which is not working.. Its not the point only to allow one / or - But only letters, numbers and /- in …

Member Avatar for pritaeas
0
2K
Member Avatar for agam360

I'd like to know if there is a simple way of retrieving the Cover photo from a user in my application, via the facebook php sdk. I managed to retrive the cover photo id of the album of the cover photo album, but my solution only works partially.(As you can …

0
106
Member Avatar for techyworld

Hii i want to save data to the database when user register. I dont know whats wrong. Am having this error: Warning: DOMDocument::loadXML() [domdocument.loadxml]: Empty string supplied as input in C:\Program Files (x86)\EasyPHP-5.3.6.0\www\TestingAjaxRegistration\register_pro.php on line 13 Warning: DOMDocument::schemaValidate() [domdocument.schemavalidate]: The document has no document element. in C:\Program Files (x86)\EasyPHP-5.3.6.0\www\TestingAjaxRegistration\register_pro.php on …

Member Avatar for pritaeas
0
434
Member Avatar for Galbatorix

Hallo guys, i am new to php. i would like to create a php page that would allow the contents of a folder (word documents) to be displayed on my web page ready for download. i have one end where the files are uploaded from but this other end is …

Member Avatar for Stefano Mtangoo
0
97
Member Avatar for mkab

I have a problem using the oci_execute function in php. I start by initialising my query then oci_parse it and then oci_execute it. Everything works fine. And data are being inserted or modified in my database. The problem is that these data are inserted randomly. If I have a query …

0
135

The End.