Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~14.8K People Reached
Favorite Forums
Favorite Tags
php x 42
Member Avatar for marcmm

I've got a simple question: how can I make an onclick return confirm event work inside PHP tags. [code] <HTML> <BODY> <a href="delete.php" OnClick="return confirm('blah blah');"> Click here </a> <?PHP ECHO "<a href='delete.php' OnClick='return confirm('blah blah');'> Click here </a>"; ?> </BODY> </HTML> [/code] the first link is a simple html …

Member Avatar for akmotta
0
13K
Member Avatar for marcmm

I wand to give the user the ability to upload as many pictures as he wants to. at present I hava a fexed amount of browse fields wich the user can use to select pictures... the code looks something like this : [code] <?PHP $max_file_size = 3000000; ECHO "<FORM NAME=name …

Member Avatar for marcmm
0
206
Member Avatar for marcmm

I'm trying to use some dynamic path names for an image upload page. In a tutorial they had something like this: [code] <?PHP $directory_self = str_replace(basename($_SERVER['PHP_SELF']), '', $_SERVER['PHP_SELF']); // this echoes something like " /foldername/ " presumbing that the php file is set inside that folder in the root. $uploadsDirectory …

Member Avatar for Yayo_SK
0
113
Member Avatar for marcmm

I wish to know if there is any way to refear to an empty querry result. I want to implement a safety measure that prevents users from entering duplicate names in a DB. so I colect the value they enter in a textbox, then I create a querry wich checks …

Member Avatar for Aamit
0
102
Member Avatar for marcmm

ok, I have a form that submits data to a database. data that is colected from things like dropdown boxes, textboxes, checkboxes etc. I want to put some conditions that prevent the user from submitting something that is missing important data. I found a little tutorial that dose that, but …

Member Avatar for manish.s
0
176
Member Avatar for marcmm

Hello, I am fairly new to PHP, having just started messing around with it, but I need to solve something and I would apreciate any help any of you could offer. Here is my problem: There's a hardware online store built using php/html and connected to a mysql database. It …

Member Avatar for marcmm
0
285
Member Avatar for marcmm

Ok, I'm having a big problem with an sql string for a query. I want to implement a methode that allows the user to search for hotels by entering the minimal price ( so if they enter say 20 it will only display hotels that have prices above 20 ). …

Member Avatar for marcmm
0
136
Member Avatar for marcmm

Ok... I have another problem. I have tryed to split the resultts of my query in to multiple pages with a fixed number of results per page... I used this tutorial for it: [url]http://www.php-mysql-tutorial.com/php-mysql-paging.php[/url] Originally, my page worked as follows: There was a search frame where the user would select …

Member Avatar for marcmm
0
216
Member Avatar for marcmm

I'm interested in the limit parameter. When ever I try to use that I get this error: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(0,5)' at line 5" this is the line …

Member Avatar for marcmm
0
94
Member Avatar for marcmm

Ok, I have this dilemma reguarding the building of querries. I have a website that browses hotels. The user can select the region and the quality of the hotel via some dropdown boxes and then he is offered weather the search results should include certain options that the hotels should …

Member Avatar for marcmm
0
101