342 Posted Topics

Member Avatar for teedoff

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 …

Member Avatar for JRM
0
89
Member Avatar for smokin745

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.

Member Avatar for almostbob
0
158
Member Avatar for kasbas91

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 …

Member Avatar for JRM
0
141
Member Avatar for JRM

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?

Member Avatar for Lusiphur
0
73
Member Avatar for Chatterbox721

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.

Member Avatar for teedoff
0
80
Member Avatar for Smudly

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?

Member Avatar for almostbob
0
100
Member Avatar for comhacker99

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 …

Member Avatar for JRM
0
77
Member Avatar for humaza

try using the w3 valiadator on the problem page. if there is a mistake, it will find it!

Member Avatar for almostbob
0
225
Member Avatar for EricFlamm

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.

Member Avatar for JRM
0
248
Member Avatar for coolvision

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

Member Avatar for ogollah
-3
245
Member Avatar for JRM

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 …

Member Avatar for JRM
0
130
Member Avatar for CoderXpert

[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, …

Member Avatar for Nick Evan
-2
246
Member Avatar for coolbreeze

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]

Member Avatar for gurusaranya
0
1K
Member Avatar for JRM

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 …

Member Avatar for manzarr
0
114
Member Avatar for JRM

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 …

Member Avatar for TudorBran
0
122
Member Avatar for JRM

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 …

Member Avatar for Lecee Lery
0
121
Member Avatar for ASardinia1

...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) …

Member Avatar for regnerz
0
426
Member Avatar for JRM

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 …

Member Avatar for vishal9717
0
129
Member Avatar for inxs310

[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 …

Member Avatar for JRM
0
220
Member Avatar for muralibobby2015

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 …

Member Avatar for muralibobby2015
0
96
Member Avatar for vibhaJ

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]

Member Avatar for vibhaJ
0
154
Member Avatar for tulipputih
Member Avatar for fawad123
Member Avatar for Wobbie Wobbit
Member Avatar for Wobbie Wobbit
0
149
Member Avatar for nabilamn

[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 …

Member Avatar for nabilamn
0
116
Member Avatar for demodav

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] …

Member Avatar for scaiferw
0
281
Member Avatar for slyme
Member Avatar for rukshilag
Member Avatar for Th3nutz
Member Avatar for maunica

[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 …

Member Avatar for vibhaJ
0
109
Member Avatar for samsons17

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.

Member Avatar for JRM
0
92
Member Avatar for arafat_alam

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]

Member Avatar for JRM
0
67
Member Avatar for ajwei810192

[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 …

Member Avatar for JRM
0
203
Member Avatar for LloydFarrell

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. …

Member Avatar for Member #334542
0
253
Member Avatar for jayesh4414

[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.

Member Avatar for jayesh4414
0
279
Member Avatar for nick3592

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 …

Member Avatar for JRM
0
137
Member Avatar for jazz_vill
Member Avatar for Designer_101
0
192
Member Avatar for ben.matthews18

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.

Member Avatar for Member #120589
0
106
Member Avatar for CreativeCoding

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 …

Member Avatar for CreativeCoding
0
158
Member Avatar for griffith

@ardav: The "purple" must taken over your mind. You are now playing Anal Invaders? LOL I'll pass!

Member Avatar for Ezzaral
0
291
Member Avatar for johndoe444

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...

Member Avatar for JRM
0
72
Member Avatar for dwlamb_001

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.

Member Avatar for Member #120589
0
252
Member Avatar for samsons17

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.

Member Avatar for JRM
0
99
Member Avatar for jhbalaji
Member Avatar for gymangel812

I'm a bit confused about the definition of $productid on line 73 and then its use in a query on line 83.

Member Avatar for sourcebits
0
125
Member Avatar for rogerkore

[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, …

Member Avatar for Member #120589
0
416
Member Avatar for ianlowe

[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 …

Member Avatar for Member #334542
0
80
Member Avatar for Member #361407

[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 …

Member Avatar for Member #361407
0
6K
Member Avatar for 4789787

Wow! Too much code posted. Anyway, did you happen to notice the sticky at the very top of the forum? Does it look familiar?

Member Avatar for 4789787
0
330
Member Avatar for php-coder

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 …

Member Avatar for JRM
0
241

The End.