-
Posts
57 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by msd
-
-
Play with css properties of "form" tag.In your css code define:
form{/*here set margin, padding*/}
-
Weird. Double check table fields in database and your query.yeah it is showing the username and all the information correctly. It is inputing the date and any changes into the table correctly, just not the name of the user that has done the edit.
You didn't understand my question, but it doesn't matter.The $_GET["refer"] is used in the hyperlink that takes it to the page, so it isnt in the table. -
So, is the username extracted ok from the database?But it just won't update the other table?And are you sure that $_GET["refer"] exists in the "site_news" table?
-
Post all the php code that has influence on this problem.
-
But where do you get "$member_id" from? I don't see you getting it by GET or POST.
-
You make a query like:
$sql = "SELECT username FROM users WHERE username='".$posted_username."'";
Then you check:
if (mysql_affected_rows() > 0) { //the username is already in the database }
-
<?php $sql = "SELECT name FROM ibf_members WHERE id='".$member_id."'"; $query = mysql_query($sql); $row = mysql_fetch_assoc($query); echo "Edited by: ".$row["name"]; $update = $row["name"];?>
First, because you need a name only from one row, you don't need a while.Try the code above.
-
Thank you!
-
<input name=vb_login_username type=text id=navbar_username onfocus="if (this.value == '$vbphrase[username]') this.value = '';" size=10 />
At onfocus you forgout to wrap your code in " ".I recommend you to always use " " for properties (name, type, title...).
-
It's very interesting what you're saying! Could you please give a website with details?Make sure you put a "from" address on the email with the same domain as the server sending it. Some mail servers will do a reverse DNS lookup on incoming emails to make sure the domain on the "from" address matches the mail server that sent it. Use an email program that lets you see all of the headers on the email, and look at the headers that come with emails that make it to your inbox, and compare those headers with the emails that go into the spam folder. -
Check this http://iamntz.com/portfolio/exigo/1/styles/screen.css with the W3 CSS Validator: http://jigsaw.w3.org/css-validator/Is that supposed to be valid CSS? -
You can build it yourself:- generate random text and put it in a session- put the text in an image (http://www.php.net/manual/en/function.imagecreate.php)- after submit, check if users' code matches to the one in the sessionStart on these 3 major steps and ask for details when needed.After this, you'll make more advanced captcha codes, with colors and various backgrounds to make it harder for the bots to read it.
-
Try:
*{margin:0 auto;}
-
The e-mail server you're sending the mail to decides which mail goes to Inbox and which to Spam.If the e-mail address (or your server's ip address) is on the server's "black list" or it's suspicious, it's delivered to Spam.Try to send correct mails, pay attention to the mails' headers when you're creating them.
-
Google Search: http://www.google.com/coop/cse/For Highest Page Rank In Google you need:- strong content in your website- url rewrite (friendly url)- strong description, keywords, titles- use <h1>, <h2>...- clear HTML code (you should have a tableless layout based on CSS)- build a Google SiteMap and submit it to GoogleThis is the start, for more information search on Google for "Search Engine Optimization" (SEO).
-
I'm not sure I understand what you need.You want to see where the visitors came from?Example:My site is "msd.com" and your site is "AnkitShah.com".People visiting my site click on http://www.AnkitShah.com?reffer=msd.com and you see that they came from my site?
-
:)I repeat, search for "min-height hack"!Just min-height is not enough for Internet Explorer!
-
In your file "normal.css" I don't see margin:0; padding:0; for h1 and h2.Check it again!
-
Sorry, I forgot something.Put margin:0; padding:0; for h1 and h2.
-
body{margin:0; padding:0;background-color:#333333;color:#999999}
Min-height doesn't work for Internet Explorer, search for "min-height hack"!
-
I think you need to install that language from Regional Settings (Control Panel) so you can see it on your pages.
-
Maybe you should use min-height.
-
See here: http://www.tizag.com/javascriptT/javascriptdate.phpAnd I recommend you to use Mozilla Firefox Error Console!
-
You could try Dreamweaver. It's very easy to make your tables.
variables in variables
in PHP
Posted
You have to put that code in your file exactly as it is: