Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Help with LDU (Seditio) engine
Old 12-10-2009, 12:35 PM Help with LDU (Seditio) engine
Novice Talker

Posts: 5
Name: Armando
Trades: 0
I dunno if anybody is familiar with LDU Seditio engine but i need help writing a short code.

i need a SQL & PHP code that will search the DB


PHP Code:
$SQL Search db for user avatar and uder ID #

$results user avarat user id number

($row mysql_fetch_array($results)) 
i know nothing about the code above is corrent except the concept which is my point. as long as u get what im tryin to do ive done my job lol.

so i want to search the db and match a user id or name with thats users Avatar and then display it on the page. via something like this

PHP Code:
$Buddies .= "<img src=\"$avatar\"> "; ($avatar urlso its ok to do it that way
$buddies 
.= " ".sed_build_user($row["buddies_buddyid"], stripslashes($row["buddies_buddyname"]));
$buddies .= " "
i know i need to use the LEFT JOIN statement but i dunno how to get that implemented

anybody help is appreciated

Last edited by xjsv; 12-10-2009 at 03:09 PM..
xjsv is offline
Reply With Quote
View Public Profile Visit xjsv's homepage!
 
 
Register now for full access!
Old 12-10-2009, 03:58 PM Re: Help with LDU (Seditio) engine
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
I don't understand what you mean. But a basic MySQL search is done like so

SELECT * FROM table WHERE field LIKE 'value'

You can add % as a wildcard, as in

'%value' to search for entries that ends with value
'value%' to search for entries that starts with value
'%value%' to search for entries that contains value
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Reply     « Reply to Help with LDU (Seditio) engine
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10008 seconds with 12 queries