Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~6K People Reached
Favorite Forums
Favorite Tags

12 Posted Topics

Member Avatar for Hypalink

Hi guys, im trying to find out the best way to set a unique session variable. Normally I would use a "username", but this project does not need a login script or users table. Whats the best way to create a unique session so that I can echo out the …

Member Avatar for blocblue
0
216
Member Avatar for Hypalink

Hi guys, I´m attempting to write a simple "get quote" script, but need some advice about best practice. I want to structure it as follows, lets say a customer wants 1,2,3,4 or 5 apples - I want the quote to be $1. If the customer wants 6,7,8,9 or 10 apples …

Member Avatar for Hypalink
0
188
Member Avatar for nsam

You may wanna double check you're not missing the '' in POST['scow']? As in your example.

Member Avatar for vibhaJ
0
2K
Member Avatar for Mr.Kazaam

Replace your code in the beginning to this; in otherwords don't define - just declare them as variables. It's just simpler i think. [CODE]$dbhost = "your host"; $dbuser = "your username"; $dbpassword = "your password"; $dbdatabase = "your database"; $con = mysql_connect("$dbhost","$dbuser","$dbpassword"); if (!$con) { die('Could not connect: ' . …

Member Avatar for R1Programmer
0
279
Member Avatar for sskarth

I have tried combining javascript and php functions called by the same onclick event and i gave up, it's just not compatable javascript is client-side, php is server-side. In the end i solved the situation using Ajax, since it's essentially just javascript (but by using the httpRequest command it can …

Member Avatar for sskarth
0
232
Member Avatar for madihaahmad

I'm not 100% certain of your problem, but for a start, i don't think you can end your statement with 'elseif', try changing your last 'elseif' statement to just 'else'. See if that solves your problem?

Member Avatar for Hypalink
0
185
Member Avatar for Hypalink

Hi all! I still consider myself to be a newbie at PHP, but i have managed to develop a good PHP application, thanks in a large part to daniweb members' help and advice. My problem now is, having coded a profile page (profile.php) which displays user information dependent on the …

Member Avatar for Hypalink
0
187
Member Avatar for Xufyan

Hi Xufyan, It looks like you have a lot to learn but have no fear i believe this resource will be fantastic for you to get to grips with what you want to do, and will also help you improve your login/registration files. Go to this link [url]http://www.youtube.com/watch?v=h1Cv3zpWXj4[/url] Enjoy and …

Member Avatar for keval_hack
0
118
Member Avatar for Hypalink

I'm wondering is it possible to echo out an entire media player, such as windows media player,in a similar method to echoing out all other tags such as tables and divs? The code i want to echo out, only if certain variables dictate, is this: [CODE]<OBJECT id='mediaPlayer' width="300" height="250" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' …

Member Avatar for diafol
0
133
Member Avatar for Hypalink

I'm looking for a solution. I am developing a "user profile" php file which will render to the current user their profile information. The info rendered and seperated into different divs (styled with css) will be in the form of html/php. However, if no information exists in a specific field …

Member Avatar for Hypalink
0
126
Member Avatar for Hypalink

I have a problem with my remember me php function. For some reason it works perfectly in Firefox but not in IE8. I suspect it's something to do with the checkbox? IE seems to automatically remember the user even if the checkbox remains unchecked! So a cookie is set when …

Member Avatar for genevish
0
188
Member Avatar for Hypalink

Can somebody help me understand how to retrieve user profile data when that user logs-in. I'm relatively new to this and am currently developing a site with javascript, ajax and php. For example in Facebook when a user logs-in their profile data is then displayed in their profile page. Im …

Member Avatar for Hypalink
0
2K

The End.