Search found 4 matches

by nosti
Thu Dec 02, 2004 7:41 am
Forum: PHP - Code
Topic: sending POST request
Replies: 2
Views: 715

sending POST request

PLEASE HELP ME! :?: i am trying to : $ReqBody = "mytext=" . urlencode("hello world"); Header("POST /getmsg.php HTTP/1.1"); Header("Content-Type: application/x-www-form-urlencoded; charset=utf-8"); Header("Content-Length: ".strlen($ReqBody)); Header(&...
by nosti
Thu Dec 02, 2004 7:37 am
Forum: PHP - Code
Topic: msql_fetch_row(Invalid SQL Command?)
Replies: 2
Views: 494

where did you bring $resultid
the mysql_fetch_row function should get a result resource which is in your case the $result object
so next time just go to the basics and read about the function you are having problems with
EVEN if you think you know what it does
by nosti
Thu Dec 02, 2004 7:32 am
Forum: Databases
Topic: getting forums messages
Replies: 1
Views: 595

getting forums messages

lets say i have these tables: forums [id, opendate, title] ^ forums info table forumsmessages [id, writedate, userid, content, replytoid] ^ message info: who wrote it, when, what and in reply to which messsage (if NULL, its a new message) How do i get them all in on SELECT from the DB in the right ...
by nosti
Thu Dec 02, 2004 7:25 am
Forum: Databases
Topic: searching large data and paging
Replies: 2
Views: 502

searching large data and paging

after searching large amount of data and calculating the relevancy of each result i now have a comlete ordered list of results. the user asked to view the first page of the results which contain 20 results. that's no problem, but the next pages are. 1st page - 1 to 20 2nd page - 21 - 40 3rd page - 4...