fugix
-
Posts
1,483 -
Joined
-
Last visited
Posts posted by fugix
-
-
Lack of education does not a smarty make.
-
I have been finding myself using js more and more these days as well...need to find that perfect blend of both
http://phpjs.org/ -- blending doesn't always a good result make!
was that a sentence salathe?
-
Funny, but besides the time I spend at work as a PHP developer, I have actually been writing more server side code using JavaScript than PHP these days. Which do I prefer? At the moment JavaScript, but I'm not sure I would build a complete application with node.js.
I have been finding myself using js more and more these days as well...need to find that perfect blend of both
-
you are trying to mix php and js together which normally doesnt work since js is client side and php is server side. I suggest using pure php for this.
-
also, change the elseif's to simply if statements
-
Thank you fugix for all your help the line of code u gave me was the fix. I just didn't have my php.ini set up correct once it was fixed it all worked. i had way to much running in the extensions i guess i started over with a new copy and only opened the mysql extension and it all works now with your code add in. Again thank you so much.
no problem at all, glad i could help
-
insert
mysql_query($sql) or die(mysql_error());
-
yeah wouldnt you just use $_FILES["file"]["type"]
-
@CV I have some fingerless gloves. They're pretty cool. You should get a pair.
just checked this thread for the first time today..wondering how cars and gloves are involved...lol
-
read this please
-
your syntax looks correct...did you try troubleshooting your query using mysql_error()?
-
post method is fine..what does the url look like when the form is submitted to your review_process.php page?
-
okay, if you need further help just let us know.
-
non-persistent open links close when the script has ended
-
have you tried debugging your script..echoing you sessions to make sure they are set, checking your queries etc..
-
i would change your login success page to this
// Check if session is not registered , redirect back to main page. // Put this code in first line of web page. <?php session_start(); if(!empty($myusername) && !empty($mypassword)){ $_SESSION['myusername'] =$myusername; $_SESSION['mypassword'] =$mypassword; } if(!isset($_SESSION['myusername']) || !isset($_SESSION['mypassword'])){ header("location:main_login.php"); } ?> <html> <body> Login Successful </body> </html>
-
what are your results?
-
jquery is awesomer, if that is a word
i think it should probably be a word... i think i've used it several times before.
However its not possible to say jquery is awesomer than ajax is it?
it is, because I said it in my post.
my reason being its easier to use ajax functions via jquery, than writing them yourself, for me at least.
jquery utilizes asynchronous functions...which is what I believe you are talking about...AJAX uses them as well
-
just in general...wondering which language people like to use and why.
-
ah, glad you figured it out
-
did you click on the link that i provided? explains ajax from the people that made it
-
what is your question?
-
this will help
-
what you have there will echo whatever is in you city_display column..if your query is grabbing multiple rows then you'll want to use a while() loop as well..if nothing is getting echoed then try debugging your query e.g
$rsP3 = mysql_query($qP3) or die(mysql_error());
edit: gizmola posted right before me...read the link that he posted...should help
PHP or JS
in Miscellaneous
Posted
haha...classic
http://www.urbandictionary.com/define.php?term=Chromulent