Jump to content

dewey_witt

Members
  • Posts

    151
  • Joined

  • Last visited

    Never

Posts posted by dewey_witt

  1. <? echo '<input type="text" name="Avatar '.$int.'" ?>

     

    iN THE PORTION OF CODE ABOVE WOULD THE \ BEFORE THE " CARACTER COME INTO PLAY? i KNOW WHEN YOU USE ECHO"SOMETHING "; IF THERE WERE A " CHARACTER THERE YOU WOULD HAVE TO ADD \  BEFORE IT SO THAT PHP WILL RECOGNIZE IT. bUT I DONT KNOW ABOUT THIS CASE.........  echo 'SOMETHING' I havent ever tried lol NOT MY THING.

  2. OK so i ran the go-pear.bat file set up local etc.....And it just wont do it....... when i go to test the instalation its giving me the  error:

    Fatal error: Class 'PEAR' not found in C:\webs\test\test pear.php on line 4

     

     

    Any help in the mater will be gratly appriciated :) Thanx

  3. Here is some code..... I need to add the values only to a form input(text) on the page submitted too. I've done this a million times yet i keep getting the word "array" in front of the values as such......

     

     <input name="mail[]" type="checkbox" value="Value 1" /> 
    <input name="mail[]" type="checkbox" value="Value 2" />
    <input name="mail[]" type="checkbox" value="Value 3" />
    

     

    Now this is what Im useing to retreive this data:

    $mail = $_POST['mail'];
    
    if(!empty($mail)) {
    	foreach($mail as $key => $val) {
    		$mail .= "". $val .", ";
    }
    }
    
            $stringa="$mail, ";
         
            $stringa=trim( ereg_replace( "[^@_.[:space:]a-zA-Z0-9]", " ", $stringa ) );
    	echo $stringa;
    	$send = "$stringa, ";

     

    This is the result Im getting

    Arraydewey_witt@yahoo.com, David_someone@somewhere.com,

    For one I'd love to know why...Imma question asker and two anyone see wtf Im doing wrong? O.o

  4. I think a clearer explanation of what toon is trying to say is that by useing the <DIV> tags you can call your CSS for that division. Makes it easier when updating sites etc.

    EXAPMLE:

    html: <div id=output> Some output </div>

    CSS: #output {

              width: 350px;

              color: red;

              font-style: Juice ITC;

            }

     

    This calls the CSS for the div with the ID "output" then you set all your perameters for the div in css. see easy. (you can also call css styles inside the div tag with "<div style="width: 350px;>"" etc. hope I helped.

  5. Dude the only way you are going to be able to do it without php is java script and css. I recomend finding a host that allows PHP. There are a ton of free host that support PHP of course they are mostly Add driven. but ehe if you dont mind a Add at the top top of your page I sugest your move hosting accts. O and I wouldnt know how you do it in Java either. Sorry i couldnt help but google "Java Display Classes" May turn up something usefull.

  6. OK nay-sayers. For one, Im not a hippie.  Second more than likely I know more HTML than you along with XML, php, javascript, AJAX, C#, and a slew of other BS that I will never use like VB VB.net etc. So before you talk shit make sure of what your typing you moron. And btw of course I use code view..... what decent developer don't? Every great once in a while I use the split view and about 20% of the time Im not using Dreamweaver at all. Im using edit pad light. But anyway. As to know why i was asking this question, I was working on a cients pre existing site..... outdated and in need of a good once over when i realized that Weaver didnt recognize some functions. So gather your beans google a good responce and remember.... stop kissing your dad freak. Wash that with soap. ;)http://BlueSky.justgotowned.com BTW say hi to your sister for me. (and tell her I want my boxers back.)

  7. If anyone see's what the heck is going on here I'd gladly appriciate a reply. And Thanks in advance :)

     

    The Error:

    Parse error: syntax error, unexpected T_IS_EQUAL in C:\webs\test\header.php on line 6

     

     

    <?php
    
    session_start();
    
    
    if($_SESSION['SESS_CHANGEID']) == TRUE)
    {
    session_unset();
    session_regenerate_id(); // This Line does not show as valid code either.
    }
    require("config.php");
    $db = mysql_connect($dbhost, $dbuser, $dbpassword);
    mysql_select_db($dbdatabase, $db);
    
    ?>
    
    Im not seeing it  :-\
    

×
×
  • 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.