<?php include ("variables.php");
 
$sql mysql_connect ($mysql_server$mysql_user$mysql_password) or die ("Keine Verbindung zum Server"); 
mysql_select_db ($mysql_database) or die ("Keine Verbindung zur Datenbank");   


$q1="SELECT id, Typ FROM tabelle1 GROUP BY Typ ORDER BY Typ"
$res_idmysql_query($q1$sql); 
while(
$res mysql_fetch_object($res_id)){ 
    
$q2"SELECT bild, Typ, Bezeichnung, Watt, Sockel, Bestellnummer FROM tabelle1 WHERE Typ='".$res->Typ."'"
    
$res_id2 mysql_query($q2$sql); 
    echo 
'<table>'
    echo 
'<tr>'
    echo 
'<td colspan="5"><? echo $res["Typ"]; ?></td>'
    echo 
'</tr>'
    echo 
'<tr>'
    echo 
'<td rowspan="<? echo mysql_num_rows($res2); ?>">Bild</td>'
    echo 
'</tr>' Der PC-Problem Thread (page 144) - TranceAddict Forums

Become a part of the TranceAddict community! Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Local Scene Info / Discussion / EDM Event Listings > Europe > Europe - Germany > Der PC-Problem Thread
Pages (341): « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 [144] 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 »   Last Thread   Next Thread
Author
Thread    Post A Reply
dj_macgyver
MacBunny™ Pro



Registered: Feb 2004
Location: GTA #184 | 48.119958°N | 11.531116°E

wahrscheinlich is jetzt der objektorientierte mysql-code zusammen mit den prozedurorientierten routinen in einer php-datei gemischt... wahrscheinlich brauchen beide varianten auch einen eigenen connect...


___________________
... the deal about djing is: you're using other people's art to create your own ...
... the deal about djing is: to positively surprise the audience with your taste ...

Sure I know how to move you. But damn! Can't you fucking move yourself?

Click here to get MacGyver's Way - Volume 1! Do it. Do it!

Old Post Jul-05-2005 11:18  Germany
Click Here to See the Profile for dj_macgyver Click here to Send dj_macgyver a Private Message Visit dj_macgyver's homepage! Add dj_macgyver to your buddy list Report this Post Reply w/Quote Edit/Delete Message
McP68
_



Registered: Apr 2003
Location:

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\apachefriends\xampp\htdocs\lagerliste\index.php on line 38

das ist die zeile:

while($row = mysql_fetch_object($res2)){

Old Post Jul-05-2005 11:27 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
McP68
_



Registered: Apr 2003
Location:

jetzt gehts zwar, aber es kommt immer nur

Bild

Bild

Bild

Bild

Bild

....usw.

Old Post Jul-05-2005 11:31 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
McP68
_



Registered: Apr 2003
Location:

PHP:

    while($row mysql_fetch_object($res_id2)){ 
        echo 
'<tr>'
        echo 
'<td><? echo $row["Bezeichnung"]; ?></td>'
        echo 
'<td><? echo $row["Watt"]; ?></td>'
        echo 
'<td><? echo $row["Sockel"]; ?></td>'
        echo 
'<td><? echo $row["Bestellnummer"]; ?></td>'
        echo 
'</tr>';
        echo 
'</table>';
    } 

?>

Old Post Jul-05-2005 11:37 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Tom Paris
disco invader



Registered: Aug 2003
Location: trance valley : GTA #146

quote:
Originally posted by McP68
jetzt gehts zwar, aber es kommt immer nur

Bild

Bild

Bild

Bild

Bild

....usw.


is bild denn ne grafik oder wie?

Im Quelltext steh ja auch noch fest "BILD" drin, dass musst Du dann natürlich anpassen. Ebenso die Bezeichner für die Felder, wenn die nicht stimmen sollten.


___________________
Musik ist das, was uns zu Menschen macht

Old Post Jul-05-2005 11:37  Germany
Click Here to See the Profile for Tom Paris Click here to Send Tom Paris a Private Message Add Tom Paris to your buddy list Report this Post Reply w/Quote Edit/Delete Message
McP68
_



Registered: Apr 2003
Location:

quote:
Originally posted by Tom Paris
is bild denn ne grafik oder wie?

Im Quelltext steh ja auch noch fest "BILD" drin, dass musst Du dann natürlich anpassen. Ebenso die Bezeichner für die Felder, wenn die nicht stimmen sollten.

normalerweise schon, aber bilder kommen erst später hinzu

Old Post Jul-05-2005 11:39 
Click Here to See the Profile for McP68 Click here to Send McP68 a Private Message Add McP68 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Nachtengel
Supreme tranceaddict



Registered: Nov 2004
Location: Dortmund - GTA # 248

quote:
Originally posted by Bloodflower
und dazu passende portraits und promo bilder?
und PI5 cover-motiv?


jaaaaaaaaaa - mach mal schicke bilder von ihm!

Old Post Jul-05-2005 11:57  Germany
Click Here to See the Profile for Nachtengel Click here to Send Nachtengel a Private Message Add Nachtengel to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Nik Novo
Supreme tranceaddict



Registered: Apr 2003
Location: Munich, Germany

quote:
Originally posted by McP68
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\apachefriends\xampp\htdocs\lagerliste\index.php on line 38

das ist die zeile:

while($row = mysql_fetch_object($res2)){


mysql_error()


___________________
rate the sound, not the artist. | Download: Nik Novo - Novocast 003

Old Post Jul-05-2005 12:13  Germany
Click Here to See the Profile for Nik Novo Click here to Send Nik Novo a Private Message Visit Nik Novo's homepage! Add Nik Novo to your buddy list Report this Post Reply w/Quote Edit/Delete Message
DennisF
up & down and all around



Registered: Nov 2001
Location: Europe

quote:
Originally posted by Nachtengel
hihi, bloß weil flo auch eine hat

Old Post Jul-05-2005 12:17 
Click Here to See the Profile for DennisF Click here to Send DennisF a Private Message Visit DennisF's homepage! Add DennisF to your buddy list Report this Post Reply w/Quote Edit/Delete Message
DennisF
up & down and all around



Registered: Nov 2001
Location: Europe

quote:
Originally posted by Bloodflower
und dazu passende portraits und promo bilder?
und PI5 cover-motiv?


hehehe geile idee

du weisst ja wann das PI cover fertig sein muss oder?email ging freitag raus mit den daten

Old Post Jul-05-2005 12:21 
Click Here to See the Profile for DennisF Click here to Send DennisF a Private Message Visit DennisF's homepage! Add DennisF to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Nachtengel
Supreme tranceaddict



Registered: Nov 2004
Location: Dortmund - GTA # 248

quote:
Originally posted by Stiffmaster


ich dachte, die idee wäre dir gekommen als du DIES hier gesehen hast...

Old Post Jul-05-2005 12:29  Germany
Click Here to See the Profile for Nachtengel Click here to Send Nachtengel a Private Message Add Nachtengel to your buddy list Report this Post Reply w/Quote Edit/Delete Message
DennisF
up & down and all around



Registered: Nov 2001
Location: Europe

quote:
Originally posted by Nachtengel
ich dachte, die idee wäre dir gekommen als du DIES hier gesehen hast...
ne die idee hab ich seit monaten

Old Post Jul-05-2005 12:36 
Click Here to See the Profile for DennisF Click here to Send DennisF a Private Message Visit DennisF's homepage! Add DennisF to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Local Scene Info / Discussion / EDM Event Listings > Europe > Europe - Germany > Der PC-Problem Thread
Post New Thread    Post A Reply

Pages (341): « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 [144] 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 »  
Last Thread   Next Thread
Show Printable Version | Subscribe to this Thread

Forum Jump:

All times are GMT. The time now is 09:36.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2018

Privacy Statement / DMCA