Re: [PHP-DB] echo into variable or the like

2012-08-21 Thread Daniel Brown
On Tue, Aug 21, 2012 at 12:01 AM, wrote: > Hi, this is my first post so forgive me if I missed a rule and do something > wrong. > > I have this code, > > echo $_SERVER['PHP_SELF']."?"; > foreach ($_GET as $urlvar=>$urlval) > echo $urlvar."=".$urlval."&"; > > It works by it’s self. > I want to in

Re: [PHP-DB] echo into variable or the like

2012-08-20 Thread Karl DeSaulniers
- From: Karl DeSaulniers Sent: Tuesday, August 21, 2012 2:22 PM To: php-db@lists.php.net Subject: Re: [PHP-DB] echo into variable or the like You echo to the page not to a variable. php.net is your friend. :) GL On Aug 20, 2012, at 11:01 PM, wrote: Hi, this is my first post so forgive me i

Re: [PHP-DB] echo into variable or the like

2012-08-20 Thread s.dev
August 21, 2012 2:22 PM To: php-db@lists.php.net Subject: Re: [PHP-DB] echo into variable or the like You echo to the page not to a variable. php.net is your friend. :) GL On Aug 20, 2012, at 11:01 PM, wrote: Hi, this is my first post so forgive me if I missed a rule and do something wrong

Re: [PHP-DB] echo into variable or the like

2012-08-20 Thread Karl DeSaulniers
You echo to the page not to a variable. php.net is your friend. :) GL On Aug 20, 2012, at 11:01 PM, > wrote: Hi, this is my first post so forgive me if I missed a rule and do something wrong. I have this code, echo $_SERVER['PHP_SELF']."?"; foreach ($_GET as $urlvar=>$urlval) echo $ur

[PHP-DB] echo into variable or the like

2012-08-20 Thread s.dev
Hi, this is my first post so forgive me if I missed a rule and do something wrong. I have this code, echo $_SERVER['PHP_SELF']."?"; foreach ($_GET as $urlvar=>$urlval) echo $urlvar."=".$urlval."&"; It works by it’s self. I want to insert the output in a table. Is there a way to ‘echo’ into a

RE: [PHP-DB] echo

2007-03-29 Thread Bastien Koert
try echo " "; warpping the array element in braces allows for proper evaluation bastien From: elk dolk <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] echo Date: Thu, 29 Mar 2007 05:08:36 -0700 (PDT) thanks to Chris and Dimiter, I think I am close but stil

[PHP-DB] echo

2007-03-29 Thread elk dolk
thank you all, it did it! >[EMAIL PROTECTED] >You need a trailing " >you have echo " >it needs to be >echo ""; - Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.

Re: [PHP-DB] echo

2007-03-29 Thread Brad Bonkoski
elk dolk wrote: thanks to Chris and Dimiter, I think I am close but still the problem is not solved, when I add echo " to the code as it was sugested by Dimiter there is parse Error : PHP Parse error: syntax error, unexpected $end in C:\Inetpub\wwwroot\album\show.php on line 44 line 44 is e

[PHP-DB] echo

2007-03-29 Thread elk dolk
thanks to Chris and Dimiter, I think I am close but still the problem is not solved, when I add echo " to the code as it was sugested by Dimiter there is parse Error : PHP Parse error: syntax error, unexpected $end in C:\Inetpub\wwwroot\album\show.php on line 44 line 44 is end of the code jus

RE: [PHP-DB] echo

2007-03-28 Thread Bastien Koert
if you view the source of the generated page, is the image name correct? is the path to the image correct? bastien From: elk dolk <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] echo Date: Tue, 27 Mar 2007 22:07:37 -0700 (PDT) Hi all, I am new to web programming. I hav

Re: [PHP-DB] echo

2007-03-28 Thread Dimiter Ivanov
something like this : Inetpub\wwwroot\album\img as I am running out of time! could someone complete this code just with one echo and img src so that I can retrive my photos ? MySQL columns : photoID=seq number photoFileName=name of my photo like 3sw.jpg

Re: [PHP-DB] echo

2007-03-27 Thread Chris
elk dolk wrote: I am storing just the name of photos in the database and the photos are in /img folder , and there is no permissions issue. So it's a path issue. You need to reference the image as: -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP Database Mailing List (h

[PHP-DB] echo

2007-03-27 Thread elk dolk
I am storing just the name of photos in the database and the photos are in /img folder , and there is no permissions issue. My testing server is IIS And the path would be something like this : Inetpub\wwwroot\album\img as I am running out of time! could someone complete this code just with one

Re: [PHP-DB] echo

2007-03-27 Thread Chris
elk dolk wrote: Hi all, I am new to web programming. I have code to add pictures to a MYSQL database. Now I can't seem to figure out how to get them back out ! so we can see them. The MySQL doesn't seem to be a problem (yet), also I'm trying to learn PHP. What I usually do is to load

Re: [PHP-DB] echo

2007-03-27 Thread Ron Croonenberg
You might be missing a quote so here and there unless you have the quotes stored in the database too. Since your photos are stored on disk, make sure the webserver has access to them. Then make sure that your string is something like in php: printf("", $somepath, $somefilename); in your php

[PHP-DB] echo

2007-03-27 Thread elk dolk
Hi all, I am new to web programming. I have code to add pictures to a MYSQL database. Now I can't seem to figure out how to get them back out ! so we can see them. The MySQL doesn't seem to be a problem (yet), also I'm trying to learn PHP. What I usually do is to load the images in a f

RE: [PHP-DB] echo delay...

2007-02-16 Thread Bastien Koert
I would suggest placing all the data into divs and using some js to show those divs when the time is right bastien From: "Matthew Ferry" <[EMAIL PROTECTED]> To: Subject: [PHP-DB] echo delay... Date: Fri, 16 Feb 2007 03:37:17 -0500 Hi fellow php late night peoples

[PHP-DB] echo delay...

2007-02-16 Thread Matthew Ferry
Hi fellow php late night peoples Thanks for everyone's help the last couple of days... I have learned so much. The best way to learn this stuff...is simple trial and error... and thanks for good old Ggle! My problem tonight is very simple. I just don't know what command I want to use.

Re: [PHP-DB] ECHO $variable

2006-10-08 Thread Jan Bailleul
You can as well add a backslash BEFORE the " eg. echo "text \"more text\" "; So that will return this: text "more text" - Original Message - From: "Bastien Koert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Su

RE: [PHP-DB] ECHO $variable

2006-10-08 Thread Bastien Koert
CTED] To: PHP DB Subject: [PHP-DB] ECHO $variable Date: Sun, 08 Oct 2006 01:32:13 -0400 In one of my scripts I have where $saved_message_title is 1 Peter 5:7 "Cast all your cares on Him for He cares about you" --- note the " When this is displayed on the screen it reads 1 Peter

Re: [PHP-DB] ECHO $variable

2006-10-07 Thread Niel Archer
Hi Where's the DB question? Niel -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] ECHO $variable

2006-10-07 Thread Ron Piggott (PHP)
In one of my scripts I have where $saved_message_title is 1 Peter 5:7 "Cast all your cares on Him for He cares about you" --- note the " When this is displayed on the screen it reads 1 Peter 5:7 I am assuming the " closes the value= How may I echo this to the screen and have the full text

RE: [PHP-DB] Echo with extra characters

2003-01-20 Thread Boaz Yahav
In case the string is always "Language" you can use : $mainarea = substr($mainarea,2,8); If not, than you need Regexps berber -Original Message- From: Alex Francis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 4:41 PM To: [EMAIL PROTECTED] Subject: [PHP-DB]

[PHP-DB] Echo with extra characters

2003-01-08 Thread Alex Francis
I have the following code in my page as a header. When I echo $mainarea I get \'Language\'. I think it is something to do with my quotation marks but need some help. How do I get rid of the ' and \ so that I am left with my variable?. -- PHP Database Mailing List (http://www.php.net/) To

[PHP-DB] Echo Command Thanks

2002-10-23 Thread Chris Payne
Hi there everyone, Thank you all for your responses to my question about the best way to end a PHP command (Or use Echo to print HTML). My gut feeling was it should be ok, it's just that *To me* it is MUCH easier to follow code which doesn't contain echo "" etc . I much prefer to do it ?> an

RE: [PHP-DB] echo printing a cookie

2002-10-15 Thread Ford, Mike [LSS]
> -Original Message- > From: Steve Dodkins [mailto:[EMAIL PROTECTED]] > Sent: 15 October 2002 14:22 > To: Php-Db (E-mail) > > Hi I'm trying to print the contents of a cookie (php 4.2.3) > the syntax below > is wrong but what should it be? > > if ($_cookie["cookiename"]== TRUE) { > echo"

RE: [PHP-DB] echo printing a cookie

2002-10-15 Thread Aaron Wolski
If (isset($_COOKIE[cookiename]) { echo 'Your cookie is: '.$_COOKIE[cookiename].' '; } -Original Message- From: Steve Dodkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 9:22 AM To: Php-Db (E-mail) Subject: [PHP-DB] echo printing a cookie Hi

RE: [PHP-DB] echo printing a cookie

2002-10-15 Thread Simon Taylor
Here ya go.. if ($_cookie["cookiename"]) { echo"your cookie is".$_COOKIE['cookiename'].""; } Cheers Simon -Original Message- From: Steve Dodkins [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 15:22 To: Php-Db (E-mail) Subject: [PHP-DB

Re: [PHP-DB] echo printing a cookie

2002-10-15 Thread Jeffrey_N_Dyke
ehl.co.uk> cc: Subject: [PHP-DB] echo printing a coo

[PHP-DB] echo printing a cookie

2002-10-15 Thread Steve Dodkins
Hi I'm trying to print the contents of a cookie (php 4.2.3) the syntax below is wrong but what should it be? if ($_cookie["cookiename"]== TRUE) { echo"your cookie is" $_COOKIE["cookiename"]""; } Regards Steve Dodkins IMPORTANT NOTICE The information in this e-mail is confidential and should

[PHP-DB] Echo function stopping

2001-04-02 Thread Shannon Doyle
Hi People, Below I have included some code that just doesn't seem to be functioning all correctly. I have this running and it appears to stop the query/echo after the first entry in the database. What is it that I am doing wrong here?? Regards, Shannon Round ".$roundnum.""; echo "".$array[$i