- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 14
- Posts with Upvotes
- 14
- Upvoting Members
- 10
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
43 Posted Topics
Re: Having done some fairly complex pdf generation online, I would recommend tcpdf as having the best feature set. It takes a bit of getting used to but some features (write html direct to the document) can save a lot of time. http://sourceforge.net/projects/tcpdf/files/ I found the best way to learn is … | |
Re: In my opinion, SEO is the new snake oil. Many people promise many things with little knowledge. My advice is to start by reading the following document written by Google (they should know) https://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/en/us/webmasters/docs/search-engine-optimization-starter-guide.pdf It's not hard, try not to 'game' the search system, it has a habit of evolving … | |
Re: In this case, 'paycheck' is indeed 'global' and can be acessed from inside a function. Try this: var paycheck = 1200; function check_alert () { window.alert("You make $"+paycheck); } check_alert(); Think about it... Now try this var paycheck = 1200; function check_alert () { window.alert("You make $"+paycheck); paycheck = paycheck … | |
Re: PHP 'mail' command usually uses the servers sendmail command. To use an external smtp server like yahoo you will need to use something like [PHPMailer](http://sourceforge.net/projects/phpmailer/). I have had a lot of trouble trying to set this up in the past with authentication. | |
Re: This is one of my sites, sounds similar. http://www.decawrap.com/fabrics.php | |
Re: What event triggers going back to the alphabetical list if no postcode is entered? If the results are showing alphabetically by default, if the entered postcode does not result in a location, then you needn't do anything? May not be helpful:(If you want to avoid duplicating code, create a function … | |
Re: This may help: http://stackoverflow.com/questions/18735848/how-to-make-progress-bar-with-jquery-and-php-while-waiting-server-process | |
Re: You have lots of images on your page. If you want help, describe the problem more exactly. Also, why include css if problem is to do with links. | |
Re: Hi, You need to narrow down the likely problem area as there's a lot of code posted and it would take someone else a lot of work to set up a test db, etc. Can you debug a little and then repost with some results? Verify whether sendPasswordEmail is being … | |
Re: There is inline style in your html which overides your stylesheet: `<span style="font-size: medium;">...black text...</span>` | |
Re: just use <iframe src="yourscriptfile.php"></iframe> (If you want to use PHP). then your script needs to write html. | |
Re: If your script doesn't have permission to create the file, you won't be able to set permissions. Most hosting services allow you to change permissions manually. If you want to create files with your script, create a directory with write permissions manually through your hosting panel and then your script … | |
(Off topic? if so, sorry) Why are my posts here not color coding when I use the 'Code' or 'Inline Code' entries? E.g.: var x = 1; function callme(y) { // comment alert("Param:"+y); } callme(x); They end up all green or red. | |
Re: Incorrect sysntax above: echo "<p class=size">$element." "</p>; should be: echo "<p class=\"size\">".$element."</p>"; Try posting one problem at a time with a bit more info on what you are trying to do. | |
Re: Not a canvas expert but I may be able to help. What doesn't work? Any javascript errors in the console? | |
Re: Since the error relates to SSL, is it worth setting CURLOPT_SSL_VERIFYHOST to it's default (2) and CURLOPT_SSL_VERIFYPEER to it's default (TRUE) as a test? | |
Re: What I have done is create my own search entry box which (when submitted) sends the entered search term to a separate dedicated search results page which contains the google code (and included styling) e.g. "searchresults.php?q=enteredsearchtext". This initiates a custom search when the page loads. Example: http://www.gwscsw.org/ | |
Re: Apply the width and positioning to a block level tag (e.g. li) instead of inline (a) Without knowing what the other constraints of layout are (menu animation?), here's a place to start from. ul li { background:rgba(0,0,0,.4); position:relative; height:50px; left:0px; width:200px; padding:2px; margin:0px; margin-left:-40px; } ul li a { font-size: … | |
Re: I assume all you want to do is ignore these attempts to spam your form. Since you know (evidence a blank or missing entry in your $_POST array) then server validation could (should) ignore or return an error (depending on the submission / validation method) and discard the submission. Presumably … ![]() | |
Re: Hi, If there is no processing done on the form itself, textarea input should not contain <br /> tags. If the question is a Wordpress one (e.g. solved by the link from Bachov) then I'll bow out. If not, there's a process I have developed for dealing with breaks and … | |
Re: How far have you got with your project? Have you written Javascript before? Post what you have done so far. | |
Re: So many possibilities. If you already have an array of image paths in Javascript in your page source (e.g. 'imagepaths'), here's a function to pick a random index to select the next image (different from the last). function nextindex(previous) { // slidemax is the size of your image path array … | |
Re: example please. Is this just an html layout question? | |
Re: Not familiar with 'lakhs'. Using PHP you could read your csv file into an array of records and either process as arrray or go the next step and insert into a MySQL table. This snippet may help. ini_set("auto_detect_line_endings", true); $records = file("file path here"); $recarray = array(); foreach($records as $key=>$val) … | |
Re: There doesn't seem to be a question here. What works, what doesn't? | |
Re: If you have an objective such as what type of work you are planning to do, an answer may be indicated. I agree with pritaeas, given that you are a CS graduate, learning Java/JSP will be a good project for you and be useful in business applications. IMO, PHP should … | |
Re: I suggest doing some investigation as to where your code is failing. Put an alert(x) in each of your success functions where x is the ajax returned data and see whether the functions are running and receiving the correct data from your php files. It looks like update_div() is being … | |
Re: Don't temporary tables get destroyed when connection is closed? From the MySQL website: "If you run the code in a PHP script, the temporary table will be destroyed automatically when the script finishes executing." By the time you check with PhpMyAdmin it's gone. I see you have already som debug … | |
Re: This will work, too: `header('Location:'.$redirect_page.'');` | |
Re: Better to use mysql_fetch_assoc and text indices. Then if your table is modified you don't have to re-write the numeric indices. Pretty sure even for a NULL field, you should not get an 'undefined index'. ![]() | |
Re: Your product div may take up 100% but the image size inside it is set to 400x394 by your code. If you don't set width and height then it will default to the image size. You will have better luck putting the image in the background and using css 'cover' … | |
Re: Do you mean how to add the input fields to the form dynamically or do you mean how to write a insert query when some of the fields are not always there? | |
![]() | Re: Also '==' does not exist in MySQL. Use '=' (unlike JS, PHP, C C++ Java...) |
Re: Hi, I make the correction when inserting so time in the database records is always local time: $TZADD = 6; // difference in hours from client to database server // add this in insert query "created = TIMESTAMPADD(HOUR,".$TZADD.",NOW())" This works fine if $TZADD is constant. However GoDaddy hosting has its … | |
Re: Hi, How about: `SELECT * FROM a WHERE YEAR(created_on) = 2013 AND MONTH(created_on) = 12` | |
Re: Sounds like a bad idea. What if John quits his browser after opening page X. He's locked Tim out for ever. Then you'd have to run a timer, Tim can look at X n seconds after John? John can perform tasks on X for only n seconds? HTML is not … | |
Re: I think it would depend on how you would access the data under normal use. Would all your queries need to access all the data? Or might there be a subset that is accessed more frequently where having it in a separate table may marginally improve performance? I think splitting … | |
Re: Since you used ob_start, wouldn't you have to use ob_flush to get some output? | |
Re: Hi, Some setups will download the file instead of displaying in the browser. Have you checked it is not downloading without displaying? Also (very small point) is_readable() checks if file exists so file-exists() is not necessary. | |
Re: You could do away with your anchor tags and use span instead. Then use CSS to style the cursor to pointer so it shows up as clickable like a link. [QUOTE=eantz;1022549]Hi, I want create a page which has animation at the bottom of that page. I use jQuery to do … | |
Re: You should be able to use jQuery's stop() function which is [URL="http://docs.jquery.com/Effects/stop"]explained on the jQuery site here[/URL]. | |
Re: I don't use prototype but in straight javascript you might define a function as follows: [code=js] function hideCaption() { var el = document.getElementById("imgDisplay_caption"); if(el.innerHTML == "") { el.style.display = "none"; } else { el.style.display = "block"; } } [/code] Then run the function after you know prototype has done its … | |
Re: [QUOTE=bufospro;1000476]Hi all, I saw a image opening effect that I like so much. And I would like to ask if anyone knows how can I do this. The page I have seen the effect is : w w w .hypersys.gr Thanks a lot[/QUOTE] If you are talking about the zoom … |
The End.