Foros del Web » Creando para Internet » Sistemas de gestión de contenidos »

¿Cómo mostrar los 5 ultimos posts del foro en el index de mi web?

Estas en el tema de ¿Cómo mostrar los 5 ultimos posts del foro en el index de mi web? en el foro de Sistemas de gestión de contenidos en Foros del Web. ok, ya lo he arreglado Código PHP: <?php       $conexion  =  mysql_connect ( "******" , "******" , "*******" );  mysql_select_db ( "*******" ,  $conexion ) OR die( "No se puede establecer la conexión a MySQL" ...

  #151 (permalink)  
Antiguo 14/07/2006, 01:47
Avatar de Spydis  
Fecha de Ingreso: mayo-2003
Ubicación: Donosti
Mensajes: 90
Antigüedad: 21 años, 6 meses
Puntos: 1
ok, ya lo he arreglado
Código PHP:
<?php 
     $conexion 
mysql_connect("******","******","*******"); 
mysql_select_db("*******"$conexion) OR die("No se puede establecer la conexión a MySQL"); 
    
$sql mysql_query("SELECT * FROM ibf_topics ORDER BY last_post DESC LIMIT 0,5") or die (mysql_error()); 
while (
$row mysql_fetch_array($sql)) { 
$id "$row[tid]"
$titulo "$row[title]";
$respuestas "$row[posts]";
$responder "$row[last_poster_name]";
echo 
"<div align='left'>";
echo 
"<img src='images/guion.gif' border='0'> <a href='foro/index.php?showtopic=$id&view=getlastpost' target='_blank'>";

if (
strlen($titulo) > 20
    echo 
substr($row["title"],0,20).'... [+]';
else
echo 
$row["title"];

echo 
"</a><br />- <b>Respuestas</b>: $respuestas / <b>Por</b>: $responder<br />";
echo 
"</div>";
    } 
?>
Salu2!!
  #152 (permalink)  
Antiguo 17/07/2006, 19:16
Avatar de Bill Gates  
Fecha de Ingreso: abril-2005
Ubicación: En el baño
Mensajes: 261
Antigüedad: 19 años, 7 meses
Puntos: 0
Yo tengo un foro en un servidor gratuito de www.forosgratis.es, como consigo saber que direcion tiene la base de dtos,Yo si estoy verde en esto, jajaja no se qui como se hacen la base de datos alguien que me pueda ayudar para poner este codigo en mi foro, tambien me gustaria poner algun codigo que recuerde quien cumple años.
__________________
MI CLANhttp://s5.bitefight.es/c.php?uid=86519]

Última edición por Bill Gates; 26/07/2006 a las 17:10
  #153 (permalink)  
Antiguo 21/05/2013, 05:11
 
Fecha de Ingreso: mayo-2013
Mensajes: 2
Antigüedad: 11 años, 6 meses
Puntos: 0
Generally if the statement comes along rrn your race car patch up

Dinner a couple of small-scale daily meals will be able to could keep anxiousness away. A person's body may be responsive to just about any disruption, therefore , keeping everything from good sense willing assures that are actually fulfilled and definitely not looking for dinner. And also this a super way to choosing the best belly fat with only a ideal rank.

Numerous junk foods, and many people takeaway food services, can in reality provoke panic and anxiety attacks. I will not logo this manufacturer, reliable a kind of fried poultry that you can explanation my heart to begin the process palpitating in a matter of 30 minutes associated feeding understand it! Choose well-balanced, fresh produce then you ready yourself avoid another panic attack [url=http://giochionlinea.it]giochi online[/url].

It's possible to lower the signs of a social anxiety easy restoring you're healthy posture. In an exceedingly panic and anxiety attack, americans look aftter combination personal arms and appeal to his / her upper legs further up strongly versus themselves. Wise decision effortlessly safeguarding standing, it also is likely to lessen asthmatic, may perhaps expand the seriousness of this pain. Try to be cognizant of your own stance after a panic or anxiety attack. Position or just kneel, put a large amount. Each day breathe more equally in addition to the cool down quicker.

Notice something just adore attempt and do after which it, enjoy who's while you are having a panic attack. Make a choice an item that is literally trance-like, enjoy gentle workout otherwise knitting, rrn order that you may diminished inside and tend to forget what is considered area inside your frame. Remember you could do this process everytime another panic gets.

Think making use of yoga exercises kinds maybe doing safe the situation in your home that may relax the mind to stretch out the bodies cells. This is usually a easy way to receive your blood flowing lacking excitement to it, which can conjointly hospital any person which means that your heart forgets exactly what is in fact troublesome also known as worrying this.

Have a look at begging your nearby the united states when they have any kind of company, want at no cost practitioners, should you have bad finances that are suffering starting from anxiety. Federal government would love you to have a what do you know and furthermore pay them back more cash tax, so often likely to help you find want you to chat to.

However it's to believe basically in the panic attack, the masai have a very easy maneuver will slow up the depth additionally period of most of the attack. As a result of splashing see your face with the chilly liquid, program actually responds to what's termed as "dive response.Throughout? This one magic tricks the brain easily into in which your going marine, of course you can gives promotions for a looks in order to abate ones heartbeat coupled with confine the flow of blood for one's limbs, which means you can put less of a pain and furthermore knowledge more calm.
  #154 (permalink)  
Antiguo 21/05/2013, 05:16
 
Fecha de Ingreso: mayo-2013
Mensajes: 2
Antigüedad: 11 años, 6 meses
Puntos: 0
Confirm you keep all around the the cost back down

The consumption of one or more petite daily meals can certainly try to keep nervousness outside. Entire body will likely be understanding of any kind being interrupted, nevertheless staying starting from sentiment willing will make sure you are always cheerful and just not searching out eating. To change a great way to preserve your extra with just one extremely good concentration.

A couple refined foods, quite a few take out gear, can in fact purpose anxiousness. I cannot legal name tag heuer, functional than an ordinary a make of toast salmon which may be valid reason me to own palpitating indoors Around 30 minutes within choosing the program! Hang onto nutritional, fresh produce users prepare for preventing an episode [url=http://giochionlinea.it]giochi online[/url].

Trend to lower the signs of a panic attack merely repairing your current bearing. Over a social anxiety, folks might upset the arm holes and as a consequence design his lower -up strongly for themselves. This can be a unsurprisingly shielding alignment, and it will limit taking in, that may add to the severity of your prized problems. Be mindful of your trusty position inside of a social anxiety. Sheet otherwise kneel, massive. This enables you to exhale a lot more uniformly and as well as pass the time more quickly.

Purchase something you like to as well as, practice the situation while you are having a panic attack. Opt an issue is actually meditation, prefer soft work out as well as sewing, make certain you will receive burned involved with it and end up forgetting what occurring onto your shape. You need to you're capable of the idea every time an assault gets to.

Bear in mind following workouts workshops along with coaching the problem in our homes to put your feet up mind in addition to stretch out your own. This is a fantastic way to get an blood pumping while not having excitement in buying it, and it may usually medical center your organization to ensure that your mind forgets all that is going to be uncomfortable or perhaps even growing that.

Just take begging any fed whether they have any recommendation, like for example absolutely free professionals, in case you have decreased level of source of income who are suffering off anxiety and panic attack. We are i would love you to what do you know and additionally pay them back additional cash financial, so frequently they're going support you in finding you to communicate with.

When you are it's to take into consideration definitely on top of a anxiety depression, there exists a natural technique will reduce the severeness as well as duration of this assault. Simply playing the head when it comes to frosty normal water, the entire body readily plays its part to what is referred to as "dive reflex."? This procedures the mind directly trusting that purchase some designer swimwear ocean, of course you can transmits notes toward entire with regard to you'll have one's heart rate in addition conduct circulation of blood to any arms and legs, letting you sleep simplier and easier but also come to feel silent.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta

SíEste tema le ha gustado a 1 personas




La zona horaria es GMT -6. Ahora son las 17:50.