ckurtz

[QUOTE=SKANK!!!!!;1152174][CODE]$arr = array(1 => "rambow", 2 => "rambow", 3 => "popcorn", 4 => "rambow");[/CODE]
how do i make it in simpler format so i dont have to keep typing "rambow" for every number that => "rambow"

? cause theres a lot of "rambow" for a whole bunch of numbers. isnt there any easier way to do this?[/QUOTE]

How many "rambow" do you want to add on your array? Is it (rambow) inserted on any value on the array? Is "rambow" in the array inserted randomly?

ckurtz

[QUOTE=ckurtz;762901]i was trying to configure about how to work with tag, when i was stuck with this problem: when i choose the tag with PHP, i just want that that value of the tag on the tag will be the value selected after i submit the form. but the thing is, it will go back to the default value. Just try to look at the code: [code]

-Select one- --> [/code] so this is my code. I try to fetch some data from my database. anyone can help. I really need your help guys. thanks[/QUOTE] thank you for this code. I tried it and the result is still the same. I just want that the value of the selected option will show in the tag when i submit the form. it will stay in the same as i chose from the selected option.

ckurtz

Hi,
This is very simple. I can help You. Just follow the code given below

    $con=mysql_connect("localhost","username","password");
    if (!$con)
    die("Couldn't connect to MySQL");
    mysql_select_db("databasename",$con)
    or die("Couldn't open admin: ".mysql_error());
    $q1=mysql_query("SELECT <fieldname> FROM <tablename>");
    ?>
    <select name="<fieldname>">
    <?
    while($row=mysql_fetch_array($q1))
    {
    ?>
    <option value="<?php echo $row['<fieldname>'];?>">
    <?php 
    echo $row['<fieldname>'];

     ?>
    </option>
    <?
     }
    ?>
    </select>

Just remove username,password, databasename, tablename,fieldname as you have.
I hope this will work

i better try this now. thanks

ckurtz Newbie Poster

i was trying to configure about how to work with tag, when i was stuck with this problem: when i choose the tag with PHP, i just want that that value of the tag on the tag will be the value selected after i submit the form. but the thing is, it will go back to the default value. Just try to look at the code: [code]

-Select one- --> [/code] so this is my code. I try to fetch some data from my database. anyone can help. I really need your help guys. thanks

ckurtz

dude: have u tried it? setting it under 0? maybe i should try it for -9.. heheh

ckurtz

Thank you for the advise. :)

ckurtz

Ok. Thanks for some advise. How about the Ubuntu? is it gud?

ckurtz

Are the hardware components of DELL good? How about ASUS? or COMPAQ? and other brands?

thanks
:)

ckurtz

Thats it. Just follow the instructions.

ckurtz

Me too. I set my menuShowDelay to 0. It works. hehehe
:cool:

ckurtz

The netcraft works. Thanks. :)

ckurtz

Is DELL ok if I'll use the Laptop for Web Development? I'm new to it and I want a Laptop that will work fine and the performance well be good. thanks :)

ckurtz Newbie Poster

Hello, i'm a newbie here and i just want to ask if what is the best distro in running PHP, MySQL, Apache?

counting on your replies.

thanks
:)

ckurtz

When you rename a File with a file extension in it, try not to change the file extension. but for some reason, you want that file extension won't show up, just follow this instructions.

Open My Computer >> goto Tools Menu >> choose Folder Options >> click the View Tab >> check the Hide extensions for known file type in the Advance settings List.

and the extensions will be hidden for example: ".exe , .doc"

and if ever still the extension won't hide. you are maybe infected by a virus.

;)

ckurtz

I'll use *nix OS's. and ranging from $650-700

can you give me some advise? thanks:)

ckurtz

Try installing your VC to another unit and check if it is working properly. When it works, there is something wrong in your pc. When it doesn't work, well try to check if your item is in good condition. and you stated earlier that you downloaded drivers. If ever just try to re-install the driver.

ckurtz

This answers to your question. Try to visit the link below: :cool:

[url]http://www.goodells.net/multiboot/principles.htm[/url]

ckurtz

Have you ever tried using your old video card again? is it still in "BLACK SCREEN MODE"? :-/

ckurtz

Virus writers don't know where to start in nix distros. Thats why they intend not to make such virus(es) like in windows OS's. Thats the best of being a nix user.:D

ckurtz Newbie Poster

what is the best brand for laptop? :idea:

ckurtz

just a question: what is the best brand for laptop when using core 2 duo?