I will go through that link but now i have another problem i installed dbedit pluginreading the dbedit module thread other people had this error message too...if you can’t get it working, you could also ask for help in the support thread
and i got test_address table in dbedit, but i cant save my another table "message" through dbedit plugin although it is showing me message table in dbedit. but when i clicked on save button it displays error message that "unable to save configuration"
hey thr,
i wanna separate both code i.e. form code and js file. and how to call that js file to take any affect to that form
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dynamic Inline Form Validation Demo</title>
<link rel="stylesheet" type="text/css" href="messages.css" />
<script type="text/javascript" src="messages.js"></script>
</head>
<body>
<div id="wrapper">
<form name="form" id="form" class="form" action="success.html" onsubmit="return validate(this)" method="post">
<label for="name">Full Name:</label>
<input type="text" name="name" id="name" />
<label for="password">Password:</label>
<input type="text" name="password" id="password" />
<input type="submit" value="Submit" class="submit" />
</form>
</div>
</body>
</html>
Thanks
pls help me sharkbithey ganesh_1707,
pls help me sharkbithey ganesh_1707,
to be honest, i’ve got no clue what you want to achieve, or what the problem is ( at least i am ) if you are more specific, i’m sure someone can help you
My ques is simple where to put that js file to take effectyou can put it wherever you want, it just needs to be referenced right. e.g. place it in assets -> js -> messages.js
<script type="text/javascript" src="assets/js/messages.js"></script>
<base href="[(site_url)]"></base>
$ds = $modx->db->select('t1.*','database_name.table_name t1, database_name.table_name2 t2');
$ds = $modx->db->select('t1.*, t2.field','database_name.table_name t1 JOIN database_name.table_name2 t2 ON t2.fk = t1.pk');
It’s the FROM clause, you can add as many tables as you want, or even add JOIN clauses in that same method parameter:
$ds = $modx->db->select('t1.*','database_name.table_name t1, database_name.table_name2 t2');
$ds = $modx->db->select('t1.*, t2.field','database_name.table_name t1 JOIN database_name.table_name2 t2 ON t2.fk = t1.pk');