my two tables


Posted on 16th Feb 2014 07:03 pm by admin

table1 : col1 = topicid , col2 = topic

table2 : col1 = sentid, col2 = sentence

Did you know?Explore Trending and Topic pages for more stories like this.
Code: require_once("includes/connection.php");
$trends = mysql_query("SELECT topicid, topic FROM table1");
$sent = mysql_query("SELECT sentid, sentence FROM table2");
//I need to concatenate every topic in table1
//with every sentence in table2 and create array of sentences.

help me with snippet please.
No comments posted yet

Your Answer:

Login to answer
277 Like 36 Dislike
Previous forums Next forums
Other forums

Basic Question about Threading and PHP...
I have a page that I am working on and it is taking several hours to process. The basics of what th

Change Age automatically
hi guys . im new to php , is it possible to change age value in mysql automatically when year change

Connect to database that isn't localhost
I am currently doing a small script for a company that doesn't have mySql support on there hosting.

Links not updating
I'm trying to fuel a simple navigation system for a news section. It works fine when it comes to ret

if description does not contain the following words
Hello everyone,

I am parsing a MS Excel (.xls) file and adding it's content to a mySQL databa

mod_rewrite.c on windows ??
why it's not working on windows while it's working on other hosts???

this is the code i got

Change image filetype on upload?
Hi,
I've got a form which uploads an image to the server.
Is it possible to change the image t

distinct rows
Hi
version 10.2.0.3

I have a query output something like the following

ID

search query in mysql in php problem
my search query wont work, i know, that my codes are correct.please help

Code: [Select]&l

Need help Updating SQL Server Express DB from c# :(
Please can anyone help with:-
1 How to sructure the strSelect statement.
2 How to instruct

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash