Jump to content
php.lv forumi

print php no MySQL


sandrulis

Recommended Posts

$select_user = mysql_query("SELECT * FROM user");

$fetch_user = mysql_fetch_array($select_user);

 

$fetch_user = mysql_real_escape_string(mysql_real_escape_string);

;te parejie filtri iet cauri ....

 

;reku izvadam ara :)

echo $fetch_user['vards'];

 

iesaku mācīties pakāpeniski bet par eval varu teikt vienkārši ja kāds dabus inject cauri tad vel var pie viena uztaisit diezgan bēdu vislabāk izmantot citas alternatīvas :)

Edited by Faks
Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

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

Loading...
×
×
  • Create New...