Hello, i've coded a textarea where a person can select an option (title of an article) and then that article will display in an adjacent table..
Now this i primarily coded in php and html but from what i've looked through in google, it seems that i also need to use a javascript event handler in order for the textarea to send the selected option to my php sql_query search in another file (the query will then look for the associated article...
User Profile
Collapse
Profile Sidebar
Collapse
chocomon
Last Activity: Jun 11 '12, 12:51 PM
Joined: Feb 26 '12
Location:
-
Selecting option from a textarea
-
thank you for the reply!
but i'm not sure what you're doing in your coding example, could you summarize?
sorry...i'm new to php coding -
How to put information from sql database into html table
Hi, i want to code a .php file that will take information from an sql database based on a search query and then put the retrieved data into an html table that i've created within another file
essentially, i'm trying to 'add students' into a club table...
my current php code posts my collected data
Code:<?php mysql_connect ("localhost", "testuser","") or die (mysql_error());
-
ok sure~ sorry about the inconvenience.. ..
first off, it turns out i needed the 2nd colunmn's value, not the 3rd and basically once i clicked a 'calculate' button, i wanted it to go into my datagridview and get all the values from the 2nd column and average them:
Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try Me.MarksTableAdapter.FillBy2(Me.Database1DataSet21.Marks,
Leave a comment:
-
sorry your question is very vague....you want to make a report, depending on the Club ID you type into a search, that will display the training session dates of that Club ID?
and then you want it to list all the students for that training session?Leave a comment:
-
THANK YOU FOR THE REPLY!!!
so are you saying i need to put that code in my 'clickdatagridv iew' private sub to a rowenter() event?
sorry but i'm not sure what you mean by a rowenter() event...how do i make that?
PS. No wait. Sorry i know what you mean =) ...event as in after 'handles'....it s just i can't get the right oneLeave a comment:
-
please refer to this answer only if you have a secondary table that depends on the primary (master) table with the primary key, because i'm not sure if you do from your post!!!
are you saying that you have a primary table with a primary key?
and then you have another table what is embedded ex. as a datagridview in your other form? and then when your employees add to that second table...it gives you this error?...Leave a comment:
-
how do i tell datagridview to do something automatically???
hello~
i was wondering how can i tell datagridview to do something automatically?
for example...usual ly its easy to tell datagridview to do whatever if you click anywhere in the datagridview... but i want datagrid view to do something as soon as the program is running
i was thinking that i have to change the private sub 'handles' to something but idk which event to choose...curren tly my program works if the datagridview... -
-
how to give column value to variable
how do i say that if you click any cell in a datagridview, then i want to assign a variable like 'a' the value of the 3rd column in the datagridview
thanks
No activity results to display
Show More
Leave a comment: