No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I came up with these two arrays and now i need to search the nameArray by a name inputted by the user and then show the corresponding index value from the scoreArray? Any ideas? public class InitArraya { public static string[] arrayName = new string[5]; // declare array named array … |
|
[code=php]//create and issue the first query $add_topic_sql = "INSERT INTO forum_topics (topic_title, topic_create_time, topic_owner) VALUES ('$_POST[topic_title]',now(),'$_POST[topic_owner]')"; $add_topic_res = mysql_query($conn, $add_topic_sql) or die(mysql_error($conn)); //get the id of the last query $topic_id = mysql_insert_id($mysql);[/code] |