Forum: PHP Feb 4th, 2009 |
| Replies: 12 Views: 1,524 thank you for taking the time to explain this indeapth. I apreciate it. I still am not sure exactly how to apply this, but I'm sure some experimentation will solve that.
In the meantime I decided... |
Forum: PHP Jan 28th, 2009 |
| Replies: 12 Views: 1,524 I tryed your example... it dosen't do anything. just displays the checkboxes and clicking on them will do nothing. |
Forum: PHP Jan 28th, 2009 |
| Replies: 12 Views: 1,524 I'm having a hard time figuring out what is going on in there... but anyways... can somebody please tell me how I could get the value of a checkbox when the user clicks it?
I tryed onclick... |
Forum: PHP Jan 27th, 2009 |
| Replies: 12 Views: 1,524 thanks for the suggestion guys... I managed to skip a lot of headakes simply by doing the entire picture upload on a separate page. and I've got the upload working, the saving of files, placing in... |
Forum: PHP Jan 16th, 2009 |
| Replies: 12 Views: 1,524 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... |
Forum: PHP Jan 16th, 2009 |
| Replies: 3 Views: 489 thank you for the suggestion... but it turns out that it dosen't need it... despite the fact that echoing the patch and copy pasting that in a browser dosen't work... it seems that php is somehow... |
Forum: PHP Jan 12th, 2009 |
| Replies: 3 Views: 489 I'm trying to use some dynamic path names for an image upload page. In a tutorial they had something like this:
<?PHP
$directory_self = str_replace(basename($_SERVER['PHP_SELF']), '',... |
Forum: PHP Dec 20th, 2008 |
| Replies: 4 Views: 1,435 I can't resubmit the page because I'm already using the submit function to send the data to another page.
the intermediar check.php page seemsi nteresting. butr I ahve no idea how to make the page... |
Forum: PHP Dec 20th, 2008 |
| Replies: 3 Views: 400 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... |
Forum: PHP Dec 20th, 2008 |
| Replies: 4 Views: 1,435 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... |
Forum: PHP Dec 18th, 2008 |
| Replies: 5 Views: 2,277 such a simple answere. thank you. problem solved. |
Forum: PHP Dec 18th, 2008 |
| Replies: 5 Views: 2,277 I've got a simple question: how can I make an onclick return confirm event work inside PHP tags.
<HTML>
<BODY>
<a href="delete.php" OnClick="return confirm('blah blah');"> Click here </a>
... |
Forum: PHP Dec 10th, 2008 |
| Replies: 24 Views: 2,339 the database is called DBname. it contains just one table called tablename.
the table contains just two columns. a county column and a cityname column.
I would really apreciate some feedback on... |
Forum: PHP Dec 9th, 2008 |
| Replies: 24 Views: 2,339 Ok guys... I took the time to look over the posted solution... but I'm affraid I was not able to understand half of what was going on in there.
I fiddled around and came up with this simplistic... |
Forum: PHP Dec 8th, 2008 |
| Replies: 2 Views: 808 well yes... but my problem is that it's displaying the same hotel twice ( and if the prices table will have for example 4 prices atributed to the same hotel it will display that hotel 4 times )... |
Forum: PHP Dec 7th, 2008 |
| Replies: 2 Views: 808 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... |
Forum: PHP Nov 24th, 2008 |
| Replies: 19 Views: 1,581 Well I tested it and it works... so problem solved... thanks for the input guys... using the get methode and implementing the posting and retrieving of data from page to page was something I doubt I... |
Forum: PHP Nov 20th, 2008 |
| Replies: 19 Views: 1,581 Ok... I belive I fixed it... It seems to work properly now... my errore seems to have steemed from the fact that I had a few variables in highercase in some areas... and sicne var names are... |
Forum: PHP Nov 20th, 2008 |
| Replies: 19 Views: 1,581 it still dosen't work...
6%5
and going through this:
IF ( is_float ( $pagination ) )
{
$total_pages = $pagination + 1; |
Forum: PHP Nov 20th, 2008 |
| Replies: 19 Views: 1,581 I've noticed that the link seems to have certain problems sending the combo parameters...
they are under this form:
&combo1='number'
but the link will only say &combo1= |
Forum: PHP Nov 20th, 2008 |
| Replies: 19 Views: 1,581 Unfortunatelly it still dosen't work... and the page calculation system is flawed...
here's what I have in adition to the above:
$pagination = $total_lines/$displaylines; // ( total_lines is... |
Forum: PHP Nov 19th, 2008 |
| Replies: 19 Views: 1,581 Ok... more progress:
$currentpage = 0; // I had to set the current page var to 0 outside the if isset loop because the else branch there dosen't seem to work
$sql_line="SELECT DISTINCT... |
Forum: PHP Nov 19th, 2008 |
| Replies: 19 Views: 1,581 oh... nevermind... I understand what you mean... ok... I will change it... then get started on the split pages... |
Forum: PHP Nov 19th, 2008 |
| Replies: 19 Views: 1,581 Ok... after reading the above I realised how unnecesarelly I complicated myself with the code... SO I deleted most of it and started from scratch this is how the beginning of the document looks like... |
Forum: PHP Nov 19th, 2008 |
| Replies: 19 Views: 1,581 Ok, I figured out the logic behind your earlyer post... but one question still remains...
it's easy for the dropdown list parameters since they wiull always exist... having either 0 or a value... |
Forum: PHP Nov 19th, 2008 |
| Replies: 19 Views: 1,581 Ok... so I redefined my search button form and now it reads like this:
ECHO "<FORM NAME=hoteluri METHOD=get ACTION=display.php TARGET=result>";
ok... now on to the if ifset statement...
... |
Forum: PHP Nov 19th, 2008 |
| Replies: 19 Views: 1,581 SO when you said to use "get" in stead of "post"... were you refearign to when I submit the search parameters from the browse frame:
ECHO "<FORM NAME=hoteluri METHOD=post ACTION=display.php... |
Forum: PHP Nov 19th, 2008 |
| Replies: 19 Views: 1,581 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:
... |
Forum: PHP Nov 19th, 2008 |
| Replies: 2 Views: 606 Ok this is weird... I tryed executing the string again today and it worked... but it wouldn't work yesturday... I don't get it...
the string dose not work with paranteses that I figured out... but... |
Forum: PHP Nov 18th, 2008 |
| Replies: 2 Views: 606 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... |
Forum: PHP Nov 17th, 2008 |
| Replies: 2 Views: 395 Ok, thank you very much for the repply and indeed, your solution works like a charm. And it's as simple as it's efficient. I didn't think about it maybe because I was considering the querry string as... |
Forum: PHP Nov 14th, 2008 |
| Replies: 24 Views: 2,339 guys, sorry for beying so silent over the past weeks, been flooded with other things that I didn't have time to look over that suggestion properly, but I will be looking voer ti soon and will provide... |
Forum: PHP Nov 14th, 2008 |
| Replies: 2 Views: 395 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... |
Forum: PHP Oct 21st, 2008 |
| Replies: 24 Views: 2,339 yes, still around... I was just away over the weekend...
andrei_ajder@yahoo.com |
Forum: PHP Oct 17th, 2008 |
| Replies: 24 Views: 2,339 I would apreciate it greattly.
ANd the oricare option mearly dumps ALL the options in the menue.
SO if the first menue has "any ( oricare )" selected, the second menue will display all the... |
Forum: PHP Oct 16th, 2008 |
| Replies: 24 Views: 2,339 Yes indeed, there are only 3 menues. Threre is NO "product" menue.
The site sems to use superglobals ( via $_REQUEST) to link to the dropdownlist objects ( from the page that displays the results... |
Forum: PHP Oct 15th, 2008 |
| Replies: 24 Views: 2,339 P.S.
for the integrity of the remaining code, the first option in each of the three dropdown lists must be "Oricare" ( everything ), wich is later used in determining weather the user sleected... |
Forum: PHP Oct 15th, 2008 |
| Replies: 24 Views: 2,339 well, the database is preatty extensive ( I did not build the database ), but I will try to give a description of those tables in the DB that are conected with this particular process.
The main... |
Forum: PHP Oct 14th, 2008 |
| Replies: 24 Views: 2,339 Ok, well I understood how your example works... basicly, I'm still having problem with the syntax, and recursivity is an anoyance ( didn't really like it back when I was doing C++, don't like it now... |
Forum: PHP Oct 13th, 2008 |
| Replies: 24 Views: 2,339 I thank you all for taking the time to repply, but as I said I am very new to the whole web programming thing. I just whent over basic PHP and html. I haven't done any javascript, or dabbled with the... |