Forum: PHP May 23rd, 2009 |
| Replies: 3 Views: 402 and you need to escape your parenthesis |
Forum: PHP May 23rd, 2009 |
| Replies: 7 Views: 726 alright that sounds fair. im here if you need me. |
Forum: PHP May 23rd, 2009 |
| Replies: 7 Views: 726 if you would like i can send you a paginator class that i made if that would help you. |
Forum: PHP May 23rd, 2009 |
| Replies: 7 Views: 726 you could go like this.....
$string = 'this is a small sample sentence that should be split up';
$words = explode(' ', $string);
for($i = 0; $i = count($words); $i++){
echo $words[$i] . '<br... |
Forum: PHP May 23rd, 2009 |
| Replies: 7 Views: 726 well you could use a paginator
and count the number of words in the entire 'book' then each word i part of an array and you just output a certain number of array items per page.....specified in the... |
Forum: PHP May 20th, 2009 |
| Replies: 4 Views: 496 yeah i see that. oh well.
i have attached my error as an image.
and here is my code.
<?php
if(isset($_POST['upload'])){ |
Forum: PHP May 20th, 2009 |
| Replies: 4 Views: 496 I was wondering if it was possible to upload say a picture file and a text file and in the script put them into a zip file programatically.
if this is possible could you offer some tips or links... |
Forum: PHP Mar 17th, 2009 |
| Replies: 3 Views: 383 Thank you this is a very helpful post. I've actually never used a CMS before but i have an idea of what one looks like from some pictures.
keep them coming if you don't mind. lol
any more site to... |
Forum: PHP Mar 16th, 2009 |
| Replies: 10 Views: 751 |
Forum: PHP Mar 16th, 2009 |
| Replies: 10 Views: 751 |
Forum: PHP Mar 16th, 2009 |
| Replies: 3 Views: 383 Does anybody know where i could get some information or guides on designing my own CMS??? |
Forum: PHP Feb 15th, 2009 |
| Replies: 11 Views: 1,726 its not that HTML styling causes problems, its just that it is shunned apon in the web development wold. im with you where it doesnt cause problems. however using css is much better. it can be... |
Forum: PHP Feb 13th, 2009 |
| Replies: 11 Views: 1,726 yeah you should only have session_start() in the file once and it needs to be at the *very top, right after the opening php tag.
also i suggest learning CSS. instead of using HTML styling
it... |
Forum: PHP Feb 13th, 2009 |
| Replies: 11 Views: 1,726 if($_SESSION['logged']==""){
header("location: pleaselogin.php");
}else{
//is session is equal to something
} |
Forum: PHP Feb 11th, 2009 |
| Replies: 5 Views: 386 i found what i was working on a few weeks ago.
i was trying somethings. if you were to run this in a browser it will be "easy to understand" atleast i hope.
idk hopefully you see what i was... |
Forum: PHP Feb 10th, 2009 |
| Replies: 5 Views: 386 Well i understand how to do it - algorithm wise, but im newer to PHP or just (code) in general.
but im confused on the built in function part. like date(), and adding dates and subtracting dates and... |
Forum: PHP Feb 10th, 2009 |
| Replies: 8 Views: 1,529 wrote this really quick for yah hope this helps. hope i didnt make any errors
<?php
session_start();
function make_safe($string){
return mysql_real_escape_string(trim($string));
}
//check... |
Forum: PHP Feb 10th, 2009 |
| Replies: 5 Views: 386 im working on a site and i would like to display the newest members within 30 days. how would i do this.
im using mysql database. when the person signs up, it records the current date into their... |
Forum: PHP Jan 25th, 2009 |
| Replies: 8 Views: 829 i like how you did that, thats neat how you basically make your own tags. thank you.
ill have to put this into my designs sometime
regards! |
Forum: PHP Jan 22nd, 2009 |
| Replies: 8 Views: 829 |
Forum: PHP Jan 21st, 2009 |
| Replies: 8 Views: 829 ok that would be much apreciated if you could do that for me
regards! |
Forum: PHP Jan 19th, 2009 |
| Replies: 8 Views: 829 well im just starting to learn OOP with php.
idk what is the best way to do it. the examples about cars and bycicles work n stuff but now im ready for something more. |
Forum: PHP Jan 17th, 2009 |
| Replies: 8 Views: 829 i am designing a few pages. the pages have a few main divs and that is how i am inserting the background(with css)
i can render the whole background to the browser but i dont get how to nest divs... |
Forum: PHP Jan 11th, 2009 |
| Replies: 2 Views: 400 thank you for your help. how dumb it was |
Forum: PHP Jan 11th, 2009 |
| Replies: 2 Views: 400 i get this error:
<?php
session_start();
$_SESSION['user_id'] = 4;
$user_id = $_SESSION['user_id']; |