No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Perl, PHP, HTML and Javascript programmer since 1997.
4 Posted Topics
Re: It looks like you haven't set the albumid variable. If this is coming in as a query string use $_GET['albumid']. Old versions of PHP used to set variables like this (a feature called register_globals which was really more of a major security flaw) but it was never considered good practice … ![]() | |
Re: Both of these pages look identical to me in chrome. However the code you have posted isn't present in the source code of either, would that be because Im not logged in? | |
Re: Put the form opening tag and closing tags outside of the table to start with. Forget about your $ID variable, use the student id instead and ensure this is the primary key of the table or at the very least contains unique values only in your database (but by the … | |
Im trying to use a regular expression backreference to reference a hash key. Here's an example of the non working code so you can see what I'm trying to achieve (I hope!): [CODE] $str="String of text containing item1 and item2"; $x['item1']="Item 1"; $x['item2']="Item 2"; $str=preg_replace("/item1/","$x[\${1}1]",$str); print $str; [/CODE] I want … |
The End.