![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Thanx for the sql query, but there must be a little mistakeHallo, first of all thanx for your efforts for th sql command:
PHP Code:
Would be greate you could explain that to me. Matthias |
|||
|
#2
|
||||
|
||||
|
Oops! I included a typo, it should be :
PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
|||
|
|||
Sorry but I get the same error:Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in d:\programme\apache group\apache\htdocs\bibli\find.php on line 314
Matthias |
|
#4
|
||||
|
||||
|
How is the url to get to this page?
e.g. http://www.example.com/find.php?id=23 Do you append the id query string (?id=23) to the URL? __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
|||
|
|||
|
E.G:...bibli/find.php?sqlType=title&authID=47
is an url appended command to show all titles from on author. Matthias PS:You meant this? |
|
#6
|
||||
|
||||
|
This;
sqlType=title it's actually sqlType=1 ? If yes, change the code to: PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#7
|
|||
|
|||
|
hI , its actually without sql,only id:
PHP Code:
Matthias |
|
#8
|
||||
|
||||
|
Hang on Matthias...
We are going around in circles; you have to tell me what the regular link is going to look like. e.g. if your link is going to be .../find.php?thetitelid=234, then this line in the code should be: PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#9
|
|||
|
|||
difficult:There is actually no special link to get the location(standort)
information. There is a while construct which loops through the database and shows me then all the results(books) it can find. Undersome book specifics like edition,author and so on I wanted to include a function to show me the Standort too, so I inserted two new tables, the rel-title-user and standort. And I just wantetd to put the function just before the end of the while bracket so after every result the location is put out. Thats it-so no link. Matthias |
|
#10
|
||||
|
||||
|
See, if you had explained that earlier, we would be discussing some whole new theory by now
Anyway, the trick now is to find the variable that holds the titelid in the existing script and replace that variable into our code earlier: PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SQL multiple languages query | samtediou | MySQL / PHP Forum | 6 | 23-Jul-2003 13:09 |
| mysql vs sql - what is the difference | zabell | MySQL / PHP Forum | 2 | 14-Jun-2003 16:32 |
| Search Engine Positioning 101 and 201 "How To" Tips... | 000 | Search Engine Optimization Forum | 0 | 29-May-2003 10:34 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The