Jump to content

Search the Community

Showing results for tags 'get'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

  1. i searched on google and can't seem to come up with an answer. I keep getting linked to some wiki article about cookies or something. Is there a way to disable the button after submit. or force user to click an "edit" button to enable "update" button? The website is below. Basically you enter the available apartment (select landlord, building, enter price, apt #, # of bedrooms). Hit enter. Added to database. http://responsiblyvodka.com/tester.php if you hit refresh it either reenters it or enters a blank line.
  2. Trying to pass my results from MYSQL statement as links to card.php. How do I echo out the results as clickable links to card.php passing a get variable so that I can use this variable in card.php. The links should be playerName. <?php include_once 'header.php'; $con = mysql_connect("localhost","*****","******"); mysql_select_db("cards",$con); if (!$con) { die('Could not connect: ' . mysql_error()); } $sql = "SELECT * FROM cards ORDER BY RAND() LIMIT 4"; $results = mysql_query($sql); $array = mysql_fetch_array($results); $num=mysql_num_rows($results); $i=0; while ($i < $num) { $array = mysql_fetch_array($results); echo '<a href="card.php?cardid=' . $array->id . '">' . $array->name . '</a>'; echo "</br>"; $i++; } include_once 'footer.php'; ?>
  3. Hello there! I'm such a beginner in php coding, i don't know the trick yet. My question is: I have a site, the main files are header.php; index.php; footer.php. I include header and footer in index php The index.php contains the articles, with tags. I want to pass the tags form articles to header.php as meta information. I get the tags from a database query. How can i do this method? Thanks: Robert
  4. Preface: I again apologize in advance earlier to the people who thought I was writing a Scam PHP page. I should have informed it was a teacher written assignment. Hi guys so Im writing these two php webpages : one is a signup page which is a mock 'dating site' : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>NerdLuv</title> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <link href="heart.gif" type="image/gif" rel="shortcut icon" /> <link href="nerdluv.css" type="text/css" rel="stylesheet" /> </head> <body> <div id="main"> <div id="bannerarea"> <img src="nerdluv.png" alt="banner logo" /> <br /> where meek geeks meet </div> <div id="matches"> <h1>Matches for User Name</h1> <div class="match"> <p class="name"> <img src="images/ada_lovelace.jpg" alt="Ada Lovelace" /> Ada Lovelace </p> <p class="info"> <strong>gender:</strong> F <br /> <strong>age:</strong> 96 <br /> <strong>type:</strong> ISTJ <br /> <strong>OS:</strong> Linux <br /> <strong>rating:</strong> 4 </p> </div> <!--End of first match case ada lovelace --> <div class="match"> <p class="name"> <img src="images/grace_hopper.jpg" alt="Grace Hopper" /> Grace Hopper </p> <p class="info"> <strong>gender:</strong> F <br /> <strong>age:</strong> 87 <br /> <strong>type:</strong> ISFP <br /> <strong>OS:</strong> Windows <br /> <strong>rating:</strong> 4 </p> </div> <!-- end of second match case --> </div> <!-- Div id matches--> <!--This reads the singles text file and prints them to the results page --> <!--<?php include("singles.txt"); ?> --> <p> </p> <div id="w3c"> <a href="http://validator.w3.org/check/referer"> <img src="http://www.w3.org/Icons/valid-xhtml11" alt="Valid XHTML 1.1" /></a> <a href="http://jigsaw.w3.org/css-validator/check/referer"> <img src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS" /></a> </div> </body> </html> the other is a results page which will display the appropriate match according to user input : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR...D/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>NerdLuv</title> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <link href="heart.gif" type="image/gif" rel="shortcut icon" /> <link href="nerdluv.css" type="text/css" rel="stylesheet" /> </head> <body> <div id="main"> <div id="bannerarea"> <img src="nerdluv.png" alt="banner logo" /> <br /> where meek geeks meet </div> <div id="matches"> <h1>Matches for User Name</h1> <div class="match"> <p class="name"> <img src="images/ada_lovelace.jpg" alt="Ada Lovelace" /> Ada Lovelace </p> <p class="info"> <strong>gender:</strong> F <br /> <strong>age:</strong> 96 <br /> <strong>type:</strong> ISTJ <br /> <strong>OS:</strong> Linux <br /> <strong>rating:</strong> 4 </p> </div> <!--End of first match case ada lovelace --> <div class="match"> <p class="name"> <img src="images/grace_hopper.jpg" alt="Grace Hopper" /> Grace Hopper </p> <p class="info"> <strong>gender:</strong> F <br /> <strong>age:</strong> 87 <br /> <strong>type:</strong> ISFP <br /> <strong>OS:</strong> Windows <br /> <strong>rating:</strong> 4 </p> </div> <!-- end of second match case --> </div> <!-- Div id matches--> <!--This reads the singles text file and prints them to the results page --> <!--<?php include("singles.txt"); ?> --> <p> </p> <div id="w3c"> <a href="http://validator.w3....check/referer"> <img src="http://www.w3.org/Ic.../valid-xhtml11" alt="Valid XHTML 1.1" /></a> <a href="http://jigsaw.w3.org...check/referer"> <img src="http://jigsaw.w3.org...or/images/vcss" alt="Valid CSS" /></a> </div> </body> </html> I was thinking ultimately to implement POST methods with a function to retrieve the data and POST but at this point Im totally lost...... If I just implement a form action post it will obviously need something on the other php page to recieve it . But thats not how its setup, ill need a way to send the user data have it check the data in a textfile(which is what results.php displays from, and also write the user data in the same file ) then once results.php processes it shows the "suitable" matches according to user input ..Im coming short in development time so any help would be great.. Thanks
  5. Hey there! I've been working on a Calculator with button in PHP and im having some trouble connecting the buttons to my php code. For an example: If i press the first button ("1") Then it's suppose to show up the number "1" on the screen. Mabye it's abit hard to explain but i hope you understand what i mean here. So i would be delight if someone could throw an eye on my code and tell me and explain what i have too do too fix this! Here is my code: http://pastebin.com/FF3NBACa (sorry if im posting this at the wrong place, im new to this forum ! ) Mvh Griser
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.