[PHP] Need help to understand a code

2012-09-22 Thread Ashickur Rahman Noor
Hi all I need some help to understand a code. The code is like this $result = mysql_query($sSQL) or die(err: . mysql_error().$sSQL); if($row = mysql_fetch_array($result)) { foreach($row as $key =$value){ $$key=$value;} } I don't get the code from the

Re: [PHP] Need help to understand a code

2012-09-22 Thread Stefan Wixfort
On 22.09.2012 12:34, Ashickur Rahman Noor wrote: Hi all I need some help to understand a code. The code is like this $result = mysql_query($sSQL) or die(err: . mysql_error().$sSQL); if($row = mysql_fetch_array($result)) { foreach($row as $key =$value){

[PHP] Need help on increment date

2012-05-24 Thread Md Ashickur Rahman Noor
HI all I need help to increment date in php. I found this code helpful $date = strtotime(+1 day, strtotime(2007-02-28)); echo date(Y-m-d, $date); But when My date is 2008-02-28 this code give output 2012-03-01. But it should be 2008-02-29. Where I am getting wrong.

Re: [PHP] Need help on increment date

2012-05-24 Thread Stuart Dallas
On 24 May 2012, at 08:18, Md Ashickur Rahman Noor wrote: I need help to increment date in php. I found this code helpful $date = strtotime(+1 day, strtotime(2007-02-28)); echo date(Y-m-d, $date); But when My date is 2008-02-28 this code give output 2012-03-01. But it should be

Re: [PHP] Need help on increment date

2012-05-24 Thread Md Ashickur Rahman Noor
Get this from herehttp://stackoverflow.com/questions/660501/simplest-way-to-increment-a-date-in-php -- Dedicated Linux Forum in Bangladesh http://goo.gl/238Ck 2048R/89C932E1 http://goo.gl/TkP5U Volunteer, FOSS Bangladesh http://fossbd.org/

Re: [PHP] Need help on increment date

2012-05-24 Thread shiplu
It works for me too. I tell you two things, a) make sure there is a space after +1 day. So it should look like +1 day . This ensures that the unix time is not concatenated with day. b) calling strtotime 2 times is not a great solution. You can all it once only. Like this, $date = strtotime

Re: [PHP] Need help on increment date

2012-05-24 Thread Md Ashickur Rahman Noor
It works. Thanks you two. Thanks Shiplu bro for the advice. -- Dedicated Linux Forum in Bangladesh http://goo.gl/238Ck 2048R/89C932E1 http://goo.gl/TkP5U Volunteer, FOSS Bangladesh http://fossbd.org/ Mozilla Repshttp://reps.mozilla.org

Re: [PHP] Need help Wth PHP

2011-10-10 Thread Lester Caine
Rod Lindgren wrote: Thanks for the link. I am now wondering if Wordpress is available on my server. If it's not, you can add it yourself in much the same way you uploaded the 'profile' for the wordpress site ... http://wordpress.org/download/ Essentially it is just another PHP application, but

RE: [PHP] Need help Wth PHP

2011-10-10 Thread Rod Lindgren
to have lost the original page. Thanks, Rod -Original Message- From: Lester Caine [mailto:les...@lsces.co.uk] Sent: Sunday, October 09, 2011 11:31 PM To: php-general@lists.php.net Subject: Re: [PHP] Need help Wth PHP Rod Lindgren wrote: Thanks for the link. I am now wondering

Re: [PHP] Need help Wth PHP

2011-10-10 Thread Lester Caine
Rod Lindgren wrote: I was able to install Wordpress, but how do I identify the database from the original site? Do I need to change some settings in it somewhere with the authorizations from the new install on the new server? Right now, if you go to the website, a generic page created by the

Re: [PHP] Need help Wth PHP

2011-10-10 Thread Jeffrin Jose
-general@lists.php.net Sent: Monday, 10 October 2011 1:37 PM Subject: RE: [PHP] Need help Wth PHP I was able to install Wordpress, but how do I identify the database from the original site? Do I need to change some settings in it somewhere with the authorizations from the new install on the new server

RE: [PHP] Need help Wth PHP

