thx for the help. i'll work on it..
Regards Ragonz
User Profile
Collapse
-
Ask substring
Is there any function in php to break down string into its substring
for example
String : body
it will return : "bo" and "dy"
or return the number of substring of a string
for example
String : Miracle
it will return : 3 substring ("Mi" , "ra", and "cle")
thx in advance
Ragonz -
try to
echo $userLoginID;
above that line, to see wheteher u fail or not gain the value from the previous page. If not than check ur method to post the data wheter using POST or GET method.
RegardsLeave a comment:
-
Found it already
Seems like i missed place for asking this
Creating chart is pretty easy. Just googling for php library called "libchart" and follow the instructions...
RegardsLeave a comment:
-
Owh ye, sorry
Just add the round() in ur query
==> select round(avg(temp) ,x) from people group by age;
'x' is the number of decimal . Hope usefull
RegardsLeave a comment:
-
-
using libchart
i'm trying to create chart by using libchart. Here's my code
...Code:include "libchart/classes/libchart.php"; $chart= new VerticalBarChart(500,250); $dataSet = new XYDataSet(); $conn=OCILogon ("system", "kanjaktim"); $sql=OCIParse($conn,"select sto,sum(ano_pri) from rek_anomali group by sto"); OCIExecute($sql); while(OCIFetch($sql)){ -
Create chart
What will i need to create chart in my web, based on data from oracle table?
regards -
-
set number of decimal in avg() query
how to set the number of decimal when using AVG() query??
for example
select avg(temp) from people group by age;
the result : 23,13214134
i wanna make it into : 23,13
any suggestion??
thx in advance -
-
execute php from cmd (undefined function OCILogon)
i tried to execute php file from cmd line. i'm using xampp version 1.67 with windows server 2003 as the OS. it'll also include oracle as the database,which means OCILogon() will be called in my php file and so other functions. i already configured the php.ini so that it connects to oracle. in web page, i can access the database(oracle ). But the problem is, when i tried to execute the php file through cmd line with this code :
c:\xampp\php\ph p4\php.exe... -
i figured something, the command in cmd line should be like this
"c:\program files\xampp\php \php4\php.exe" c:\upload.php
NOT
c:\program files\xampp\php \php4\php.exe c:\upload.php
with quote in the path of php.exe, now the problem is, how to put it in c++ line?
thxLeave a comment:
-
execute php from c++
how to execute php file from c++ line? i've tried to use "system()" code, but showed no result.
from cmd line the command look like this
c:\program files\xampp\php \php4\php.exe c:\upload.php
it works in cmd, n i tried to put it into c++ with system() syntax, it looks like this
system("c:\prog ram files\xampp\php \php4\php.exe c:\upload.php")
i compile it,... -
silly post
sorry for asking silly question, but where can i find link to post new thread in this forum. i looked for it already, but got no clue. sorry again.
regardsLeave a comment:
-
I'm so sorry, i'm pretty newbie with this. what .jar file did u guys mean? and how to inlcude it in my program's classpath.
Pretty confused here....Leave a comment:
-
K, here's what i've tried
...Code:import java.sql.*; class TestOCIApp { public void main(String args[]) throws ClassNotFoundException, SQLException { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@","ragonz","1234"); Statement stmt = conn.createStatement(Leave a comment:
-
Connections between java and oracle
Hy, i want to use oracle as my database in my java project. But, i don't know how to make connections between java and oracle.
Can anyone give me an example for this case. Let's say i want to display the result of query "select * from tab" through java
I'm using oracle 10.g
Thx n advance -
Using variable from aother method
Hi, i'm kind of newbie in java programming. Now, i'm working on my task, n i hav a problem in using variable from other method. Here goes the code..
...Code:import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Main{ public static void main(String[] args){ EventQueue.invokeLater(new Runnable(){ public void run(){ -
How to create object (ex:rectangle) in java by using mouse
Hy, i'm kind of new in java language.
I want to know, how to create simple object such as rectangle by using mouse. Just like "Paint" program. Can anyone give me simple sample code for that case.
Thx in advance..
No activity results to display
Show More
Leave a comment: