Hi There,
<A NAME=main>
<db=/usr/local/morph3/texis/public/db1>
<profiler INIT html test Title>
<$msg="Helsinki">
<profiler GET $msg test>
<apicp allinear 1>
<SQL skip=0 max=50 "select Title from html where Title likein $ret">
$Title matches the message<br><Br>
</SQL>
</A>
I have created this code for Profiling but I don't that it is serving my purpose. Actually I want to send "News Alerts" to people, everytime a NEW news in added to the table. The code above simply retreives those records from the table where "Title" matches "Helsinki" (which is a keyword given by a User for News Alert). But this can be done in the normal way also, without using Profiling. So, please give me a good example of Profiling so that I can implement it in my script. Also, please explain, if we have to create a NEW table for Profiling or can we use "html" table? What is the use of $msg variable? Will it automically send e-mails to users or do we have to run a cron?
<A NAME=main>
<db=/usr/local/morph3/texis/public/db1>
<profiler INIT html test Title>
<$msg="Helsinki">
<profiler GET $msg test>
<apicp allinear 1>
<SQL skip=0 max=50 "select Title from html where Title likein $ret">
$Title matches the message<br><Br>
</SQL>
</A>
I have created this code for Profiling but I don't that it is serving my purpose. Actually I want to send "News Alerts" to people, everytime a NEW news in added to the table. The code above simply retreives those records from the table where "Title" matches "Helsinki" (which is a keyword given by a User for News Alert). But this can be done in the normal way also, without using Profiling. So, please give me a good example of Profiling so that I can implement it in my script. Also, please explain, if we have to create a NEW table for Profiling or can we use "html" table? What is the use of $msg variable? Will it automically send e-mails to users or do we have to run a cron?