No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi, I am trying to get a php variable into a header, I have managed it in another file but it not having it this time and I do not know why. Here is my php code [code=php] <?php header("Location: photo.php?albumid=".urlencode($albumid)); include_once 'title.php'; $result = mysql_query("SELECT id FROM user WHERE … |
|
Re:
Hi, I have a html file Top.htm: [CODE]<form action="" method="post"> <fieldset> <input id="searchbox" type="text" name="zoekfunctie" value="Zoek..." /> <input type="submit" name="zoekbutton" value="Zoek" /> </fieldset> </form>[/CODE] I then include this page in my index page (and in many more pages to come): [CODE]<div id="top"> <?php include("Top.htm"); ?> </div>[/CODE] Now the problem is … |
|
Re:
hi all i want to add all students grades in one form and then save each grade to the correct student i make 2 differents php page first one display all student id that is already registered in my website in this page instructor can add grade for each student … |
|
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 … |