How can I make this function that once you click the link in the code it takes you to a new page without html but so the menu_name and content load in it.
Code: function public_navigation($sel_subject = null, $sel_page = null) {  
      $subject_set = get_all_subjects();
      // 5. Use returned data
      while ($subject = mysql_fetch_array($subject_set)) { 
         
      echo "<div class="menu-name">";  echo "<a href="buying.php?page=" . urlencode($subject["id"]) .
         "">{$subject["menu_name"]}</a>";  echo"</div>";
      echo "<div class="buying-text">";  echo "{$subject["content"]}";  echo"</div>";
      
      echo "<div class="image">"; echo"</div>";
      
      
            
      
      }
   }
Thanks
Add 5 to a variable when a button is clicked, and re-run a for loop
So I'm making a feedback sort of section on a website with MySQL and PHP, I've gotten the script to do everything I want except for this. I want the script to only show 5 at a time (which i have
Somebody hacked into my site and changed coding >>> URGENT HELP NEEDED <<<
I am not that much into programming , but somebody is hacking to my site and injecting some kind of iframes ... it happened to another site , but that wasn't that important for me, but now it has
Why does my crawler script suddenly end with no error?
Hi.I have written a web crawler script. It will visit a large number of URL's with cURL.After around 2-3 minutes of running, it will just stop, with no error output or notices.I have these
PHP Upload issue
Hi guys,I have stumble across an interesting issue with my script and is doing my head in.A little background on the application.I've got a document repository site which uses Jupload to upload
PHP and Javascript
Hi Guys,Im trying to load the contents of an html file into a text area for editing, this is the code I have so far but it doesnt seem to be working. I think it's because some of the $line have
EXplanation help
Hey all,I am still fairly new to PHP programming and I am trying to put together a page where you select search terms from a drop down menu and it keeps the menu at your search choice in the menu
drop-down with sub-category appear
Hello,i know how to build a simple dro-down list, im looking for a code when im gonna choose from the select box something a new drop-down will appear next to the default one with
Extracting Long text from message class with parameters
Hi,
How do I use a global footer..?
If my index.php has a bole bunch of if functions and exit's in them
Session login issue
I'm wondering how to fix a problem I'm having with a session-based login systemSay I go to http://www.website.comThe page that processes the login then returns the now-logged-in user to