Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
80% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Endorsement
Ranked #858
Ranked #1K

31 Posted Topics

Member Avatar for Usernamex235

Hi all, and thanks in advance for any replies. Google Places - great for helping nearby searchers find your business. But would signing up have a negative impact on searches outside of your business' region? For example (fictional): a user in London searches for "IT support" and finds my IT …

Member Avatar for LastMitch
0
296
Member Avatar for T4gal

Hey, Posted in a similar thread a while back: Technically there is little difference between the 2 - both are block-level elements so you could basically manipulate them in the same way, with CSS, nesting or otherwise. The difference between the two is semantics. The meaning of the element. A …

Member Avatar for localinternet
0
230
Member Avatar for Siberian

As @Andrew Collings posted, [URL="http://www.w3schools.com/"]w3shools[/URL] contains a wealth of information, presented in a really easy-to-understand way. I'd recommend checking out the HTML and separate CSS tutorials on [URL="http://www.tizag.com/"]Tizag[/URL]. Once you've got to grips with those they offer tutorials where you learn to build a simple HTML/CSS site from the ground …

Member Avatar for menchester03
0
208
Member Avatar for SandieL

That sure is a lot of JavaScript to do something that would be simple with pure CSS: [url]http://www.alistapart.com/articles/horizdropdowns/[/url] For your existing code, I'd suggest it's something to do with the float value on your table (which is unnecessary on your demo page, but may be needed for what you're working …

Member Avatar for SandieL
0
144
Member Avatar for pakunoda
Member Avatar for Usernamex235
0
92
Member Avatar for iLoveNoodle

Protip: Use a basic css reset, for example: * {padding:0; border:0; margin:0} Then most basic styling rules will be cross-browser friendly. For the more advanced stuff like floating and dynamic sizing, always clear after using the float property to avoid height issues in firefox and text wrapping issues in old …

Member Avatar for drjohn
0
134
Member Avatar for Capt Spaghetti

Hey, You have called a custom function show_table(); before declaring what it is. Remember this is a php script - it will be parsed line-by line. [code=php]s how_table(); ?> <?php function show_table() { ?> <table border="1" cellspac... [/code] I agree with a previous comment that suggested echoing your table, if …

Member Avatar for Capt Spaghetti
0
158
Member Avatar for dthatsme33

If this code is rused on your mobile subdomain as well, it's possible you have entered a redirect loop. Make sure your index.php file at mobile.sitename.com does not include any redirects.

Member Avatar for Usernamex235
0
215
Member Avatar for ryathegr8

If you are trying to get an apache server with PHP/MySQL up and running on a windows box, try XAMPP: [url]http://www.apachefriends.org/en/xampp-windows.html#641[/url] - basic package, exe.

Member Avatar for Usernamex235
0
129
Member Avatar for Clarkeez

Hi, you need to encode these special characters, not "escape them". In PHP, characters are "escaped" using a backslash... for example if you want a quote in a string: [code=php]$string = "here is a double quote now \" followed by this text";[/code] These escaped characters must be "unescaped" when parsed …

Member Avatar for Clarkeez
0
161
Member Avatar for ben.matthews18

It is a "url parameter", basically when the page example.php?ref=home is requested, the server will call the file example.php and serve it's output. When the script example.php is being run, it can ask the server whether or not the "ref" url parameter is set, and if so what its value …

Member Avatar for richardmorris
0
131
Member Avatar for migicikinyanjui

Problem is here: [code=php]$destination="$_GET["town"]";[/code] - Anything starting with $_CAPS[] is a PHP array. Using quotes like this: "data here" declares a string. So if you were to echo "$_GET["town"]"; you will output the text "$_GET[", before PHP becoming confused by the remaining part - town"]". You are trying to output …

Member Avatar for Usernamex235
0
143
Member Avatar for ronaldpaul

This does sound like a database problem, the classic mysql_connect function is often used in conjunction with "or die(mysql_error())", which would explain why you don't see anything in your browser. To check everything else is working properly... Rename your index.php file and upload a simple html file called "index.htm" containing …

Member Avatar for Nyight
0
362
Member Avatar for Usernamex235

Hi All, thanks in advance for any replies. Environment: PHP5, MySQL, Windows XP/Server 2000/Server 2003. Problem: Using shell_exec to run a small program connected to a database, waiting for it to finish and then outputting a file which was produced. All was fine until I got a new and larger …

0
156
Member Avatar for Usernamex235

Hi all, and thanks in advance for any replies :) So I have a 300GB hard disk with Windows 7 on it, I also have a NAS drive for storing my music etc, so my C:\ drive only has to have the OS, my apps and games. Now a couple …

