Fetstil Fetstil Kursiv Understrykning linje färgläggning tabellverk Punktlista Nummerlista Vänster Centrerat högerställt Utfyllt Länk Bild htmlmode
  • Forum & Blog
    • Forum - översikt
      • .Net
        • asp.net generellt
        • c#
        • vb.net
        • f#
        • silverlight
        • microsoft surface
        • visual studio .net
      • databaser
        • sql-server
        • databaser
        • access
        • mysql
      • mjukvara klient
        • datorer och komponenter
        • nätverk, lan/wan
        • operativsystem
        • programvaror
        • säkerhet, inställningar
        • windows server
        • allmänt
        • crystal reports
        • exchange/outlook
        • microsoft office
      • mjukvara server
        • active directory
        • biztalk
        • exchange
        • linux
        • sharepoint
        • webbservers
        • sql server
      • appar (win/mobil)
      • programspråk
        • c++
        • delphi
        • java
        • quick basic
        • visual basic
      • scripting
        • asp 3.0
        • flash actionscript
        • html css
        • javascript
        • php
        • regular expresssion
        • xml
      • spel och grafik
        • DirectX
        • Spel och grafik
      • ledning
        • Arkitektur
        • Systemutveckling
        • krav och test
        • projektledning
        • ledningsfrågor
      • vb-sektioner
        • activeX
        • windows api
        • elektronik
        • internet
        • komponenter
        • nätverk
        • operativsystem
      • övriga forum
        • arbete karriär
        • erbjuda uppdrag och tjänster
        • juridiska frågor
        • köp och sälj
        • matematik och fysik
        • intern information
        • skrivklåda
        • webb-operatörer
    • Posta inlägg i forumet
    • Chatta med andra
  • Konto
    • Medlemssida
    • Byta lösenord
    • Bli bonsumedlem
    • iMail
  • Material
    • Tips & tricks
    • Artiklar
    • Programarkiv
  • JOBB
  • Student
    • Studentlicenser
  • KONTAKT
    • Om pellesoft
    • Grundare
    • Kontakta oss
    • Annonsering
    • Partners
    • Felanmälan
  • Logga in

Hem / Forum översikt / inlägg

Posta nytt inlägg


database?

Postades av 2008-07-13 03:10:38 - eric persson, i forum php, Tråden har 5 Kommentarer och lästs av 1148 personer

Hej, jag vill ha den scripten med database:

<?

{
echo 'it works for me';
} else {
echo 'error';
}
?>

med database så känns det bättre för att jag behöver ej adda tusentals coder på index.php, och kanske det tar mer tid att ladda eller hur?

tacksam för svar


Svara

Sv: database?

Postades av 2008-07-15 21:41:43 - Fredrik Malmström

Utveckla, känns lite otydligt i vad du är ute efter.


Svara

Sv:database?

Postades av 2008-07-16 15:28:24 - eric persson

Hej bror, Kan du hjälpa?


Svara

Sv: database?

Postades av 2008-07-16 20:08:04 - Fredrik Malmström

det kan jag säkert.. but i need you to explain the problem a bit more. I can't get enough of information from your previous contribution to fix a solution to the problem.


Svara

Sv:database?

Postades av 2008-07-16 23:22:50 - eric persson

I wanna make the link in a database and not on the file.

thanks


Svara

Sv: database?

Postades av 2008-07-21 08:51:32 - Fredrik Malmström

To make connections to a database, in this case we take MySQL as a exampel, you can use the PHP Data Objects see (http://se2.php.net/manual/en/book.pdo.php) or MySQL-connection object see(http://se2.php.net/manual/en/book.mysql.php).

The php-codes you have on a php-page, and the data that will represent the information you want to show vistitors resides in the database. When you say, link, what exactly are you talking about?

Is it a A-tag? Like <code>A link</code> or what?

Because the code in your question, looks more like a block of code..

like <code>
if($something=='something') {
// do this..
} else {
// do this..
}
</code>

Describe your problem more in detail, so far I can only get this information:
1. ) You want to use a database
2. ) You want to make the link in a database and not on the file. (Well save it in a database-table and then fecth it, when you want to use it.)


Svara

Nyligen

  • 19:13 Международная перевозка грузов
  • 00:01 DL Van Tuning | Exclusive Body Kit
  • 12:08 Indian casino
  • 04:14 Vad finns det för kratomalternativ
  • 14:16 Indian online casino
  • 14:15 Indian online casino
  • 08:28 Butiksskyltar: Hur upplever utbude
  • 22:31 Slappna av

Sidor

  • Hem
  • Bli bonusmedlem
  • Läs artiklar
  • Chatta med andra
  • Sök och erbjud jobb
  • Kontakta oss
  • Studentlicenser
  • Skriv en artikel

Statistik

Antal besökare:
Antal medlemmar:
Antal inlägg:
Online:
På chatten:
4 570 867
27 962
271 767
450
0

Kontakta oss

Frågor runt konsultation, rådgivning, uppdrag, rekrytering, annonsering och övriga ärenden. Ring: 0730-88 22 24 | pelle@pellesoft.se

© 1986-2013 PelleSoft AB. Last Build 4.1.7169.18070 (2019-08-18 10:02:21) 4.0.30319.42000
  • Om
  • Kontakta
  • Regler
  • Cookies