Jump to content

LiamProductions

Members
  • Posts

    496
  • Joined

  • Last visited

    Never

Everything posted by LiamProductions

  1. that just echo's out slog.number [number being the random one]
  2. No the number is trying to pick like slog1... and i tried the . in the middle and it just prints out .4 [it echos out a random number]
  3. Hey. I made a script to randomize a slogan to echo out to the browser. But... instead of echoing the slogan line it echos the random number i was wondering whats wrong heres the script: <?php $slog1 = "Liam's website"; $slog2 = "Liam's production website"; $slog3 = "Quick loading website"; $slog4 = "Liam Can help you today"; $n = rand(1,4); echo "<p>$slog$n</p>"; ?>
  4. Hey. Do you think people knew to php will have no success in the future? because of all the PHP programmers out there now? what do you think? I\'m new to PHP i was wondering should i achually consider learning it? D+ See me.
  5. Just the last bit what he said. You should use Ajax and PHP because yes it will get annoying to have to keep refreshing the page. You want the page more flexible so its more quicker if you know what i mean
  6. PHP. Well i don't know what PERL is I've heard it. Plus PHP is probaly better because you can do anything and im learning it
  7. 1. Why is there Upload File :: in top left corner? 2. Put some description to the game on the right hand side of the game image. 3. You need to fix the link to us box: code i get is: <a target=_blank href="{CONFIG_DOMAIN}directory-folder/{META}/">{FILE_NAME}</a>
  8. Oh... I didn't realise he ment like that.
  9. [code]<?php $text = strip_tags(addslashes($_POST['textfield'])); if (!ctype_alnum(str_replace(" ", "", $text))){ echo "Bad content found"; }elseif (ctype_alnum(str_replace(" ", "", $text))){ echo "Good content"; } change Good content to bad content found And why don't you just use If and else? ?>[/code]
  10. Hey. Before anyone achually starts off coding who achually sits down with a pen or pencil with a piece of paper and start planning out what there going to code? Some people do some people don't, what do you do?
  11. Everyone is learning PHP and coding programs You might wana give it a go.
  12. If thats a good thing thanks
  13. Theres books you can buy that can teach you how to program PHP Games buy a few.
  14. The reason people make a login system for shopping carts is because you can store the users details what they've bought ect.
  15. Single qoutes do work for Variables.
  16. The site does'nt get money we get impressions instead
  17. Make it so the user has to sign up then make a online store thing. something like that. using paypal maybe so when they've payed they can continue the merchant.
  18. Don't make a new topic on the same topic use your other one.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.