342 Posted Topics
This exactly why they invented Content manager system frameworks like Drupal and Joomla! Perhaps in your situation, the other person can write the the text and you can paste it into a wysiwyg editor. Database entry might be a bit "dangerous" using PHPmyadmin in an office enviroment. Having specialized entry …
I think you have to define the unvisited a:link ,the visited a:visited property bfore the a:hover. Also, some browsers don't work well (IE !!!) with negative position numbers.
I agree with teedoff...and I do know PHP. You have nested functions producing HTML. The question is...why? I know there are times when this is useful,but this code seems to be too complex to do a mundane task! All of the nesting makes it hard to follow and troubleshoot. In …
Just when you think that MS has fixed their browser, there are more annoying things to deal with. Rather than find them by crash and burn, is there a list somewhere? Is IE ever going to be compliant?
You need more than html and css to do that! Will also need a php script. Nobody is going to cook that up for you. Make an attempt and post the questions/code to the appropriate forum.
use percentages instead of absolutes like px whenever possible. width is usually more of a problem than height, anyway. Is there some reason that you need to set a min height for content?
That's the problem with this stuff. There may be some great feature that I might want to use, but the reality is that even if it is implemented, many people will be looking at it with older browsers and will never see it. Worse yet, if you make a new …
try using the w3 valiadator on the problem page. if there is a mistake, it will find it!
I put your page through the W3 valadator and it says you have a problem with the doctype line. This is probably sending the browsers into quirks mode.
What strikes me about this thread is the fact that so many people responded to this somewhat shallow question and the original poster never responded to any of it!!! It's an interesting phenomena. Maybe he/she discovered what Google is for? LOL
Hello, I have a banner that I want the images to be side by side and the text on the end to the right . The following code works,but it breaks when the browser size is small. The pictures slide over on top of the text. Also why does the …
[QUOTE=Narue;1292365][B]I need some good Ideas about final year projects....[/B] We get at least ten threads a month from idiot students who somehow managed to get the final project without a clue. Perhaps you should read some of those threads instead of adding your own. Or, for a more enlightening experience, …
take a look at the <math> library pow can be used to square the numbers. Define Pi as a global , then just use the variable. The area function returnd a float, so it's NOT void,but : [code] float area(float radius) [/code]
I think I read and/or played a google video about cname redirects and their effect on rank. The takeaway that I got was that using a cname that redirects to the main site was OK as long as the site content was consistent with the cname. Has anyone tried this …
I am working with a local business to improve the sites organic search rank. There were some problems with title and meta tags,etc. but that didn't make as much difference over a week that I thought it might. I looked at what other similar local type companies had that were …
This has to be one of the strangest organizations on the web. I submit URLS, but I never hear any back from them,good or bad. Not even a courtesy auto-responder acknowledging that they received the entry! A while back, I got sick of it, so I decided if I couldn't …
...but how do REALLY feel about the guy? ;-) The diamond could be as simple as a sqaure on its side. what does he mean by lemgth? inches? cm? pixels? the most basic diamond is: * * * * (this is double spced, so it should be tighter than this) …
I have been doing some thinking and research on what helps vs hurts my site rank. All the buzz now is, of coarse, the social networking idea. From what have gathered, this alone is not enough. Google likes external links, but RELEVANT links, not link farms or just sticking an …
[QUOTE=vaultdweller123;1262586]i bet theres an error upon including a file, try using include instead of require coz when require encounters error, the script execution will stop and generate a fatal error, try reading this link for a much detail info [url]http://www.w3schools.com/php/php_includes.asp[/url][/QUOTE] Also, I hate to state the obvious, but are the …
So, you want to have ten individual buyers for a product before you process any of the orders? The most dangerous thing about this idea is holding credit card numbers in YOUR database. This NOT a good practice! In fact, if your site gets cracked, and those card #'s are …
you need to intialize the session: [CODE] require_once('system/config.php'); session_start(); $_SESSION['name']='test';//you still need to put something into the array! echo 'session -name- is:'.$_SESSION['name']; exit; [/CODE]
Isn't that what $_session is for?
You don't have a backup??????????????????????????????????
[QUOTE=nabilamn;1216074]my testing folder in my site is red. perhaps anyone can help me to identify what is the problem because i got the database connection using phptriad and everything goes well because i can view my database by dreamweaver8. whats wrong with my site folder when i click to view …
I'm a bit confused about the $_REQUEST variable now after reading this. Any user input should always be treated as tainted, but as far as I can see, $_REQUEST is just a catch-all "automatic global". As long as the data is cleaned, where is the harm? I went here: [url]http://php.net/manual/en/reserved.variables.request.php[/url] …
Maybe the host is being bounced as spam?
PHP also has cURL methods that may work for you.
[QUOTE=maunica;1234440]hey, please can anyone help me to add new row or a column to the table whenever a user clicks on the add button? thanx in advance[/QUOTE] This kind of thing is better done with Javascript, if that is a option. Otherwise the user will have to do a submit …
set your php.ini to display_errors = on this should help define the problem. also, my favorite thing is to insert a "detector" to show the variable state. [CODE]var_dump($sel_subject['id']);[/CODE] This will show the varible on the page near the position wher it was inserted.
try W3. Nott only it it an on-line tutorial (and it's free!), but it supplies a sandbox for experimentation. [url]http://www.w3schools.com/php/default.asp[/url]
[QUOTE]am wondering if anyone tried to mix PHP and Javascript innerHTML elements to change certain elements to decrease the number of submits without losing data when passing through forms. For some reason, I kept getting errors in my code and I could only get PHP to submit the form one …
Your code is difficult to read. I don't know if that is way it is, or it got mangled in the post. I suspect that you have a misplaced curly bracket. I was trying to figure out if the class was properly terminated, but gave up due to the clutter. …
[CODE]<?php if ($id) { include "open_db.inc"; $sql = "SELECT DownloadFile, OriginalFileName FROM songs WHERE id=$id";[/CODE] $id should be from $_GET['id'] run display errors on your localhost, so that stuff like this will be displayed as an error rather than a blank.
Yes,also keep in mind that strtotime() converts the date to a unix timestamp which is alien to the mysql date format. It is also useless for any date prior to 1970 (the unix epoc). When and if you decide to display the date , the raw output will be in …
setcookie() ? session_start() Are a couple of ways to do it.
You should have an approx 11 digit user ID # for each registered user. Use that ID as a foreign key any table entry the user owns. Do your join on those foreign keys.
I was curious myself, so i wnt to the PHP site. not much info there about this! However at the end there was a comment that might help: [QUOTE]If $_FILES is empty, even when uploading, try adding enctype="multipart/form-data" to the form tag and make sure you have file uploads turned …
@ardav: The "purple" must taken over your mind. You are now playing Anal Invaders? LOL I'll pass!
As far as I know, Apache is a Kernel module in Linux. To do anything with it it you will need root privileges. Why not ask the owner to install it? Your dilemma sounds quite unusual...
if you KNOW what to expect in cells 0,1,2 etc you can do a for next loop which creates an associative array with the names corresponding to the numeric array.
The braces casue to PHP to parse the array and return the value found in that cell. Try removing them. You will get an error.
I usually start by typing some code.
I'm a bit confused about the definition of $productid on line 73 and then its use in a query on line 83.
[QUOTE=urtrivedi;1209983][code] select * from something where name1 in ('roger','dubs','chill','lee') and name2 in ('roger','dubs','chill','lee') and name3 in ('roger','dubs','chill','lee') and name4 in ('roger','dubs','chill','lee') [/code][/QUOTE] I have never seen or used syntax like the above. Where did you come up with that? Searching MySql came up dry... So, if I understand this correctly, …
[QUOTE=ianlowe;1214126]I have just become involved with PHP. I am running Vista with IIS7 and PHP 5.2.13. The installation was done via the Windows Web Installer and after a few issues I believe it now working. My initial question is one of basic environmental understanding by this I mean all the …
[QUOTE=leegeorg07;1215128]Hi all, I'm trying to get the content of a div with php. I can't find a way to use javascript in php to do it so I was thinking that regex would be the way? If it helps the div id is "editor". Thanks in advance, if you need …
Wow! Too much code posted. Anyway, did you happen to notice the sticky at the very top of the forum? Does it look familiar?
I'll take guess that there are unmatched php tags somewhere, Why not group all of the php code together instead of it being all over the place? Then you would only need one set of tags. I would be easier to figure out too! The only other php tags might …
The End.
JRM