Beecher Networks - Web Development, Hosting & Domains
Results 1 to 8 of 8

Thread: Anyone good with Php ??

  1. #1
    Capped Player A face's Avatar
    Joined
    Jun 2001
    Location
    Paradise
    Posts
    15,373
    Thanks Thanks Given 
    20
    Thanks Thanks Received 
    302
    Thanked in
    196 Posts

    Anyone good with Php ??

    Lads, anyone good with Php .... just have a few questions !!
    The SFAI are the governing body for grassroots football in Ireland, not the FAI. Its success or the lack of is all down to them.

  2. #2
    Director dahamsta's Avatar
    Joined
    May 2001
    Location
    The Internet
    Posts
    14,045
    Thanks Thanks Given 
    519
    Thanks Thanks Received 
    853
    Thanked in
    521 Posts
    Just ask the questions guy, no-one knows if they can answer 'em or not if you don't post 'em!

  3. #3
    Viva El Presidente! sligoman's Avatar
    Joined
    Sep 2004
    Location
    Town
    Posts
    19,975
    Thanks Thanks Given 
    595
    Thanks Thanks Received 
    383
    Thanked in
    224 Posts
    PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

    Is this what you're talking about? If so then,

    Try here:http://www.php.net/
    Life without Rovers, it makes no sense...it's a heartache...nothing but a fools game. S.R.F.C.


  4. #4
    Capped Player A face's Avatar
    Joined
    Jun 2001
    Location
    Paradise
    Posts
    15,373
    Thanks Thanks Given 
    20
    Thanks Thanks Received 
    302
    Thanked in
    196 Posts
    Quote Originally Posted by dahamsta
    Just ask the questions guy, no-one knows if they can answer 'em or not if you don't post 'em!
    When i echo the results of a query onto a results page .... how do i make the foreign key results into hyper links so i can then run another query depending on what it is ..... i.e. the foreign key will be WHERE whatever = {$row['Whatever']}

    I know the syntax is wrong there but i dont know how to do it !!

    Quote Originally Posted by sligoman
    i hear ya .... but what i need isn't specifically in there !!
    The SFAI are the governing body for grassroots football in Ireland, not the FAI. Its success or the lack of is all down to them.

  5. #5
    Capped Player
    Joined
    Apr 2005
    Location
    Maígh Eó
    Posts
    16,378
    Thanks Thanks Given 
    2,602
    Thanks Thanks Received 
    1,040
    Thanked in
    846 Posts
    mate just become a member of experts-exchange.com

    you will have an answer in 30 mins at most.

  6. #6
    Director dahamsta's Avatar
    Joined
    May 2001
    Location
    The Internet
    Posts
    14,045
    Thanks Thanks Given 
    519
    Thanks Thanks Received 
    853
    Thanked in
    521 Posts
    Post code face, your query isn't exactly, um, coherent. (No offense like.) What exactly do you mean by forgeign key for example? That's the second time I've seen you use it, and it's looked out of context on both occasions.

    Paul has a point though, this is an odd place to ask. Although I used to go to phpbuilder meself, and these days I'd probably head to DevShed. Experts Exchange is a thundering piece of crap I only use via Google. Even then I feel dirty.

    adam

  7. #7
    Capped Player A face's Avatar
    Joined
    Jun 2001
    Location
    Paradise
    Posts
    15,373
    Thanks Thanks Given 
    20
    Thanks Thanks Received 
    302
    Thanked in
    196 Posts
    Quote Originally Posted by dahamsta
    Post code face, your query isn't exactly, um, coherent. (No offense like.)
    None taken sir ... none taken !

    What exactly do you mean by forgeign key for example? That's the second time I've seen you use it, and it's looked out of context on both occasions.
    (SELECT data1, data2, data3, ForeignKey, data4 FROM table)

    so then i echo "Data One: {$row['data1']} <br> "Foreign Key: {$row['ForeignKey']} <br> .....

    and the result on the webpage is ....

    Data One: the value
    Foreign Key: The value

    i want

    Data One: the value
    Foreign Key: The value

    So when i click on the link .... it runs a query and displays the results for it, if you know what i mean.

    Paul has a point though, this is an odd place to ask. Although I used to go to phpbuilder meself, and these days I'd probably head to DevShed.
    Yeah .... i been all over ... i'll keep trying.


    Experts Exchange is a thundering piece of crap I only use via Google. Even then I feel dirty.
    I haven't ever got one answer there and ignore when i google and i hate pop-ups
    The SFAI are the governing body for grassroots football in Ireland, not the FAI. Its success or the lack of is all down to them.

  8. #8
    Director dahamsta's Avatar
    Joined
    May 2001
    Location
    The Internet
    Posts
    14,045
    Thanks Thanks Given 
    519
    Thanks Thanks Received 
    853
    Thanked in
    521 Posts
    Quote Originally Posted by A face
    (SELECT data1, data2, data3, ForeignKey, data4 FROM table)
    So you were referring to a column. Now how were we supposed to know that?

    i want

    Data One: the value
    Foreign Key: The value
    You'd do something like...

    [php]echo "Foreign Key: <a href=\"script.php?action=dosubquery&key={$row['ForeignKey']}\">{$row['ForeignKey']}</a><br>\n";[/php]However you're going to need more code that'll do that query, or even a dedicated script. They don't just magically do themselves!

    I'd seriously suggest you spend a little time researching "SQL injection attacks" and "validating user input" before you go any further face. I think you might be getting a little ahead of yourself. Again, no offense intended.

    adam
    Last edited by dahamsta; 27/04/2005 at 5:24 PM.

Similar Threads

  1. Are we any good?
    By irishbaz in forum Ireland
    Replies: 62
    Last Post: 19/06/2008, 3:58 PM
  2. Good to see...
    By pete in forum World League Football
    Replies: 1
    Last Post: 06/09/2004, 5:53 PM
  3. good win.
    By parnell ranger in forum Athlone Town
    Replies: 1
    Last Post: 03/04/2004, 10:30 AM
  4. Looking good
    By TheRealRovers in forum Bray Wanderers
    Replies: 23
    Last Post: 15/11/2003, 10:23 AM
  5. The good old FA of I
    By Jaime in forum Ireland
    Replies: 0
    Last Post: 03/12/2001, 5:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •