112 Posted Topics
hi there..just wanna ask some help, regarding the creation of line graphs in php..i want to display a graph in my page..i have seen many examples but it does not fit what i wanted.. please help me.. thanks thanks ^_^ | |
[code=php] <?php mysql_connect("10.237.200.202", "root", "r00tb33r") or die(mysql_error()); mysql_select_db("spc_grinding_c1_dbo") or die(mysql_error()); $qt=mysql_query("SELECT DataReading FROM SPC_DataReading WHERE StationNumber = 'STATION2' && MachineName = 'GN-07' && ParameterName = 'outside diameter (2.4912)' && Date_Captured = '02-25-2010' && ReadingType = 'AVERAGE'") or die(mysql_error()); header ("Content-type: image/jpg"); $x_gap=40; // The gap between each point in y … | |
hi guys, just wanna ask how could i pass the value of a certain variable coming from one frame into another frame having that the frames are both present in one webpage only?? thanks thanks..^_^ | |
hi guys, just wanna ask is there a good software which can help me plot data or draw a line graph in php? these data are dynamic, and will come from the database..just a simple line graph will do. thanks thanks. | |
hi there, i have a webpage which is divided into three frames, left frame, main frame and the bottom frame. all the buttons are in the left frame, hence, once a button is clicked, the data will be displayed in the bottom frame, now my problem is that, how could … | |
i have a webpage wherein it has two frames in it. now, i want to transfer the data coming from FRAME A to FRAME B. now, i thought of using a session, but it does not work, what i want is that when i click the button in FRAME A, … | |
hi, i have tried to use gd graph, it works, however, whenever i will input a message, it does not appear. if u will display the graph and the message in a separate webpage, it will appear. now, my question is that, is it possible to merge the graph and … | |
hi guys, just a little help regarding GD Graph, is it not possible to combine the graph plus a little code to echo or display?? because, when i try to insert the code in the upper part of the program, it runs but if i put the code in the … | |
is there anything that can replace a butoon in php which acts like a button? because we all know that buttons in php act independently, meaning once button a is clicked, the functions of button b will be disregarded already right? because i have several buttons in the page and … | |
hi guys, just wanna ask, is it possible to have a function using tables in html wherein if a user selects a row, the program will get the value of the entire selected row? and this value will be passed to php without reloading the page itself..thanks thanks in advance,^_^ | |
[code=javascript] function label_parameter(id,ind) { var clicked_row = id; alert(clicked_row); } [/code] is it possible to pass the value of clicked_row to an object in html?? thanks thanks..^^ | |
hi! i just want to know, is it possible to pass the value of a variable coming from javascript to php?? knowing that the variable is inside a function?? [code=javascript] function (id,ind) { var clicked_row = id; } [/code] i want to pass the value of clicked_row to php.. thanks … | |
hi guys, i want to have a data grid in php in which it will function like the same control/object in vb6. now is there any control/object similar to that of in vb6??? thanks ^_^ | |
Hi guys, i just want to ask what is the congruent function in php which acts like CDec() in Visual Basic 6.0? Is it the round() or round off?? same with the data types Single and Currency in VB6.0.. Visual Basic 6.0 PHP 5\ Single (data type) __________________ Currency (data … | |
hi guys, im using linux opensuse as my web server, now i installed php there accdg to the manual, moreover, i also installed php to another computer having windows as its platform, now i compared the phpinfo() of the both pcs, ive noticed that there are some modules available on … | |
i have this jpgraph downloaded, now i dont have this gd library which is a pre-requisite for that jpgraph, could you help me with this.. thanks..^_^ | |
hi guys, just wanna ask, is there a list view in php like in vb6??? i know, i can display the output using a table, however, what i want to happen is that whenever a user clicks on a row, that whole row will be selected and all the values … ![]() | |
are there any simple softwares, ways or techniques on how to make a graph??? simple only.,just plot the x and y axis, then draw a line to connect them..that easy only./.please could you help me, thanks..^_^ | |
i have this problem, i want to have a data grid which functions like in vb6...now, whenever the user will click on any part of the table, the program will get the value of that specific row being selected. now, using clickable tables, i can get the value but in … | |
is it possible to have a clickable table wherein once you click that specific row, a dialog box will appear to display the entire row. could you help me with this one..thanks in advnce ^^ | |
hi guys, just want to ask if how can i display the value of the textbox in javascript? as in, i will output it | |
hi guys, i just want to ask how could i input an action to a link?? the best choice was to create a button which will do the act, however, im having difficulties with it. now my resort was to add the code to the link..meaning instead of the submit … | |
hi there, i want to display my data coming from database..i could do that using a table, however the problem is that the table will just expand everytime there is data. what i want to have is a control which has a scrollbar which will display lots of data. i've … | |
is it possible to input a data grid in php like in VB6? because in my program, user will display lots of data and displaying it in a data grid (clickable) is the best way, we all know that in VB6, once the user clicked anywhere in the grid, it … | |
hi there, i have a problem with this one, i want to input the data to an array, however, this doesn't work for me. [code=php] $resultSN = mysql_query("SELECT * FROM table "); $resultRowsSN_Count = mysql_query("SELECT COUNT(*) FROM table"); $count = mysql_result($resultRowsSN_Count,0,0); while($row = mysql_fetch_array($resultSN)) { $machineName_O = $row['MachineName']; for ($i=0; … | |
please help me guys, i need to know how is it possible to make a line graph using php/javascrip/html. data will be coming from a live database, so basically the webpage will just plot the data coming from the database, but the problem is that, even the basic know-how's i … | |
hi there, wanna ask for your help guys, i know how to connect MS Access to Visual Basic, now, my problem is that, how can i connect MySQL to VB 6? could you give me some helpful code.. i have MySQL 5, MySQL Connector, MySQL ODBC installed in my computer.. … | |
i just want to know, how can i put a live bar graph in a dynamic page? thanks in advance ^^ | |
hi, i want to have a button wherein it will create dynamic text boxes depending on the times i click the button. i've seen several codes thru javascript, however, i cannot get the value of the said textbox, could you please help me with this?? tnx..^^ | |
Re: [CODE] echo "<form action = 'me.php' method = 'post'>"; echo "<input type = 'text' name = 'text1'>"; echo "<input type = 'submit' name = 'submit' value = 'Submit'>"; echo "</form>"; //variable declaration here $text1 = $_POST['text1']; $submit = $_POST['submit']; //condition if ($submit == 'Submit') { //this will display the value … | |
hi there, need some help: i have a command button in which it will generate a textbox whenever it is clicked, thus, if it is clicked 5 times, then 5 textboxes will appear. please help me with this, i want to code this using PHP or even HTML.. | |
pagination works well, it even displays the rows i wanted, however, my problem now is that i cannot access or it does not display the next rows from my database, i think there is some problem with regards to my next/previous/last/first links,, please help me asap, tnx! [code=php] $result = … | |
hi there, i am making a website. my problem is that, i have multiple users who should access the same page, now what i want is that, my login code will work whenever users will access it simultaneously. the problem is that, the code just checks the first logged in … | |
hi guys, just wanna ask, could you give me some code about session time out? i have a different page for login and index. any help would be very much appreciated. thanks in advance ^^ | |
i already have a running code regarding this, however, when i embed the database, it cannot access the next records...help pls.. ![]() | |
now, i already have a running pagination using php, but i want it to be more eye-catchy, instead of using words or links, i want to use images, like the one's here in daniweb, wherein numbers are enclosed in a box, how will i do that? thanks in advance... | |
please could you give me a code the simplest code possible for a pagination, i have one however, it does not display the next item in the database.... ![]() | |
this is the code for search button [code] if ($go == 'Go') { if ($searchText == '') { $buttonPress = 2; echo "<script>alert('Please complete the information!')</script>"; } else if ($searchText != '') { $result2 = mysql_query("SELECT * FROM sec_ph WHERE phType LIKE '%$searchText%' OR phCustomer LIKE '%$searchText%' ") or die(mysql_error()); … | |
i can now upload the file in the web server, but the problem is that, the files can only be stored in the document root. let's say that this is the main directory, /sample/sample/sample/ where the index page is located, now whenever i want to upload a certain document, it … | |
here's the code, this one goes well with localhost and it's functioning, however, when i tried it using a web server, it says error uploading file, what do you think is the problem? please help... [code] $phName = $_FILES['userfile']['name']; $tmpName = $_FILES['userfile']['tmp_name']; $phSize = $_FILES['userfile']['size']; $uploadDir ="10.237.102.158/upload/joomla/"; $filePath = $uploadDir … | |
the program works with localhost, however, when i use the same program in my web server, it does not work, the error says: Error Uploading file, this is the code [code] $phType = $_POST['phType']; $phCustomer = $_POST['phCustomer']; $phModel = $_POST['phModel']; $phStatus = $_POST['phStatus']; $phDateDue = $_POST['phDateDue']; $phStatus = $_POST['phStatus']; $phNG … | |
i now have a web server and it is running in linux esp. opensuse 11.1, now my problem is that when i view the site, it states an error: database could not connect, what seems to be the problem and how can i resolve it? | |
i already have a database .gz format, now i want to export it to linux using lamp, how could i do that? tnx ^^ | |
| |
guys i need help, how could i get the id of a button? i have this code [code] echo "form action = 'sec_ph_fileMain.php' method = 'post'>"; echo "<input type = 'submit' name = 'upload' value = 'Upload' id = 'hi'>"; //variable declaration $upload = $_POST['upload']; [/code] what i want is … | |
hi guys, i already made a simple website using the localhost XAMPP, everything is going well, now i want to upgrade it, meaning i want it to be uploaded in a web server? is there any sites you could refer to me for the complete step by step procedure of … | |
hi guys, i want to include the icon of the type of file am uploading, is that possible???? ![]() | |
the question is that, what if i have a separate folder wherein the files i wanted to replace the name is located? example, the uploads folder contain all the uploaded file, now the user can edit the file's information, let's say the filename, how about that? ![]() | |
i could get the size of the file i uploaded, however, i want to convert it to MB, i dont want to make some computations, is there any easy way to do that???? | |
hi guys! this is my problem, let's say the user wants to edit the file's information, not the file itself. example, i have Document1.doc, that is my file, what i want is that the user could edit the information, let's say the time it was uploaded, the filename and not … |
The End.