![]() |
personal messages system
hi im trying to do a personal messages system in my script
and i had few problems is there someone than can help a little bit with some tips thanks already ok this script didnt work why !! PHP Code:
|
That's a very vague question webtuto, can you elaborate on what part of the script you actually need help on?
|
karl i edit the thread u can see the code
|
Webtuto, could you be more specific? Are you getting error messages? Are you looking to optimize the code?
What's up? |
You are not using $car anymore in the code, and we don't see $oop and $row being created. Are you sure they exist? And $oop[com] may give problems on some PHP servers, use $oop['com'].
Hope this helps a bit :) |
Quote:
PHP Code:
|
Quote:
|
Then if you don't get the sender name give give is the code that makes $row (inc query)
|
$car not $row i edit it
but still the error |
If you only need it once use:
Code:
$man=mysql_query("SELECT * FROM `coms` LIMIT 1"); |
yeah but still douesnt show any result
|
This stuff is pretty basic so you should know it by now. If you don't, please save it, or repeat the method a couple of times.
PHP Code:
I have NOT tried it out but it is the most basic method I know and very solid. The query construction aside of course. |
Quote:
|
OR the field isn't called sender. Use phpMyAdmin or NaviCat (or any other mySQL program) to check out how you named your database.
You can also include at the top, or rather in the config error_reporting(E_ALL); or maybe error_reporting(E_ALL ^ E_NOTICE);. This way you can see all the errors except the notices (like define and such). I use it mainly for developing since then I can see if my query is wrong, my fetch didn't go as planned or maybe if I even haven't established a connection to the database. Good luck. |
im gonna try night and this u the result thanks guys
|
it is easyer if you post what the bug output on the page is,
and in what line. |
the problem is solved now thanks
|
| All times are GMT. The time now is 01:32 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0