Maq
Administrators-
Posts
9,363 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Maq
-
What does that mean? Did it echo? Did you do a test register? What exactly happened?! No. When and where did this happen? In your original post you claimed that these all had values... password: 8b1bfe77cb4bc077728e6b1607c8b73a UserID: 83e23af276758792a355a3f0b47b862f Timestamp: 1238764994 Location: 1238764982
-
Forgot the semi-colon: echo "Your Query: " . $q;
-
Remove the double quotes, you can use backtics if you'd like for the column names. Besides that, it looks fine to me.
-
Your form is fine, please don't copy and paste all of your code. What I meant what echo out your query: $q = "INSERT INTO ".TBL_USERS." VALUES ('$username', '$password', '0', $ulevel, '$email', '$location', $time)"; echo "Your Query: " . $q return mysql_query($q, $this->connection);
-
You never use the parameter $src in your function... I think you meant: $result = explode(' ',$src,26);
-
Echo out $q in your function to see what the actual values are. If they are timestamps, go to your form and see what location is really asking for.
-
How are you inserting the location? And why would it be a timestamp (at least that's what it looks like)? You use date() after you extract the date (timestamp) from the database, it'll put the timestamp in readable date and time format.
-
Looks like the location is a timestamp as well, might want to change that, I don't see the point... You can use the date() function, with the first param being the format of the date and the second being your timestamp.
-
I can tell you right now everyone is going to tell you the same thing. Either search these forums for similar threads or GOOGLE.
-
This is the whole point of the discussion. If you put your moral beliefs aside and take the job, then you really don't have this belief in the first place. I agree but, this is totally different than morals & beliefs.
-
Don't know how accurate it is: http://www.php-scripts.com/php_diary/011303.php3 You could also do one yourself just to be sure.
-
Hehe, I was just kidding buddy! Aww man, you got me, figured me out... Did you have to go there?
-
Overall, your site is pretty nice, with a good idea. I like how everything is kept simple and to the point. I would move the tabs so they align with the center container. I would move the Editorial & Account tabs either center or to the left. Maybe some kind of "About" page so people know exactly what this is and what to do. The banner is mediocre at best. Spice it up a little and try to get the colors to match. You have a blue banner, green tabs, white tabs, and some light green backgrounds. The color scheme seems a bit clashy. You could probably just change the banner color and be fine. Most of this critique is personal preference, mainly just for you to be aware of what I think, and to tell you the truth, my eye for design and style aren't very good. :-\ Good luck!
-
Is there an echo in here?
-
Yeah, if you don't need regex then just use what premiso suggested. It should be a bit faster as well.
-
This is more so a matter of opinion and preference. I'm sure you can find similar posts in this section about that. It also depends on what kind of application you're developing.
-
harkly, please by all means ask as many questions as you'd like. I didn't mean to give you the impression that I get tired of answering questions, after all, this is why I'm here, I like helping people. Thx redarrow
-
Plus, the cursor blinks where the field starts...
-
[SOLVED] Cut off first 29 letters of a PHP Variable?
Maq replied to alexville's topic in PHP Coding Help
Do you mean the variable name or value? I hope you don't have a variable name that long... -
Yeah sorry, I think we just had a miscommunication issue. Let me know if I answered your question.
-
EDIT: I was wrong ;/
-
I think it was a good decision. There are plenty of other jobs out there, keep looking around. You may want to do some freelance gigs to fill your resume. Good luck with everything!
-
I already told you. Create a table with the information you want to store (user name, date, time, search word, etc...) and insert it into your table when the user submits their search. If you don't know how to do that, then ask a little more of a specific question. There are a lot of tutorials on how to insert into a database with PHP and MySQL.