Jump to content
Fórum Script Brasil
  • 0

Exportando Variáveis


brdesigner_gyn
 Share

Question

Boa tarde companheiros desenvolvedores... estou eu aque dnovo postando pois está acontecendo um erro q não consigo resolver...será q vocês poderiam m ajudar????

estou colando o código aque...

<?PHP

include "db_connect.php";

$q = mysql_query("SELECT id_emp,rz_soc,usuario FROM cad_emp WHERE id_emp = '$id_emp' ORDER BY id_emp");

$emp = mysql_fetch_assoc($q);

$id_emp = $emp['id_emp'];

$n_emp = $emp['rz_soc'];

$usuario = $emp['usuario'];

?>

<meta http-equiv="refresh" content="1;URL=lanc_cnt_rc.php?id_emp=<?="$id_emp"?>&n_emp=<?="$n_emp"?>&usuario=<?="$usuario"?>">

e o q está acontecendo... as variáveis estão fikando sem valor, ou seja em branco...

alguém por favor poderia m ajudar???

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.8k
    • Total Posts
      648.5k
×
×
  • Create New...