Debes ser más especifico de cómo lo estás llevando a cabo.
De ser posible coloca algo de código.
› Utiliza el Geshi para resaltar el código.
De ser posible coloca algo de código.
› Utiliza el Geshi para resaltar el código.

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú
public function store(Request $request)
{
if (Auth::attempt(['email'=>$request->email , 'password'=>$request->password])) {
echo "email:".$request->email;
echo "pass:".$request->password;
echo "Entra :)";
return Redirect::to('biblioteca');
}else {
echo "No pudo entrar :(";
return Redirect::to('usuarios/ingresar');
}
}
<?php
$enlace = mysqli_connect("servidor", "usuario", "contrasena", "base_datos");
if (!$enlace) {
echo "Error: No se pudo conectar a MySQL." . PHP_EOL;
echo "errno de depuracion: " . mysqli_connect_errno() . PHP_EOL;
echo "error de depuracion: " . mysqli_connect_error() . PHP_EOL;
exit;
}else {
echo "Exito: Se realizo una conexion apropiada a MySQL! La base de datos mi_bd es genial." . PHP_EOL;
echo "Informacion del host: " . mysqli_get_host_info($enlace) . PHP_EOL;
}
mysqli_close($enlace);
?>
public String getCodigoPais(String nombrePais) {
String codigoPais = null;
...
String query = "SELECT pais_cod FROM pais WHERE pais_descrip='"+ nombrePais +"';";
rs = st.executeQuery(query);
...
codigoPais = ...
...
return codigoPais;
}
"""
Python Tkinter Splash Screen
This script holds the class SplashScreen, which is simply a window without
the top bar/borders of a normal window.
The window width/height can be a factor based on the total screen dimensions
or it can be actual dimensions in pixels. (Just edit the useFactor property)
Very simple to set up, just create an instance of SplashScreen, and use it as
the parent to other widgets inside it.
www.sunjay-varma.com
"""
from Tkinter import *
class SplashScreen(Frame):
def __init__(self, master=None, width=0.8, height=0.6, useFactor=True):
Frame.__init__(self, master)
self.pack(side=TOP, fill=BOTH, expand=YES)
# get screen width and height
ws = self.master.winfo_screenwidth()
hs = self.master.winfo_screenheight()
w = (useFactor and ws*width) or width
h = (useFactor and ws*height) or height
# calculate position x, y
x = (ws/2) - (w/2)
y = (hs/2) - (h/2)
self.master.geometry('%dx%d+%d+%d' % (w, h, x, y))
self.master.overrideredirect(True)
self.lift()
if __name__ == '__main__':
root = Tk()
sp = SplashScreen(root)
sp.config(bg="#3366ff")
m = Label(sp, text="This is a test of the splash screen\n\n\nThis is only a test.\nwww.sunjay-varma.com")
m.pack(side=TOP, expand=YES)
m.config(bg="#3366ff", justify=CENTER, font=("calibri", 29))
Button(sp, text="Press this button to kill the program", bg='red', command=root.destroy).pack(side=BOTTOM, fill=X)
root.mainloop()