Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    Update field in database on pageload

    Hello,
    What i want to do is have a piece of script that when a page loads, it will update a field in a databse. And for each time the page loads, it ads +1 to the field.
    Any scripts or tutorials?

    Thanks

  2. #2
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    It is not possible to have it done with only CSS.
    A minimum of programming is required. So the forum CSS is not the correct place to post.

    For the first part of the question ("when a page loads, it will update a field") a javascript (client side) is sufficient, while for the access to a database you need a server side program (PHP, ASP, CGI, JSP, ...).
    If you tell us which technology is available on your server, we can move the thread to the correct forum.



    Non e` possibile ottenere quanto chiedi con solo CSS.
    E` necessario utilizzare un minimo di programmazione; per questo il forum CSS non e` il posto adatto.

    Per la prima parte della domanda ("when a page loads, it will update a field") basta JS (lato client), mentre per accedere ad un database e` necessario avere un programma che gira lato server (PHP, ASP, CGI, JSP, ...).
    Se dici quale tecnica e` supportata dal tuo server possiamo spostare la discussione nel forum piu` adatto.
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.