2011-10-10 Thread Jen Rasmussen
for me. Jen -Original Message- From: Rod Lindgren [mailto:r...@okinawa-te.info] Sent: Monday, October 10, 2011 3:08 AM To: 'Lester Caine'; php-general@lists.php.net Subject: RE: [PHP] Need help Wth PHP I was able to install Wordpress, but how do I identify the database from

RE: [PHP] Need help Wth PHP

2011-10-10 Thread Jen Rasmussen
Subject: RE: [PHP] Need help Wth PHP If I remember this correctly ... The database information can be setup/modified only with the install/reinstall. If the DB's are moving to a new server, You have to copy out the databases directly from the DB manager and then do a fresh install of WP. You

RE: [PHP] Need help Wth PHP

2011-10-10 Thread Rod Lindgren
: Monday, October 10, 2011 6:37 AM To: r...@okinawa-te.info; php-general@lists.php.net Subject: RE: [PHP] Need help Wth PHP Ok, scratch the db info can only be setup/modified with install/reinstall.. Forgot about wp-config.php ...doh! Otherwise, you still need to backup the DBs from old server

Re: [PHP] Need help Wth PHP

2011-10-10 Thread Paul M Foster
On Mon, Oct 10, 2011 at 03:58:31PM -0700, Rod Lindgren wrote: Thanks for the info. Very helpful. I am working on it. What is it that makes Wordpress valuable? The website in question is really pretty basic. I am trying to figure out the reason Wordpress was used. It allows the site owner

RE: [PHP] Need help Wth PHP

2011-10-10 Thread Rod Lindgren
Subject: Re: [PHP] Need help Wth PHP On Mon, Oct 10, 2011 at 03:58:31PM -0700, Rod Lindgren wrote: Thanks for the info. Very helpful. I am working on it. What is it that makes Wordpress valuable? The website in question is really pretty basic. I am trying to figure out the reason Wordpress

Re: [PHP] Need help Wth PHP

2011-10-10 Thread Govinda
I see. There are other ways to do this. If I knew how it works, maybe I could get this site working. I am missing some essential concept here. Rod, this list is about/using PHP especially. There are better lists/forums for getting help with frameworks built from PHP, like e.g. wordpress. I

[PHP] Need help Wth PHP

2011-10-09 Thread Rod Lindgren
I have a hosting account and am trying to get a friend's website up and running. We downloaded his existing site from his current host and uploaded it to my host. It is currently under a subdomain, www.egypt.aragren.com http://www.egypt.aragren.com/ . When I go there, I get an error message that

Re: [PHP] Need help Wth PHP

2011-10-09 Thread James Yerge
On 10/09/2011 08:41 PM, Rod Lindgren wrote: I have a hosting account and am trying to get a friend's website up and running. We downloaded his existing site from his current host and uploaded it to my host. It is currently under a subdomain, www.egypt.aragren.com http://www.egypt.aragren.com/

RE: [PHP] Need help Wth PHP

2011-10-09 Thread Rod Lindgren
: James Yerge [mailto:ja...@nixsecurity.org] Sent: Sunday, October 09, 2011 5:46 PM To: r...@okinawa-te.info Cc: php-general@lists.php.net Subject: Re: [PHP] Need help Wth PHP On 10/09/2011 08:41 PM, Rod Lindgren wrote: I have a hosting account and am trying to get a friend's website up and running

[PHP] Need help debugging random httpd segfault

2011-03-09 Thread Phil
Hello list, We've been experiencing random crashes on httpd, error_log shows a bunch of [notice] child pid 12984 exit signal Segmentation fault (11) PHP 5.2.17: ./configure --with-apxs2=/var/www/bin/apxs --with-gd --with-jpeg-dir=/usr/local --with-pgsql --with-pdo-pgsql

[PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Vince Leibowitz
Hello, This is my first time to post to the list. I've been working with PHP for several years as a WordPress user, but I've come upon a problem I can't solve. I am trying to call up a specific php function (a plugin that displays ads) if the page is the home page, another specific function if

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Jason Pruim
Hi Vince, On Jul 31, 2010, at 3:15 PM, Vince Leibowitz wrote: ?php if (is_home(?php wpads('728leaderboard'); ?) (is_page(42)(?php wpads('leaderboard1'); ? (is_page(10)(php? wpads('leaderboard5);?) ? Try: ?php if (is_home(wpads('728leaderboard');) (is_page(42)( wpads('leaderboard1')

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Vince Leibowitz
That looks like it should work, but it doesn't. There isn't a reason to close the embedded php statements, but I suspect wpads isn't recognizing the call when it is embedded like this. It just brings up a blank page in all instances, which is the same issue I was having with the original code

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Jason Pruim
On Jul 31, 2010, at 3:34 PM, Vince Leibowitz wrote: That looks like it should work, but it doesn't. There isn't a reason to close the embedded php statements, but I suspect wpads isn't recognizing the call when it is embedded like this. It just brings up a blank page in all instances, which is

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Peter Lind
On 31 July 2010 21:34, Vince Leibowitz vince.leibow...@gmail.com wrote: That looks like it should work, but it doesn't. There isn't a reason to close the embedded php statements, but I suspect wpads isn't recognizing the call when it is embedded like this. It just brings up a blank page in all

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Vince Leibowitz
Peter, That works like a dream! Thanks very much for your help and pointing me to those pages. I've already noticed something over there that will fix another problem I've been having. You folks are great for offering the assistance. Have a good weekend. Vince On Sat, Jul 31, 2010 at 2:50 PM,

Re: [PHP] need help w/ unfamiliar syntax

2010-04-11 Thread Daniel Egeberg
On Sun, Apr 11, 2010 at 20:30, lala l...@mail.theorb.net wrote: Hi all, I've wasted two days trying to find this in the documentation.  Google is no help here either; they only index text. While looking at some code using objects I came across this:    $this-{$spec} The example works

Re: [PHP] need help w/ unfamiliar syntax

2010-04-11 Thread kranthi
guess you are looking for http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] need help w/ unfamiliar syntax

2010-04-11 Thread Robert Cummings
Daniel Egeberg wrote: On Sun, Apr 11, 2010 at 20:30, lala l...@mail.theorb.net wrote: Hi all, I've wasted two days trying to find this in the documentation. Google is no help here either; they only index text. While looking at some code using objects I came across this: $this-{$spec}

[PHP] Need Help.

2009-07-14 Thread Girish Padia
Dear Sir, I am facing two problem while developing my site in php. 1) I want to delete browser history whenever i migrate from one page to another. so that user can never press Back button. 2) I have 20 users who have access to my site. Right now I am checking this using cookies. I want to know

Re: [PHP] Need Help.

2009-07-14 Thread Ashley Sheridan
On Tue, 2009-07-14 at 11:59 +0530, Girish Padia wrote: Dear Sir, I am facing two problem while developing my site in php. 1) I want to delete browser history whenever i migrate from one page to another. so that user can never press Back button. 2) I have 20 users who have access to my site.

Re: [PHP] Need Help.

2009-07-14 Thread Carlos Medina
Hi Girish, You can save the SEssion id in a Cookie to make it available over requests and over days too. If you use Sessions stored on DB, you can get more security, when the SEssion Cookie is stored Encrypted. Other Option is to send the Session id, most know as PHPSESSIONID, as GET

Re: [PHP] Need Help.

2009-07-14 Thread kranthi
Hi Girish, 1. You cannot modify the browser Back button (any thing on the client's computer for that matter). 2. I strongly oppose the use of Cookies for tracking the user login, due to security reasons. Cookies are saved on the client's computer and he/she can easily modify the information

Re: [PHP] Need Help.

2009-07-14 Thread Martin Scotta
hahahahahaha How are you to delete my history? The fact that you develop a website does not allow you to take the control of my browser. But you can avoid the history to be populated by using javascript a href=lalalal.html onclick=document.location.replace(this.href) Click to lalalal /a

RE: [PHP] Need Help.

2009-07-14 Thread Bob McConnell
From: Martin Scotta hahahahahaha How are you to delete my history? The fact that you develop a website does not allow you to take the control of my browser. But you can avoid the history to be populated by using javascript a href=lalalal.html

Re: [PHP] Need Help.

2009-07-14 Thread Martin Scotta
I know... this is not for a php thread... but... If you look at the HTML the a tag is made completely unobtrusive. The link will still working without javascript. This is the original tag (with javascript) a href=lalalal.html onclick=document.location.replace(this.href) Click to lalalal

[PHP] Need Help! - Looking over a wireframe doc...

2009-05-05 Thread bruce
Hi.. I'm playing around with creating an app to allow users to add/checkin/checkout docs from a web based app. The backend will tie into SVN as a repository. The app is intended to be a php/mysql/linux app. I'm trying to find a few people that I might get to take a look at the current doc(s) I

Re: [PHP] need help with code

2009-03-22 Thread VamVan
Code without proper indentation and is very hard to comprehend. You have unnecessary spacing and line breaks that makes it difficult to debug. I suggest you few things as a good practice: 1) Until you learn perfectly to code use some nice GUI editors that have syntax highlighting (aptana,

[PHP] need help with code

2009-03-21 Thread Chris Westbrook
I hate asking for help with simple code like this because I can usually figure it out, but I'm stumped on this one. I'm getting a parser error on line 13, whether I comment out the require_once line or not. Can you help? ?php require_once('twitterlib.php');

Re: [PHP] need help with code

2009-03-21 Thread Daniel Brown
On Sat, Mar 21, 2009 at 10:42, Chris Westbrook westbch...@gmail.com wrote: I hate asking for help with simple code like this because I can usually figure it out, but I'm stumped on this one.  I'm getting a parser error on line 13, whether I comment out the require_once line or not.   Can you

Re: [PHP] need help with code

2009-03-21 Thread Virgilio Quilario
I hate asking for help with simple code like this because I can usually figure it out, but I'm stumped on this one.  I'm getting a parser error on line 13, whether I comment out the require_once line or not.   Can you help? ?php require_once('twitterlib.php');

Re: [PHP] need help with code

2009-03-21 Thread Daniel Brown
On Sat, Mar 21, 2009 at 10:54, Virgilio Quilario virgilio.quila...@gmail.com wrote: hi Chris, basing on the code you posted, you're missing the closing brace for if ($accessToken===NULL) { there should be 3 closing braces before the last ? That'll be the next error, but that error

Re: [PHP] need help with code

2009-03-21 Thread Virgilio Quilario
hi Chris, basing on the code you posted, you're missing the closing brace for if ($accessToken===NULL) { there should be 3 closing braces before the last ?    That'll be the next error, but that error would print unexpected $end on line xxx. well, if you're getting the parse error

[PHP] need help on the BBcode extension: What's the syntax of the Object Oriented Notation content_handling

2009-02-22 Thread Zhang Qingcheng
Hi there, I'm using the BBcode extension(version 1.0.2), and the manual(url: http://www.php.net/manual/en/function.bbcode-create.php) said the bbcode_initial_tags accepted Object Oriented Notation on content_handling, but I don't find any document on this notation or syntax, so could

[PHP] Need Help resolving the undefined variable and getting property of non-object errors

2009-01-27 Thread Terion Miller
Hello All, I am having problems resolving errors with some images causing the Undefined variable and getting property of non-object errors, I am trying to make a copy function so that an order can be viewed then resubmitted as a new order with minimal changes if needed. Here's my code: --could it

Re: [PHP] Need Help resolving the undefined variable and getting property of non-object errors

2009-01-27 Thread Stuart
2009/1/27 Terion Miller webdev.ter...@gmail.com: I am having problems resolving errors with some images causing the Undefined variable and getting property of non-object errors, I am trying to make a copy function so that an order can be viewed then resubmitted as a new order with minimal

[PHP] Need Help

2008-12-29 Thread dlinden
I am getting this error and can't resolve; Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /home5/camfulco/public_html/CompanyHome.php on line 132 code listing follows; ?php /* Program: CompanyHome.php * Desc:Displays a Web page that has four

Re: [PHP] Need Help

2008-12-29 Thread Eric Butera
On Mon, Dec 29, 2008 at 2:39 PM, dlinden dlin...@springtidepartners.com wrote: I am getting this error and can't resolve; Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /home5/camfulco/public_html/CompanyHome.php on line 132 I'm not going to read all

Re: [PHP] Need Help

2008-12-29 Thread John Corry
1. It's generally considered poor etiquette to send that much code to a mailing list. How about snipping the relevant section next time? 2. the error says: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result. There's your clue. Is the query good? Is the connection good? I'm getting a

Re: [PHP] Need Help - apology

2008-12-29 Thread John Corry
That was too heavy handed. I'm sorry. Please forgive my harshness. John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need Help - apology

2008-12-29 Thread Eric Butera
On Mon, Dec 29, 2008 at 3:18 PM, John Corry jco...@gmail.com wrote: That was too heavy handed. I'm sorry. Please forgive my harshness. John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Having a bad day at work? ;) -- PHP

[PHP] Need help on MySQL query

2008-12-10 Thread Rahat Bashir
Hi Experts, EID Mubarak to all. I need your help on writing a MySQL query. Scenario: CREATE TABLE transaction ( `id` int NOT NULL ATUTO INCREMENT, `date` datetime NOT NULL, `withdrawn` double (12,2) NULL, `deposit` double (12,2) NULL ); SELECT * FROM transaction; id date

Re: [PHP] Need help on MySQL query

2008-12-10 Thread German Geek
On Thu, Dec 11, 2008 at 4:52 PM, Rahat Bashir [EMAIL PROTECTED]wrote: Hi Experts, EID Mubarak to all. I need your help on writing a MySQL query. Scenario: CREATE TABLE transaction ( `id` int NOT NULL ATUTO INCREMENT, `date` datetime NOT NULL, `withdrawn` double (12,2) NULL,

Re: [PHP] Need help on MySQL query

2008-12-10 Thread Andrew Ballard
On Wed, Dec 10, 2008 at 10:52 PM, Rahat Bashir [EMAIL PROTECTED] wrote: Hi Experts, EID Mubarak to all. I need your help on writing a MySQL query. Scenario: CREATE TABLE transaction ( `id` int NOT NULL ATUTO INCREMENT, `date` datetime NOT NULL, `withdrawn` double (12,2) NULL,

Re: [PHP] Need help on MySQL query

2008-12-10 Thread clive
Rahat Bashir wrote: I need your help on writing a MySQL query. I see nothing php related in your question, try a mysql list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help with regular expression

2008-07-10 Thread Maxim Antonov
Hello. But I need no td and tr inside regular expression It is a part of my templater. In real code it looks like: if(strlen($item[$key])1){ return preg_replace('#\{%%%.*?\{%'.$key.'%\}.*?%%%\}#is','',$tpl); } if one of $key inside {%%% %%%} points to

RE: [PHP] Need help with regular expression

2008-07-10 Thread Boyd, Todd M.
-Original Message- From: Maxim Antonov [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 4:24 AM To: php-general@lists.php.net; Daniel Brown Subject: Re: [PHP] Need help with regular expression Hello. But I need no td and tr inside regular expression It is a part of my

Re: [PHP] Need help with regular expression

2008-07-10 Thread Al
Your description of the problem is confusing. Do you simply want to delete a table row if it contains a variable, e.g., $var='bigfoto' and append ==REPLACEMENT== ? Where $var can be anything you assign. Maxim Antonov wrote: Hello. But I need no td and tr inside regular expression It is a

Re: [PHP] Need help with regular expression

2008-07-10 Thread Eric Butera
On Wed, Jul 9, 2008 at 5:21 AM, Maxim Antonov [EMAIL PROTECTED] wrote: Hi, all! I try to use folowing regular expression: $out = preg_replace('#\{%%%.*?\{%bigfoto%\}.*?%%%\}#is','==REPLACEMENT==',$str); It not work as I need. Please tell me - what I do wrong? I have string:

Re: [PHP] Need help with regular expression

2008-07-09 Thread Daniel Brown
On Wed, Jul 9, 2008 at 5:21 AM, Maxim Antonov [EMAIL PROTECTED] wrote: Hi, all! I try to use folowing regular expression: $out = preg_replace('#\{%%%.*?\{%bigfoto%\}.*?%%%\}#is','==REPLACEMENT==',$str); [snip!] I need result as: trtdNAME:/tdtdinput type=text name=name value=

[PHP] Need help for DOM xsd validation

2007-12-02 Thread Matthias Reindl
Hi, I'm trying to load XML data into my script. That's no problem. The problem is, that the schema validation fails all time after loading a new document: Warning: DOMDocument::schemaValidate() [function.DOMDocument-schemaValidate]: Element

[PHP] Need help for DOM xsd validation

2007-12-02 Thread Matthias Reindl
Hi, I'm trying to load XML data into my script. That's no problem. The problem is, that the schema validation fails all time after loading a new document: Warning: DOMDocument::schemaValidate() [function.DOMDocument-schemaValidate]: Element '{http://www.desktopportal.de/Preferences}user':

Re: [PHP] Need help adding dBase support to PHP

2007-10-12 Thread Jon Westcot
General Sent: Thursday, October 11, 2007 6:06 PM Subject: Re: [PHP] Need help adding dBase support to PHP On 10/11/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi again: Thanks for the info. From what I can see, GoDaddy does NOT provide access to ssh. Any other thoughts? Or is there some

Re: [PHP] Need help adding dBase support to PHP

2007-10-12 Thread Nathan Nobbe
On 10/12/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi Nathan: The page you referenced in the PHP documentation is exactly what I saw that indicated that the dBase functions needed to be compiled in with the --enable-dbase directive. What I need to know is HOW to do this, even in general

Re: [PHP] Need help adding dBase support to PHP

2007-10-12 Thread Jon Westcot
@lists.php.net Sent: Friday, October 12, 2007 12:27 AM Subject: Re: [PHP] Need help adding dBase support to PHP On 10/12/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi Nathan: The page you referenced in the PHP documentation is exactly what I saw that indicated that the dBase functions

[PHP] Need help adding dBase support to PHP

2007-10-11 Thread Jon Westcot
Hi all: I'm not versed at all with Linux, and I need some help in configuring PHP to allow me to use the dBase-related functions. From what I read in the help files, it seems that I need to recompile PHP with the --enable-dbase command, but I don't know how to do this. Can someone

Re: [PHP] Need help adding dBase support to PHP

2007-10-11 Thread Nathan Nobbe
On 10/11/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi all: I'm not versed at all with Linux, and I need some help in configuring PHP to allow me to use the dBase-related functions. From what I read in the help files, it seems that I need to recompile PHP with the --enable-dbase command,

Re: [PHP] Need help adding dBase support to PHP

2007-10-11 Thread Jon Westcot
Hi Nathan: I have no idea. Where would I look to find this out? Will phpinfo() give me this? And, if so, where would I find it? Jon - Original Message - From: Nathan Nobbe To: Jon Westcot Cc: PHP General Sent: Thursday, October 11, 2007 5:00 PM Subject: Re: [PHP] Need

Re: [PHP] Need help adding dBase support to PHP

2007-10-11 Thread Nathan Nobbe
On 10/11/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi Nathan: I have no idea. Where would I look to find this out? Will phpinfo() give me this? And, if so, where would I find it? you might try uname -a from the command line; but theres no guarantee it will show the distribution. it

Re: [PHP] Need help adding dBase support to PHP

2007-10-11 Thread Jon Westcot
- Original Message - From: Nathan Nobbe To: Jon Westcot Cc: PHP General Sent: Thursday, October 11, 2007 5:08 PM Subject: Re: [PHP] Need help adding dBase support to PHP On 10/11/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi Nathan: I have no idea. Where would I look to find

Re: [PHP] Need help adding dBase support to PHP

2007-10-11 Thread Nathan Nobbe
On 10/11/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi again, Nathan: I'm not certain how to get to a command line. The server is a shared server provided by GoDaddy, if that's any help. They told me that I needed to change something in the .htaccess file, but that didn't sound right at

Re: [PHP] Need help adding dBase support to PHP

2007-10-11 Thread Jon Westcot
To: Jon Westcot Cc: PHP General Sent: Thursday, October 11, 2007 5:34 PM Subject: Re: [PHP] Need help adding dBase support to PHP On 10/11/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi again, Nathan: I'm not certain how to get to a command line. The server is a shared server provided

Re: [PHP] Need help adding dBase support to PHP

2007-10-11 Thread Nathan Nobbe
On 10/11/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi again: Thanks for the info. From what I can see, GoDaddy does NOT provide access to ssh. Any other thoughts? Or is there some way to tell me, in general terms, how to configure PHP to allow the dbase functions to be used? if

Re: [PHP] Need help adding dBase support to PHP

2007-10-11 Thread Nathan Nobbe
On 10/11/07, Nathan Nobbe [EMAIL PROTECTED] wrote: On 10/11/07, Jon Westcot [EMAIL PROTECTED] wrote: Hi again: Thanks for the info. From what I can see, GoDaddy does NOT provide access to ssh. Any other thoughts? Or is there some way to tell me, in general terms, how to

Re: [PHP] need help,pls

2007-07-26 Thread Alan Milnes
On 26/07/07, esimaje juan toritseju [EMAIL PROTECTED] wrote: hi, My name is Juan, i need help from you and i will be greatful if you could assist me,i have got an academic project to create a website .Within the page i should create a login session for users ,i will have a database to save

[PHP] need help,pls

2007-07-26 Thread esimaje juan toritseju
hi, My name is Juan, i need help from you and i will be greatful if you could assist me,i have got an academic project to create a website .Within the page i should create a login session for users ,i will have a database to save designs, i do know how to create the database but, do not know

[PHP] need help

2007-07-02 Thread Muhammad Hassan Samee
hay i m a C++ programmer and new to web development with basic knowledge of HTML, CSS and j.script now i want to start learning PHP anybody can direct me to some good/fast track tutorials \ books for getting start

Re: [PHP] need help

2007-07-02 Thread Davide Bernard
I've found http://php.net/ to be very helpful. Especially in troubleshooting. Muhammad Hassan Samee [EMAIL PROTECTED] 7/2/2007 8:38 AM hay i m a C++ programmer and new to web development with basic knowledge of HTML, CSS and j.script now i want to start learning PHP anybody can direct me to

Re: [PHP] need help

2007-07-02 Thread Mohamed Yusuf
checkout this site http://www.w3schools.com/php/default.asp On 7/2/07, Davide Bernard [EMAIL PROTECTED] wrote: I've found http://php.net/ to be very helpful. Especially in troubleshooting. Muhammad Hassan Samee [EMAIL PROTECTED] 7/2/2007 8:38 AM hay i m a C++ programmer and new to web

Re: [PHP] need help

2007-07-02 Thread Sancar Saran
On Monday 02 July 2007 16:38:10 Muhammad Hassan Samee wrote: hay i m a C++ programmer and new to web development with basic knowledge of HTML, CSS and j.script now i want to start learning PHP anybody can direct me to some good/fast track tutorials \ books for getting start Hi, good/fast

[PHP] need help on project-Creating Database

2007-03-28 Thread Karl James
Team, I am in need of your help. I have tried over the years to do this. But, I am not getting it correct. What I want to do is build site that has team management for your roster of players, and display stats in a nut shell. As far as stats, I have about 5 years worth of data that I want

RE: [PHP] Need help with RegEx

2006-12-15 Thread Richard Lynch
appreciated, B -Original Message- From: Michael [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 6:59 AM To: Anthony Papillion Cc: php-general@lists.php.net Subject: Re: [PHP] Need help with RegEx At 01:02 AM 12/11/2006 , Anthony Papillion wrote: Hello Everyone, I am having

RE: [PHP] Need help with RegEx

2006-12-12 Thread Ford, Mike
On 11 December 2006 19:43, Michael wrote: At 08:29 AM 12/11/2006 , Brad Fuller wrote: The example provided didn't work for me. It gave me the same string without anything modified. You are absolutely correct, this is what I get for not testing it explicitly :( My most sincere

RE: [PHP] Need help with RegEx

2006-12-12 Thread Michael
At 04:56 AM 12/12/2006 , Ford, Mike wrote: On 11 December 2006 19:43, Michael wrote: At 08:29 AM 12/11/2006 , Brad Fuller wrote: The example provided didn't work for me. It gave me the same string without anything modified. You are absolutely correct, this is what I get for not

[PHP] Need help with RegEx

2006-12-11 Thread Anthony Papillion
Hello Everyone, I am having a bit of problems wrapping my head around regular expressions. I thought I had a good grip on them but, for some reason, the expression I've created below simply doesn't work! Basically, I need to retreive all of the text between two unique and specific tags but I

Re: [PHP] Need help with RegEx

2006-12-11 Thread Børge Holen
explode it I'm having quite the difficulty to comprehend the regexp myself, but as a training, go ahead. On Monday 11 December 2006 09:02, Anthony Papillion wrote: Hello Everyone, I am having a bit of problems wrapping my head around regular expressions. I thought I had a good grip on them

Re: [PHP] Need help with RegEx

2006-12-11 Thread T . Lensselink
I'm no regex guru but something goes wrong here. First of you miss the second parameter in preg_match int preg_match ( string pattern, string subject [, array matches [, int flags [, int offset]]] ) If you need the text from two unique tags it should not be to hard: $test = tag lang='ttt'THIS

Re: [PHP] Need help with RegEx

2006-12-11 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-11 02:02:46 -0600: I am having a bit of problems wrapping my head around regular expressions. I thought I had a good grip on them but, for some reason, the expression I've created below simply doesn't work! Basically, I need to retreive all of the text between

Re: [PHP] Need help with RegEx

2006-12-11 Thread Michael
At 01:02 AM 12/11/2006 , Anthony Papillion wrote: Hello Everyone, I am having a bit of problems wrapping my head around regular expressions. I thought I had a good grip on them but, for some reason, the expression I've created below simply doesn't work! Basically, I need to retreive all of the

Re: [PHP] Need help with RegEx

2006-12-11 Thread Michael
I just realized I neglected to explain a couple of things here, sorry... My method will only work for the FIRST occurrence of the div tag pair in $source_html. The reason this method works is that you are telling preg_replace to replace everything that matches the match pattern, with just what

RE: [PHP] Need help with RegEx

2006-12-11 Thread Brad Fuller
have a working solution how we can get the text from inside these tags using regex? Much appreciated, B -Original Message- From: Michael [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 6:59 AM To: Anthony Papillion Cc: php-general@lists.php.net Subject: Re: [PHP] Need help

RE: [PHP] Need help with RegEx

2006-12-11 Thread tg-php
If you didn't say using regex this is how I'd do it (untested, forgive typos and such..ripped from some code I actively use and stripped down): ?PHP $_XML_RESPONSE_PARSER = xml_parser_create(); xml_set_element_handler($_XML_RESPONSE_PARSER, 'xml_response_open_element_function',

RE: [PHP] Need help with RegEx

2006-12-11 Thread Brad Fuller
-general@lists.php.net Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Need help with RegEx If you didn't say using regex this is how I'd do it (untested, forgive typos and such..ripped from some code I actively use and stripped down): ?PHP $_XML_RESPONSE_PARSER = xml_parser_create

RE: [PHP] Need help with RegEx

2006-12-11 Thread Michael
regex? Much appreciated, B -Original Message- From: Michael [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 6:59 AM To: Anthony Papillion Cc: php-general@lists.php.net Subject: Re: [PHP] Need help with RegEx At 01:02 AM 12/11/2006 , Anthony Papillion wrote: Hello Everyone

[PHP] need help with foreach

2006-10-31 Thread melinem
I want to tell the server to do 2 things when I click on the jobType link. This is the code that I have now which displays the art when I click on jobType foreach($row as $jobType) { $row = mysql_fetch_array($result2,MYSQL_ASSOC); echo a

Re: [PHP] need help with foreach

2006-10-31 Thread Dave Hamber
Its not very clear what you want to achieve with that code snippet. If you are pulling database rows out of your database with mysql_fetch_array(), then you do not need a foreach loop. I think you may want something like this, but without knowing your database table structure and the query

Re: [PHP] need help with foreach

2006-10-31 Thread Richard Lynch
On Tue, October 31, 2006 4:09 am, [EMAIL PROTECTED] wrote: I want to tell the server to do 2 things when I click on the jobType link. This is the code that I have now which displays the art when I click on jobType foreach($row as $jobType) {

Re: [PHP] need help to build a query

2006-10-11 Thread Ivo F.A.C. Fokkema
On Tue, 10 Oct 2006 14:22:54 -0500, Richard Lynch wrote: On Mon, October 9, 2006 2:58 pm, John Wells wrote: On 10/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: but I know there must be much better solution then this one. You're right: Simply JOIN your queries... SELECT order_id,

Re: [PHP] need help to build a query

2006-10-10 Thread Richard Lynch
On Mon, October 9, 2006 2:44 pm, [EMAIL PROTECTED] wrote: I have table orders with primary key order_id. I have table uploaded_files with primary key ufid and uploaded files are linked to orders by order_id column. I have to list all orders and uploaded files. this works fine: $query =

  1   2   3   4   5   6   >