Search results

  1. A

    php $_GET and echo error

    Parse error: syntax error, unexpected T_STRING, expecting ']' in /home/allofus/public_html/shows/all/index.php on line 17 <?php echo $txt['<?php ($_GET['host']);?>_show_title']; ?> I have webadress/index.php?host=britishnproud I want to echo the word 'britishnproud so that...
  2. A

    How to INSERT 1 form answer to multiple table results.

    $link = mysql_connect("localhost","***not-my-admin**","***not-my-password***"); mysql_select_db("blabla",$link); $query="insert into TableName(id,idcategoria,name,description,file,downloads,click,data,rate,trate,screen1,screen2,demo,autore,idauth,peso,validate) values...
  3. A

    How to INSERT 1 form answer to multiple table results.

    Thanks Twinkie, Q. How do I turn 3 fields in a form into 1 INSERT in a MySQL table eg YY =2009 MM = 07 DD = 01 HH = 23 INSERT = 2009070123 2009 Q. How do I add the same field to several cells in the table ref = 2009070123 filename = 2009070123_2009070123.mp3 Q. can I combine txt...
  4. A

    How to INSERT 1 form answer to multiple table results.

    Hi, I have a few questions related to MySQL and forms. I am editing a file-share to be a semi-automatic show-archive for our latest addition, an internet radio broadcast. Basically the shows are recorded and saved by date and hour 2009063023 would be a show on 6/30/2009 starting at 11pm...
  5. A

    MySQL database address

    what about the paid accounts? I have the same question as GamingX! I want to use SAM Broadcaster and mySQL but I do not know the domain and the port for mySQL. Any ideas?
  6. A

    take info from url

    mattg@4allofus.com
  7. A

    take info from url

    thanks guys, I will come back to the thread when I have the data that needs translation. I should point out that all is volunteer based where 4ALLofUS is concerned and there are no financial gains to be made by us, not a single advert or revenue stream so any involvement will be voluntary...
  8. A

    take info from url

    Thsnks, I now have a working website, the homepage presents the visitor with a series of flags (18 languages) but the default language is English. Once leaving the home page the flags are no longer present. The site is no way near finished, but I now have a working framework that is ready...
  9. A

    take info from url

    ************************* <body> <?php $langz = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?> <?php echo $langz;?> <? if(isset($_GET['lang'])) { include('/content/lang/' . $_GET['lang'] . '_txt.php'); } else { echo ['$langz'] . '_txt.php'); } else {...
  10. A

    Not script but still need help.

    do a <div id="wrapper"> page content <div main body here> <div float left latest new and links> <div float right text etc.> </div> Edit: or body { on your css
  11. A

    take info from url

    thanks so much <body><?php $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?> <?php echo $lang; ?> I should be able to use this to get the users preference language, I tested it and it works, but when I try to add the echo inside <php include it does not work. I will try to put this...
  12. A

    take info from url

    Hi, I want to have a list of info langs.php array langs GB = Hello, Red, FRE = Bonjour, Rouge stored in an array on a file www.siteurl.com/lang=GB The array then being used to populate a page that has several pieces of content that are translated So for GB it says Hello and down the page...
  13. A

    VPS help - List directory contents, apache

    Hi, I noticed today that if I go to; http://4allofus.com/content/archives/audio/broadcasts/mp3/ I see a list of the mp3 files that I have uploaded to the server. This is hosted on an x10hosting (paid) shared hosting package...
  14. A

    VPS - webmin help

    lol hehe lmao yea thanks.
Top