Jump to content
php.lv forumi

Recommended Posts

Posted

Sveiki, nesanāk ielikt MySql funkciju iegš javascript ..

 

 

šādi neder ... kā lai to paveic? 
function skatits(x)
{
?>
mysql_query("UPDATE script");
<?
}

 

Posted

test.php atrodas Mysql kvērijs kurš updeito datubāzi. kā panākt lai viņš neatverot to failu test.php izpilda darbību?

function skatits()
{
location.href='test.php';
}
Posted

atrisināju ...

<script>
function skatits()
{
	var oHead = document.getElementsByTagName('HEAD').item(0);
	var oScript= document.createElement("script");
	oScript.type = "text/javascript";
	oScript.src="test.php";
	oHead.appendChild( oScript);
}
</script>
Posted

taadi komentāri :D pff nēesmu jav nekāds koders! nāku pēc padoma un palīdzības nevis stūlbiem komentāriem .. nomierinās sikie geki!

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