qim
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: spacing out links in footerThank you
Forum: Fixing WordPress
In reply to: spacing out links in footerNo, I started from scratch tryinf to copy Adventure-jounal without all the things that I did not want. I assume you are saying that if it is not theough the dashboard, you will not help.
I understand. Thank you anyway.
Forum: Fixing WordPress
In reply to: spacing out links in footerstarted as Adventure-journal. In a way it is, with lots of modifications
Forum: Fixing WordPress
In reply to: spacing out links in footerStarted as one and I deleted all the unwanted links, etc
Forum: Fixing WordPress
In reply to: spacing out links in footerForum: Fixing WordPress
In reply to: html from cssThanks again
i got the little image in the page. great!!! Now, for the next problem: there are over 200 of them. Do I have to bring thm in one at a time or can I devise a coimmand to bring them all together?
Forum: Fixing WordPress
In reply to: html from cssSo:
<div class=”flag”>
<img src=”flags/ad.png>
</div>something like this?
Forum: Fixing WordPress
In reply to: html from cssI’m sorry to go on but I’m a bit lost here. I have put the css stuff in the css file and there images which are in the server. How do I access those images? I must refer to the file where the images are and so far there is nothing and I don’t know how to do it.
can you help?
Forum: Fixing WordPress
In reply to: html from csscould you tell me what i have to put in the html for the flag to appear, please?
Forum: Fixing WordPress
In reply to: Login procedurewell, i’ve now changed $result to $active in the line
$count=mysql_num_rows($result);
which is the field that changes from 0 to 1 when the visitor confirms the email address, and now I get as far as wrong name and password.I will paste the code again as it seems to have been truncated above
$sql="SELECT * FROM $tbl_name WHERE user='$user' and password='$password'"; $result=mysql_query($sql); echo "So far"; // Mysql_num_row is counting table row $count=mysql_num_rows($active); echo "so good"; // If result matched $user and $password, table row must be 1 row if($count==1) { // Register $username, $password and redirect to file "login_success.php" session_register("user"); session_register("password"); header("/Pinto/login_success.php"); } else { echo "Wrong Username or Password"; } ?> </body> </html>
Forum: Fixing WordPress
In reply to: Login procedureI’ve managed to get to work, partly but I am stuck on a part of the code I picked up: I’ve introduced echoes “so far” and “so good” and they print out but then I get a white page. I’m womdering if the code $count=mysql_num_rows($result); must also reflect something in my table as I have not changed that.
// Mysql_num_row is counting table row $count=mysql_num_rows($result); echo "so good"; // If result matched $user and $password, table row must be 1 row if($count==1) { // Register $username, $password and redirect to file "login_success.php" session_register("user"); session_register("password"); header("/Pinto/login_success.php"); }
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Forum: Fixing WordPress
In reply to: Login procedureYes the table in the database is fine. My registry setup workd fine.
Right now I want to connect what needs to be connected as far as the different files are converned. I came to the conclusion that it is the other way round: i have to tell the html file where the vivitor’s input is created to Post the data to the other file, which apparently and surprisimngly does not need to know where the data is comimng from…It is like this, yes?
Forum: Fixing WordPress
In reply to: href and phpDon’t worry, I’ve sorted it out
Forum: Plugins
In reply to: simple codeSOLVED
Forum: Plugins
In reply to: php simple codeThank you. I solved it!