Search found 28 matches
- Sat Oct 27, 2007 8:39 am
- Forum: PHP - Code
- Topic: Read the content of the file randomly
- Replies: 3
- Views: 433
Read the content of the file randomly
How can I read the content of the file(i.e,the sentences of a text file) randomly?

- Sat Sep 29, 2007 12:12 am
- Forum: PHP - Code
- Topic: Array function problem
- Replies: 4
- Views: 461
Array function problem
I'm facing a problem with array functions. $menu=array('breakfast' => 'butter and bread','lunch' =>'normal','dinner' =>'dish and salad'); echo is_array($menu); echo "<br>"; echo array_values($menu); the problem is array_values() function return just "Array" but not the values. I ...
- Sun Sep 09, 2007 7:58 pm
- Forum: PHP - Code
- Topic: Load a page dynamically
- Replies: 4
- Views: 459
- Sun Sep 09, 2007 11:34 am
- Forum: PHP - Code
- Topic: Load a page dynamically
- Replies: 4
- Views: 459
- Sun Sep 09, 2007 10:28 am
- Forum: PHP - Code
- Topic: Load a page dynamically
- Replies: 4
- Views: 459
Load a page dynamically
I want to load a page dynamically after click the next button. How can I do that? Any help 
- Thu Sep 06, 2007 12:21 pm
- Forum: PHP - Code
- Topic: html to php
- Replies: 28
- Views: 2797
- Thu Sep 06, 2007 12:15 pm
- Forum: PHP - Code
- Topic: Sorry, but only users granted special access can post topics
- Replies: 7
- Views: 705
- Wed Sep 05, 2007 7:13 pm
- Forum: PHP - Code
- Topic: Sorry, but only users granted special access can post topics
- Replies: 7
- Views: 705
Re: Sorry, but only users granted special access can post to
Post a proposed tutorial[/quote]The Phoenix wrote:
What do you mean by proposed tutorial???
If I need tutorials or documents on php then where can I find that? Doesn't Tutorial section of phpdn stand for that?
- Wed Sep 05, 2007 1:17 pm
- Forum: PHP - Code
- Topic: Sorry, but only users granted special access can post topics
- Replies: 7
- Views: 705
Sorry, but only users granted special access can post topics
Why not I'm permitted to post a topic in Tutorial ???
- Wed Sep 05, 2007 11:42 am
- Forum: PHP - Code
- Topic: html to php
- Replies: 28
- Views: 2797
Then just put the html code in echo and that brings php from html???Rovas wrote:Just putCode: Select all
<?php echo 'content of file' //or print '' ?>
- Mon Sep 03, 2007 9:00 pm
- Forum: PHP - Code
- Topic: html to php
- Replies: 28
- Views: 2797
html to php
Can I convert any html file to php?
- Mon Sep 03, 2007 8:48 pm
- Forum: PHP - Code
- Topic: variable substitution
- Replies: 21
- Views: 1797
heredocs and double quote print the value of i.volka wrote:trysee also: http://de2.php.net/stringCode: Select all
<?php $i = 1234; echo <<< dfh - $i - dfh; echo '- $i -'; echo "- $i -";
single quote print what is between the quotes not the value.
- Sun Sep 02, 2007 8:33 pm
- Forum: PHP - Code
- Topic: variable substitution
- Replies: 21
- Views: 1797
OK. I'll try and tell you immediately.volka wrote:trysee also: http://de2.php.net/stringCode: Select all
<?php $i = 1234; echo <<< dfh - $i - dfh; echo '- $i -'; echo "- $i -";
- Sun Sep 02, 2007 1:39 pm
- Forum: PHP - Code
- Topic: variable substitution
- Replies: 21
- Views: 1797
- Sat Sep 01, 2007 10:32 pm
- Forum: PHP - Code
- Topic: variable substitution
- Replies: 21
- Views: 1797
just concatenate. Anything more?volka wrote:Let's try it the other way round, shall we?asif_phpdn wrote:Why a variable need to parse to it's value especially for string???
What happens here?Code: Select all
<?php $i = 'little'; $s = 'Mary had a ' . $i . ' lamb.'; echo $s;