Jump to content

Vivid Lust

Members
  • Posts

    456
  • Joined

  • Last visited

Posts posted by Vivid Lust

  1. This what you needed?

     

    Campo  Tipo  Cotejamiento  Atributos  Nulo  Predeterminado  Extra  Acción

    id int(50) No auto_increment Navegar los valores distintivos Cambiar Eliminar Primaria Único Índice Texto completo

    ad1 text latin1_swedish_ci No Navegar los valores distintivos Cambiar Eliminar Primaria Único Índice Texto completo

    ad2 text latin1_swedish_ci No Navegar los valores distintivos Cambiar Eliminar Primaria Único Índice Texto completo

    artist text latin1_swedish_ci No Navegar los valores distintivos Cambiar Eliminar Primaria Único Índice Texto completo

    logo text latin1_swedish_ci No Navegar los valores distintivos Cambiar Eliminar Primaria Único Índice Texto completo

    status text latin1_swedish_ci No Navegar los valores distintivos Cambiar Eliminar Primaria Único Índice Texto completo

    winnerText text latin1_swedish_ci No Navegar los valores distintivos

  2. Hi, the following doesn't seem to be working for some strange reason  ???

     

    <?php
    ...
    $sql5="UPDATE settings SET ad1='$ad1' WHERE id='1'"; 
    		mysql_query($sql5) //execute query
    		or die(mysql_error()); // if error show it 
    ..
    ?>
    

     

    I printed out $sql5 I ran it directly in the PHPmyAdmin SQL area and it works fine. However the problem, is that the code doesn't display any error however when looking at the database, the field which it should update is blank.

     

    I hope someone can help,

     

    Jake

  3. Hi all!

     

    I'm wondering if I could create rules for when using "DISTINCT".

     

    Such as

     

    "Unites States" and "United States of America" are both the same, so they are DISTINCT etc.

     

    Thanks all,

     

    Jake.

     

  4. Hi,

     

    I have image URL's stored in the database and want to resize them so they fit into the div width of X and so that they mantain their original aspect ratio.

     

    My first step would be:

     

    GetImageSize($image);

     

    where $image is the current URL from the database. However my host does not allow this.

     

    Jake.

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