- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
11 Posted Topics
Hi there, You would do what you have done, and create a class, and simply state the attibutes you would like to attribute to the text/font. Because a form submit button is a type of input field you cannot add tags like <span>, or <p> to it, because its text …
you would do that by adding style attributes.. ie: [code]<td style="width: 200px;"></td>[/code]
Yes, as i have seen, in certain lightbox scripts, you can specify external content via iframes. Have a look at these examples: [url]http://www.pogung177.com/2008/05/top-10-ajax-greybox-and-ajax-lightbox/[/url]
I believe it has something to do with your short tags. It is best to use <?php ?> instead of <? ?> changing the last <? to <?php fixes this: [code]<?php } mysql_close(); ?>[/code]
Hi there, You need to addslashes() to $_POST['description']. SQL will not accept special chars without them first being escaped. [B]Code updated:[/B] [code]<?php require 'config.php'; require 'functions.php'; require 'common.php'; if(isset($_FILES['fupload'])) { $filename = addslashes($_FILES['fupload']['name']); $source = $_FILES['fupload']['tmp_name']; $target = $path_to_image_directory . $filename; $description = addslashes($_POST['description']); $category = addslashes($_POST['category']); $source = $path_to_image_directory …
I dont understand wat has happened... the code was working fine yesterday when testing, and now i try to use it today, and it doesnt work. setcookie() isnt setting the cookie... Maybe i have missed something, so hopefully someone here can see where ive gone wrong. Just to confirm though, …
Hi Daniweb JS guru's, Ive seen this everywhere, but have been unable to find a tutorial, or anything on how to implement it into my php pages. The best example for me to explain with, are live at facebook and youtube. Facebooks newest user status feature the "like this" link …
[B]#Tip:[/B] Bumping in these kinds of forums is not advisable. Anyone who is likely to answer you will look for topics with 0 replies and answer them first... Just by chance I stumbled on this. First place to look is in your browser address bar. Can you see the id …
Assuming you are using a mysql database, this should do the trick: [ICODE] if(isset['submit']) { mysql_query("UPDATE people SET name='".$_POST['value from field']."' WHERE id=1"); }[/ICODE] Happy coding:)
Hi, Im needing alil help with this, googled everywhere, but to no avail. I need to search several(the amount could be endless) words in a string, and replace each word with a link using the searched-for value as the text, and id in the link. To achieve this, I am …
Hi all, Im learning PHP & SQL very quickly, but still have issues with counting this, and incrementing that.... so if someone could help, you'd be(proverbially) teaching a man(woman in my case..lol) to fish.... Im constructing a form which in part, allows user to input instructions. I would like the …
The End.