Send array from php to phpHI every one
I' try to send array from web page to php file
but no data are show
I'm using session to store data
and this is my code
////////////////////////////////////////////////////////////////////////
$data = $cart_items;
session_register('data');
foreach ($cart_items as $cart_item) {
echo "<tr>";
echo " <td><span class='style2'>".$cart_item->name."</span></td>";
echo " <td><span class='style2'>".$cart_item->description."</
span></td>";
echo " <td><span class='style2'>".$cart_item->price." S.R.</span></
td>";
echo " <td><span class='style2'>".$cart_item->quantity."</span></
td>";
echo " <td><span class='style2'>".$cart_item->price * $cart_item-
>quantity."</span></td>";
echo " <td><span class='style4'><a href='order.php?action=del&id=".
$cart_item->object_id."'>[del]</a></span></td>";
echo "</tr>";
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\
and this is my php code to get the data
////////////////////////////////////////////////////////
<?php
foreach ($data as $item)
{
echo "<tr>";
print " &l...
PHP Training Institute In Delhi, Live Projects on PHP. Short Term PHP Courses, PHP Scripts, PHP Training with Live Projects.Vserve Global offers short term PHP: Hypertext Preprocessor Training
Course, which is a widely used, general-purpose scripting language
that was originally designed for web development, to produce dynamic
web pages. It can be embedded into HTML and generally runs on a web
server, which needs to be configured to process PHP code and create
web page content from it. It can be deployed on most web servers and
on almost every operating system and platform free of charge.PHP is
installed on over 20 million websites and 1 million web servers.
TOPICS:-
>> Core PHP Language
>> HTML, Cascad...
php outside php (?)Sounds weird, i know.
What i want/wonder is the following:
PHP can do the next:
<?php
if($foo == 'bar')
{
?>
Ow yeah, foo is bar!
<?php
};
?>
But how can i do the following:
<?php
$foo=
?>
this is what foo looks like.
<?php
};
?>
This way i could edit the content of $foo in DW's design-view.
I hope it's clear enough for you all to understand...
Greetings frizzle.
frizzle wrote:
> But how can i do the following:
>
> <?php
>
> $foo=
>
> ?>
> this is what foo looks like.
> <?php
>
> };
>
> ?>
>
> This way i could edit the content of $foo in DW's design-view.
> I hope it's clear enough for you all to understand...
<?php
ob_start();
?>
this is what foo looks like.
<?php
$foo=ob_get_clean();
?>
--
Justin Koivisto - justin@koivi.com
http://koivi.com
Wow, little late on the reply,
but i still wanted to thank you for your help.
This is exactly what i meant, and it works great! :D
Thanks again.
...
php to php objHi All,
Is there any tool to convert the .php files into its object files in
deploying the files to other's server like java classes are deployed?
Thanks in advance
--AR
John7481 <arjohn7481@hotmail.com> wrote or quoted:
> Is there any tool to convert the .php files into its object files in
> deploying the files to other's server like java classes are deployed?
To what end?
Do you want a PHP obfuscator? They tend not to be needed - since the code
remains on the server.
Do you want a PHP squeezer? Again - since PHP remains on the server
that is of reduced importance.
PHP obfuscators and squeezers are out there - but what exactly
are you looking for?
--
__________
|im |yler http://timtyler.org/ tim@tt1lock.org Remove lock to reply.
With total disregard for any kind of safety measures Tim Tyler
<tim@tt1lock.org> leapt forth and uttered:
> John7481 <arjohn7481@hotmail.com> wrote or quoted:
>
>> Is there any tool to convert the .php files into its object
>> files in deploying the files to other's server like java
>> classes are deployed?
>
> To what end?
>
> Do you want a PHP obfuscator? They tend not to be needed -
> since the code remains on the server.
>
> Do you want a PHP squeezer? Again - since PHP remains on the
> server that is of reduced importance.
>
> PHP obfuscators and squeezers are out there - but what exactly
> are you looking for?
I think he'...
PHP within PHP...I took over the support of a website that is set up something like
this inside one of the pages:
include_once("header.php");
<?php
//to get the content of the page they do this:
$content = mysql_query("select content etc...);
echo $content;
?>
include_once("footer.php");
I am having problems evaluating any php that is used in the mysql
content. Is there a way to get the mysql withing the mysql to run?
Thank you for your time,
Mandragon
On Sep 17, 12:56 pm, Mandrago...@gmail.com wrote:
> I took over the support of a website that is set up something like
> this inside one of the pages:
>
> include_once("header.php");
>
> <?php
> //to get the content of the page they do this:
> $content = mysql_query("select content etc...);
>
> echo $content;
> ?>
>
> include_once("footer.php");
>
> I am having problems evaluating any php that is used in the mysql
> content. Is there a way to get the mysql withing the mysql to run?
>
> Thank you for your time,
>
> Mandragon
Sorry, The question should read:
"Is there a way to get the php withing the echo $htmlcontent to run?"
Of course you are, $content is a resource. The MySQL Query resource.
try this:
$content = mysql_query('bla bla bla');
while ($row = mysql_fetch_assoc($content)) {
$result[] = $row;
}
$content = $result;
Now you can use $content ;).
In answer to your edit...
eval($co...
Sending e-mail via PHPHi
Is there possible to send e-mail from simple form when the server doesn't
have a domain name, and in the internet only can be seen using it IP address
? The mail() function will work correctly ?
And if not what would you suggest ?
Regards
Domin
Domin wrote:
> Hi
>
> Is there possible to send e-mail from simple form when the server doesn't
> have a domain name, and in the internet only can be seen using it IP address
> ? The mail() function will work correctly ?
> And if not what would you suggest ?
There is a nice PHP PEAR class for sending mail using SMTP :)
http://pear.php.net/mail_mime
Regards,
Johan
Thank you.
I'll try it.
Domin
*** Domin wrote/escribi� (Thu, 27 Nov 2003 07:39:42 +0100):
> Is there possible to send e-mail from simple form when the server doesn't
> have a domain name, and in the internet only can be seen using it IP address
> ? The mail() function will work correctly ?
All you need is a working SMTP server you have permission to use. It can be
a local server or a remote one. If you have a local server without a domain
name it won't be able to *receive* mail, but it'll certainly send it.
--
--
-- �lvaro G. Vicario - Burgos, Spain
--
Hello,
On 11/27/2003 04:39 AM, Domin wrote:
> Is there possible to send e-mail from simple form when the server doesn't
> have a domain name, and in the internet only can be seen using it IP address
You can, but many servers will reject or dis...
NoobI'm missing something and need a push in the right direction.
If I create a php file with the following content, and call it via a
browser, it works as expected.
<?php
echo "hello world";
?>
If I embed the same thing in a simple HTML file, I get nothing.
<html>
<body>
<?php>
echo "Hello world";
?>
</body>
</html>
I'm running
Mandrake 10.0
Apache 2
PHP 4
The php_mod is loaded for Apache.
I did the install for both Apache and PHP via Mandrakes built in rpm
management system.
TIA for any tips.
Doug
I noticed that Message-ID:
<zqOdnaUmufZv0u_cRVn-uA@metrocastcablevision.com> from dogu contained
the following:
>I'm missing something and need a push in the right direction.
>If I create a php file with the following content, and call it via a
>browser, it works as expected.
><?php
>echo "hello world";
>?>
>
>If I embed the same thing in a simple HTML file, I get nothing.
><html>
><body>
><?php>
>echo "Hello world";
>?>
></body>
></html>
Unless you have configured Apache otherwise, the file must end in .php
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
I noticed that Message-ID: <r8k4n05dtp2vmtofcqcnht8tbgbd0s6k3a@4ax.com>
from Geoff Berrow contained the following:
>...
HELP!! PHP Warning: PHP Startup: Unable to load dynamic library 'c:\PHP\Ext\php_mysql.dll'Why do I keep getting this error mesgage on my phpinfo() page trying to
get PHP and MySQL to communicate? I am running this in IIS.
Here's what I have -
My php.ini resides in my C:\WINNT directory. In it, I have removed the
';' from the extension=php_mysql.dll.
Also in the php.ini file I set extension_dir = c:\PHP\Ext
In c:\PHP\Ext I have the following files:
libmysqli.dll
libmySQL.dll
php5apache2.dll (Do I need this since I am using IIS)?
php5ts.dll
php_mysql.dll
Any help would be tremendously appreciated. I have spent a ton of time
on this.
Thanks.
MS wrote:
> Why do I keep getting this error mesgage on my phpinfo() page trying to
> get PHP and MySQL to communicate? I am running this in IIS.
>
> Here's what I have -
>
> My php.ini resides in my C:\WINNT directory. In it, I have removed the
> ';' from the extension=php_mysql.dll.
>
> Also in the php.ini file I set extension_dir = c:\PHP\Ext
>
> In c:\PHP\Ext I have the following files:
>
> libmysqli.dll
> libmySQL.dll
> php5apache2.dll (Do I need this since I am using IIS)?
> php5ts.dll
> php_mysql.dll
>
> Any help would be tremendously appreciated. I have spent a ton of time
> on this.
>
> Thanks.
Hi,
A few common mistakes are:
1) editting the wrong php.ini
Ask phpinfo() which php.ini it is using. Often people edit the one in
c:\php\php.ini. My advise: delete all on your system except one.
2) forget to giv...
Best PHP Training | PHP Development Training | PHP Training InstituteTops Technologies provides php and mysql certification courses in
ahmedabad, baroda, surat, Rajkot, Udaipur, Gujarat, india.PHP Training
with MySQL is an introductory course in the PHP and MySQL technology.
Mysql and php training course, php for beginners, sql training
courses, PHP Training courses, php courses, mysql training courses,
php mysql course.
For More Details :- http://www.tops-int.com
...
Problem with Mail()In my PHP 5.0 at home, I'm using the following code to successfully
write to a database and also send out an email. For some reason, when
I take this code to work, it still writes to the database but doesn't
send mail so we're (me and the I.T. guy) trying to find out whether
it's the difference between PHP 4 or something else with email
security.
Does anyone here have experience with mail() in PHP 4 to know whether
PHP 4 had issues with mail() that were fixed with PHP 5 ???? We've
been chasing this from the mail server side at work when perhaps its
some nuance between versions of PHP.
Appreciate any help...
Chris
/* > $to = stripslashes($to); */
$to = stripslashes($to)."\r\n";
$subject = stripslashes($subject);
$text = stripslashes($text);
/* > mail('$to',$subject, $text); */
mail($to, $subject, $text, "From: admin@localhosthome.com");
cover wrote:
> $to = stripslashes($to)."\r\n";
>
Might or might not be the cause, but you should remove the trailing CRLF
here.
JW
On Mon, 27 Feb 2006 22:33:57 +0100, "Janwillem Borleffs"
<jw@jwscripts.com> wrote:
>cover wrote:
>> $to = stripslashes($to)."\r\n";
>>
>
>Might or might not be the cause, but you should remove the trailing CRLF
>here.
Thanks for the reply. I tried it after reading your post and no
change... Thanks again,
cover wrote:
> In my PHP 5.0 at home, I'm using the following co...
Installing PHPI'm a newbie to Apache. This week I installed my first Apache 2.0 server,
and it's working fine. I then installed PHP. When I ran the PHP test file
("test.php"), the actual text contents of the file came up in the
browser:
----------------
<?php
phpinfo();
?>
----------------
I confirmed that my Apache installation includes the "mod_so.c" module. I
made sure that the file "test.php" was in the default htdocs folder. I
confirmed that my "httpd.conf" file contained the lines :
----------------
LoadModule php4_module /Library/Apache2/modules/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
----------------
I made sure that the directory /Library/PHP4 was installed, and that the
"libphp4.so" file was located in /Library/Apache2/modules.
I logged out of my system (Mac OS-X 10.3.2) and logged back in, to make
sure that Apache restarted.
What am I missing? How can I get PHP working? Thanks in advance to all
for any info.
-Vik
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vik Rubenfeld wrote:
> I logged out of my system (Mac OS-X 10.3.2) and logged back in, to make
> sure that Apache restarted.
Now I known nothing about OSX, but I'm told it's not unlike
a unix underneath all the eye-candy. If that is the case, I
would think you need to do more then a logout to have Apache
restarted. Did you try a reboot?
Bob
- --
| B. Johannessen <bob@db.or...
Problem sending mail with sendmail and phpWhen i send mail using mail() in php i receive from my external smtp
server a message such that:
Sep 3 17:30:15 xxxxxxx postfix/smtpd[898]: NOQUEUE: reject: RCPT from
unknown[yyyyyyyy]: 450 <apache@zzzzzzzzzz.uuu.hhh.it>: Sender address
rejected: Domain not found; from=<apache@zzzzzzzzzz.uuu.hhh.it>
to=<marco.pppppppppppppp@xxxxxxx.it> proto=ESMTP
helo=<apache@zzzzzzzzzz.uuu.hhh.it>
Where zzzzzzzzzz is name of the Linux machine
uuu.hhh.it is the domain
I need that sender is someone@uuu.hhh.it and not
apache@zzzzzzzzzz.uuu.hhh.it
Do you know where must i ...
Tutorial on php (or learning php)I need to learn php and MySQL quickly to support an app. Realizing
experience is the best teacher, and this takes time, does anyone ahve
any recommendations on:
books
tutorials
web sites
samples
to help me get going?
Thanks.
Hugh Williams and David Lane have written a book called "Web Database
Applications with PHP and MySQL'' which you can obtain from Amazon at
http://www.amazon.com/exec/obidos/ASIN/0596000413/hughwilliams-20/103-0647779-6796618.
This book has its own website at http://www.webdatabasebook.com/.
You can also download the code and install it locally.
HTH.
--
Tony Marston
http://www.tonymarston.net
"JA" <JAlbert@Yahoo.Com> wrote in message
news:urjc80tlmfdmd0ha7ed017j1mj580ha167@4ax.com...
> I need to learn php and MySQL quickly to support an app. Realizing
> experience is the best teacher, and this takes time, does anyone ahve
> any recommendations on:
>
> books
> tutorials
> web sites
> samples
>
> to help me get going?
>
> Thanks.
JA wrote:
> I need to learn php and MySQL quickly to support an app. Realizing
> experience is the best teacher, and this takes time, does anyone ahve
> any recommendations on:
>
> books
> tutorials
> web sites
> samples
>
> to help me get going?
>
> Thanks.
PHP.net really is good, it has references for all the instructions, and the
manual is actually pretty good for beginners.
JA wrote:
>
> I need to l...
PHP games to learn PHPHi,
I am learning PHP, but it can be kind of boring. Are there any games where
you use PHP programming to play the game? This way you learn how to use
PHP and it is fun. Does anybody know?
Nick
"Nick Mudge" wrote
> I am learning PHP, but it can be kind of boring. Are there any games where
> you use PHP programming to play the game? This way you learn how to use
> PHP and it is fun. Does anybody know?
Yes. Write something (a game, for example) in PHP. To make it even more
entertaining, you could add a touch of javascript.
Ivo
"Ivo" <no@thank.you> wrote in message
news:40cc70fe$0$62706$ee9da40f@news.wanadoo.nl...
> "Nick Mudge" wrote
> > I am learning PHP, but it can be kind of boring. Are there any games
where
> > you use PHP programming to play the game? This way you learn how to use
> > PHP and it is fun. Does anybody know?
>
> Yes. Write something (a game, for example) in PHP. To make it even more
> entertaining, you could add a touch of javascript.
> Ivo
Since all games are input, output and state engines, the PHP bit is limited
to the latter. You get to do the input/output in something else (browsers,
JScript, etc) and practise doing the state engine code in PHP. Something
like an old-style play-by-mail is perfect. Witness something like
http://www.nationstates.net/cgi-bin/index.cgi for ideas that do that.
Garp
Garp wrote:
> "Ivo" <no@thank.you> wrote in mess...
Php constants in php.iniI am trying to set user_agent = PHP_VERSION in php.ini. In my php.ini
the instructions say that you can use constants in the php.ini file.
The only constants I can get to work, though, are the error level
constants like E_ALL, E_ERROR, E_WARNING, etc., ...
Is anyone aware of some sort of trick to getting others to work?
(I was thinking it would be nice to have the user agent string used by
my Php scripts to use PHP_VERSION in the string.)
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
Integrity is obvious.
The lack of it is common.
*****************************
...
PHP with Indian PHP DevelopersDear all,
If you want to make a PHP web application, or need to <a href="http://
www.virtueinfo.com/php-developers/hire-php-programmers-developers-india.htm">Hire
PHP Developer</a>contact a leading <a href="http://www.virtueinfo.com/
php-developers/php-web-development.htm"> PHP Web Development Compnay</
a>
<a href="http://www.virtueinfo.com/php-developers/php-web-programming-
php-developers-india.htm">Offshore PHP web development India</a>
On Thu, 25 Feb 2010 01:37:02 -0800 (PST), Virtue Info wrote:
> Dear all,
>
>
> If you want to make a PHP web application, or need to <a href="http://
> www.example.com/php-developers/hire-php-programmers-developers-india.htm">Hire
> PHP Developer</a>contact a leading <a href="http://www.example.com/
> php-developers/php-web-development.htm"> PHP Web Development Compnay</
> a>
>
>
><a href="http://www.example.com/php-developers/php-web-programming-
> php-developers-india.htm">Offshore PHP web development India</a>
>
Third time's the charm? Not exactly a ringing endorsement of the skills
you've got available or your testing method reliablity...
--
12. One of my advisors will be an average five-year-old child. Any
flaws in my plan that he is able to spot will be corrected before
implementation.
--Peter Anspach's list of things to do as an ...
PHP does not parse .PHP filesI have this problem with PHP that someone might be able to help.
With CLI, I am able to execute my .php files. For example, if I type
"php phpinfo.php" , this works fine on my system.
If I put the phpinfo.php file is in /var/www/html and I try to access
it through the browser, I get the content of the file and not the
execution of the file. Instead of display the info of PHP, I got the
text of the file as:
<?php
phpinfo();
?>
Why?
Thanks
Phong Ho wrote:
>I have this problem with PHP that someone might be able to help.
>
>With CLI, I am able to execute my .php files. For example, if I type
>"php phpinfo.php" , this works fine on my system.
>
>If I put the phpinfo.php file is in /var/www/html and I try to access
>it through the browser, I get the content of the file and not the
>execution of the file. Instead of display the info of PHP, I got the
>text of the file as:
>
><?php
> phpinfo();
>?>
>
>
>Why?
>Thanks
Do you have a webserver such as Apache running on the machine where
you expect this to happen? Because it's the webserver, not the
browser, that needs to know about php. The browser only does html.
Margaret
--
(To mail me, please change .not.invalid to .net, first.
Apologies for the inconvenience.)
"Phong Ho" wrote:
> I have this problem with PHP that someone might be able to help.
>
> With CLI, I am able to execute my .php files. For exam...
how to use the PHP path to send something explicitly to the PHP parser?Hi. I'm messing around with some stuff in an .htaccess file. Among
other things, I'd like to send my html files to the PHP parser. I'd
also like to rewrite the urls using Apache mod_rewrite, so that the
query string disappears, but the variables are still recorded. For all
these tasks, I need to know the PHP path. When I run phpinfo, I see
this listed as the Path:
PATH /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
I'm not sure how to use that infomation. Do I use all of it? Some of
it?
lkrubner@geocities.com wrote:
> Hi. I'm messing around with some stuff in an .htaccess file. Among
> other things, I'd like to send my html files to the PHP parser. I'd
> also like to rewrite the urls using Apache mod_rewrite, so that the
> query string disappears, but the variables are still recorded. For all
> these tasks, I need to know the PHP path. When I run phpinfo, I see
> this listed as the Path:
>
> PATH /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
The path in php is where the interpreter will look for system commands
when a full path is not provided. For instance:
<?php $contents = `ls -fl`; ?>
PHP will look in each of the PATH directories for the ls command:
/bin/ls
/usr/bin/ls
/sbin/ls
/usr/sbin/ls
/usr/local/bin/ls
/usr/local/sbin/ls
If none of the above are found, then you will get an error...
> I'm not sure how to use that infomation. Do I use all of it? Some of
> it?...
Does PHP need the .php extension ?Hi guys,
When I use PHP I give my file the .php extension. I always wondered if it
could be an .htm page with a <script> block that the PHP resides in, the
same way you would do JavaScript. If you can do it that way are there any
benifits to that method ?
Take care,
Cyrus
"Cyrus D." <satan@invalid.org> writes:
> Hi guys,
>
> When I use PHP I give my file the .php extension. I always wondered if it
> could be an .htm page with a <script> block that the PHP resides in, the
> same way you would do JavaScript. If you can do it that way are there any
> benifits to that method ?
>
> Take care,
> Cyrus
>
>
Right now you probably have a directive like this in your
httpd.conf file (or your ISP does).
AddType application/x-httpd-php .php4 .php .php3 .inc .inf .phtml
It identifies the extensions which should be processed by the
php interpreter before output is sent to the browser. I believe
you can also include this directive in a .htaccess file in your
area and add .htm to the list. This would send all your files
throught the interpreter and those that do not contain PHP code
would just be passed through....
You mention Javascript, but that is a bit different. The
interpretation of that happens at your browser -- all the PHP
work is done at the server.
Hope this helps.
--
John
__________________________________________________________________...
php://memory and php://temphttp://php.net/manual/en/wrappers.php.php
per the documentation: php://memory and php://temp are both listed
under "Allows Appending"
what am I missing / what's the point?
They only seem to work with read/write modes such as
fopen('php://memory','rw');
closing the handle, or trying to open another handle without closing
the first essentially erase the contents... so what's the point of
fopen('php://memory','a') ?
you'll
a) be appending nothing,
b) no way to read what you just wrote?
sure would be nice if you could
$fh = fopen('php://memory', 'w');
fwrite($fh, 'test string');
fclose($fh);
$fh = fopen('php://memory', 'r');
$result = fgets($fh,2048);
fclose($fh);
echo $result;
On 10/12/2010 9:44 PM, BKDotCom wrote:
> http://php.net/manual/en/wrappers.php.php
> per the documentation: php://memory and php://temp are both listed
> under "Allows Appending"
>
> what am I missing / what's the point?
>
> They only seem to work with read/write modes such as
> fopen('php://memory','rw');
>
> closing the handle, or trying to open another handle without closing
> the first essentially erase the contents... so what's the point of
> fopen('php://memory','a') ?
> you'll
> a) be appending nothing,
> b) no way to read what you just wrote?
>
> sure would be nice if you could
>
> $fh = ...
PHP 4 and PHP 5What is main difference between PHP 4 and PHP 5?
Is possible to use object programming apporach with PHP4?
Is possible to use Stored Procedures in Oracle with PHP4?
Where I can get more informations?
Thanks in advance
"ablyplus" <ablyplus@yahoo.com> wrote in message
news:cr5n6g$5bp$1@ls219.htnet.hr...
> What is main difference between PHP 4 and PHP 5?
take a look at http://www.zend.com/php5/
> Is possible to use object programming apporach with PHP4?
Yes. The new features in PHP 5 are mainly cosmetic (e.g. visibility). With
PHP 4 you can define classes with methods, properties and constructors. You
can create objects from these classes at runtime. You do not *need* PHP 5 to
write object oriented code with PHP.
> Is possible to use Stored Procedures in Oracle with PHP4?
Read the manual. take a looki at http://www.php.net/manual/en/ref.oci8.php
at scroll down to example 2.
> Where I can get more informations?
Looking for it might be a start.
> Thanks in advance
You're welcome.
--
Tony Marston
http://www.tonymarston.net
"ablyplus" <ablyplus@yahoo.com> wrote in message
news:cr5n6g$5bp$1@ls219.htnet.hr...
> What is main difference between PHP 4 and PHP 5?
Much improved OO, and the odd incompatibility. The only noticeble one is
that array_merge must be given 2 arrays, you can just chuck in a simple
variable and expect it to be merged with an array. It chucks a warning I
believe, and still does it...
html within php works, but php within html doesntBelow are two different ways of writing the same script. The top one works
but the bottom one displays nothing in the list. Can anyone see why?
<?php
echo "<select name='subcat' style='WIDTH: 95%'><option value=''>Select
one</option>";
while($noticia = mysql_fetch_array($quer)) {
echo "<option value='$noticia[TopicID]'>$noticia[Topic]</option>";
}
echo "</select>";
?>
<select name="subcat" style="WIDTH: 95%">
<option value="">Select one</option>
<?php while($noticia = mysql_fetch_array($quer)) { ?>
<option value="<?php $noticia[TopicID]; ?>"><?php $noticia[Topic];
?></option>
<?php } ?>
</select>
Ian
On Sat, 02 Sep 2006 13:19:38 GMT, "mantrid" <ian.dandav@virgin.net> wrote:
><option value="<?php $noticia[TopicID]; ?>"><?php $noticia[Topic];
>?></option>
You haven't done anything in those PHP blocks; you need "print" or "echo".
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
DOOH!
Knew it was somethin simple
Cheers
"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:gh1jf2dur1knluu2uf2mqj8r8shgu778ne@4ax.com...
> On Sat, 02 Sep 2006 13:19:38 GMT, "mantrid" <ian....
IS a PHP programmer typing <?php ?> most of the time when he is at work?IS a PHP coder typing opening and closing tags most of the time when
he is at work?
tenxian schreef:
> IS a PHP coder typing opening and closing tags most of the time when
> he is at work?
(Sigh, the troll is back.
Let's throw something at him. Maybe it will keep him quit for a day or so.)
Hi Tenxian!
Very good question!
And a smart one too.
I like good questions.
I also really like smart good looking people like you!
Your mom and dad also think you are doing great.
Thanks for your question!
Byebye my love!
With high regards,
Erwin Moller
On 30 Apr, 09:34, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_m...@spamyourself.com> wrote:
> tenxian schreef:
>
> > IS a PHP coder typing opening and closing tags most of the time when
> > he is at work?
>
> (Sigh, the troll is back.
> Let's throw something at him. Maybe it will keep him quit for a day or so.)
LOL
On Apr 30, 5:44 am, tenxian <hi.steven...@gmail.com> wrote:
> IS a PHP coder typing opening and closing tags most of the time when
> he is at work?
Go back to your hug box.
tenxian wrote:
> IS a PHP coder typing opening and closing tags most of the time when
> he is at work?
You have a better way? Enlighten us, Your Honor. :)
--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Xubuntu 7.10) Linux 2.6.25
^ ^ 19:57:01 up 1 day 6:43 0 users load average: 1.01 1.03 1.02
�...
php notification through php sdkHi there I want to build a e-commerce website similar to wish.com and I have chosen opencast as my framework of choice.
Now wish has a feature that when you save a product in wish and if you are logged in with Facebook or gmail all of your friends will get a notification that your friends has saved a item on wish.
I want a similar feature on my site Now I know Facebook provide a sdk JavaScript and php and wish might be using something similar but I am using open cart can I open home page or product page in the sdk
Thanks
On 3/20/2015 7:30 AM, apoorv.kanungo@gmail.com wrote:
&g...