Member Avatar for Usernamex235
0
274
Member Avatar for mpc123

[CODE=php]echo is_null($row['model']) ? "N/A" : $row['model'];[/CODE] This is an inline if/else statement. If the "is_null" condition is satisfied, the output will be "N/A", else the value of your array item. If the output is a number you could also use $row['model'] > 0 instead of is_null($row['model']). Let us know if …

Member Avatar for Usernamex235
0
1K
Member Avatar for Arizona Web

Technically there is little difference between the 2 - both are block-level elements so you could basically manipulate them in the same way, with CSS, nesting or otherwise. Table vs div on image stealing? Again they're both the same. If a user can see it he can make a copy …

Member Avatar for justcrowd2010
0
489
Member Avatar for tulipputih

This just screams AJAX, or at least at lot of HTML and some serious Javascript... I don't think anyone will just give you anything more than links to tutorials here, but I hope I'm proven wrong! Good luck with your project :)

Member Avatar for tulipputih
0
268
Member Avatar for El_Tazar

Good to see such enthusiasm! Good luck when you leave school :)

Member Avatar for El_Tazar
0
49
Member Avatar for reanopp

Hey, I had to do basically the exact same thing. You can use the TCPDF PHP library - it's really simple and can use basic HTML and in-line CSS to create and style tables for input :) [url]http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf[/url]

Member Avatar for abeltenny0210
0
936
Member Avatar for klsatellite4

A "headers already sent" warning arises when a script tries to modify header data after sending content (for example using echo). When this content is sent, the server will send a standard set of headers followed by that content, so it cannot modify those headers any more (because it's now …

Member Avatar for Usernamex235
0
99
Member Avatar for masoudnia
Re: php

Hey, I use xampp myself when I'm developing on windows but from what I can gather they basically do the same thing. I'm going to assume here that the apache service is running on your machine, wampp should give you some feedback on that one. Go to C:\wamp\apache\htdocs (var/www in …

Member Avatar for diafol
0
170
Member Avatar for ben.matthews18

OK let's say you have a user email address and you want to find the relative ProfileID $email = [email]abc@abc.abc[/email]; // Email address of user $profileIDQuery = mysql_query("SELECT * FROM Linkingtbl WHERE Email = '" . $email . "'"); fetches row of data where the in "email" data field corresponds …

Member Avatar for madison12
0
449
Member Avatar for ben.matthews18

Hello again :) So you want to show the user's ID from this database, no problem, one question before I start going off on one though: What user-identifying data do you have available to you on this page that we could use to find other data associated with that user? …

Member Avatar for diafol
0
103
Member Avatar for johndoe444
Member Avatar for EddieC

"perhaps the least-regulated industry in the U.S. today." The internet is not an industry... It's a public forum, arguably playing host to industries - Online shopping/music/banking. They are the industries. This is why people see "Net Neutrality" in the completely wrong way.

Member Avatar for Usernamex235
0
244
Member Avatar for Encrypted

Hey, Set up a password protected directory with your web host/on your server. There's no point explaining it all here, googe "apache(or IIS) password protected directory". Or click here: [url]http://www.google.co.uk/search?q=apache+password+protect+directory&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a[/url] You'll notice the first link to the official apache documentation page here: - [url]http://httpd.apache.org/docs/2.0/howto/auth.html[/url] Or there is a more friendly …

Member Avatar for Usernamex235
0
166
Member Avatar for f.damati

Just noticed a typo - if this code was copy/pasted it's probably your problem: musql_connect('192.16.1.2:3306', 'root', '123'); ^^ should be mysql_connect... Just thought I'd mention it ;)

Member Avatar for f.damati
0
162
Member Avatar for RisTar

If you don't have any luck, try "fpdf" - you can give it html input i.e. tables etc, even basic CSS is supported! [url]http://www.fpdf.org/[/url]

Member Avatar for Usernamex235
0
94
Member Avatar for niths

Hi, If you are just pressing the "back" button after logging out you will see the page visited previously - as cached by the browser. Try going back to that page and then hitting "reload" or "refresh". Post back if you're still having problems and we'll look at sessions/cookies :)

Member Avatar for SKANK!!!!!
0
103
Member Avatar for rutaba

It is a different style of programming - using classes, objects and methods in instead of includes/functions/variables. This is a good place to start: [url]http://www.killerphp.com/tutorials/object-oriented-php/[/url]

Member Avatar for Usernamex235
0
163

The End.