431 Posted Topics
Re: I'm struggling to understand what you want. Maybe show us how your database is structred etc. so we can maybe begin to understand this a bit better. | |
Re: > if its working then make it solved k 3 months later... Maybe you should have said that like 2 1/2 months ago rather than reviving a post that's dead. ![]() | |
Re: You might be able to re-login, but you shouldn't be able to gain access. If you can, it means you're also not checking to see if the use is authorised correctly. | |
Re: So why couldn't you change the code here and continue this thread? | |
Re: > although this shouldn't affect the output But in this case it would, using `echo "Hi {$name}";` is okay, but array variables like `$variable['XYZ']` it could well cause problems. I'm sure the output will tell us where this problem lies. | |
Re: So google: * PHP upload (you will learn how to rename there) * PHP delete file Not that difficult, but at least show some effort and try! | |
Re: There is definitely a way to submit data to a file, and receive the result (true/false etc.) and then call a JS function to generate. There is definitely no need to use `header()` with this sort of thing. Take a look at this: http://stackoverflow.com/questions/21328135/cant-read-php-file-output-with-ajax You will have to give it … | |
Re: You created another topic for that here: https://www.daniweb.com/web-development/php/threads/484814/dynamic-slideshow-problem ![]() | |
![]() | |
Re: Maybe because there are more than 3 images in your database? Try `$sel = mysql_query("SELECT * FROM alumini LIMIT 3");` The LIMIT statment will only select 3 images. | |
Re: The # tag simply a way for people to search tweets/posts of a similar topic. So using #DaniWeb for instance makes it easier for people to find DaniWeb related content on social media. | |
Re: > How can i make it? I need a source code. Do you expect us to waste our time doing your research? **Put some effort in and do your own googling.** | |
Re: What exactly is wrong with it? Are there any error messages? | |
Re: > PHP software developer in Bangalore.I am new to the PHP language. Maybe you need to be at least moderately competent with a language before you become a software developer using it? [OSWASP](https://www.owasp.org/index.php/Main_Page) do a very good job at writing stuff about software security. | |
Re: What have you got in a `.htaccess` file? You could do this: RewriteEngine on RewriteCond $1 !\.(js|ico|gif|jpg|png|css|html|swf|mp3|wav|txt)$ RewriteRule ^(.*)$ index.php?p=$1 [L] It will apply the rewrite rule if the url doesn't have any of the above file extensions, so `yoursite.com/cell-phones` would go to `yoursite.com/index.php?p=cell-phones`. If you wanted additional parameters: `yoursite.com/cell-phones&brand=XYZ` … | |
Re: Yes, you can style anything and everything from a CSS file, and much better to do that than place it in a `style=""` attribute. And WYSIWYG means: What You See Is What You Get. It's a visual editor that allows you to design a website by typing it like any … | |
Re: Take a look at this: http://www.webdevdoor.com/javascript-ajax/dynamic-select-list-jquery-php/ It's a good idea to use AJAX in a situation like this to smoothen the browsing experiance, but at the same time being able to use a dynamic list. ![]() | |
Re: So let me get this streight: you have a popover, and it is showing what where the image should be? > And this is what the array looks like. Which array? You've not really told us where your problems are occuring, so we can't begin to work things out if … | |
Re: Depends how much work you want to do, what skills you have and what you may want to do in the future. If you want to write it yourself (without another person to manage databases later on) you could use a PHP framework and write it all, but this takes … | |
Re: > How ? By having dropdowns like: "Sort by <criteria> <asc/desc>" And then use jQuery/AJAX to re-order the results. How you go about doing that depends on your HTML. | |
Re: @rubberman I think I could say that to just about every PHP post that gets asked. Those that aren't are normally using a framework and haave no choice aha. | |
Re: This any good? Bit of CSS3 and jQuery. http://jsfiddle.net/29gxp031/ | |
Re: What about using [unset()](http://php.net/manual/en/function.unset.php) and delete the session variables for one portal instead of the other? | |
Re: > And if you are based in Alberta, how come I'm seeing Manila as your domicile from the user registration perspective? Ooooh he's being sussed by the happygeek | |
Re: http://www.w3schools.com/ are probably the best, and their certifications are well renouned. This will look really good if you have one or two of these under your belt. Good luck! *mattster* | |
Re: > style="backgound-color: white;" Use a CSS file instead, will save you a lot of work: tr:nth-child(even) {background: #CCC} | |
Re: Probably easier to use this: <input type="text" pattern="([01]?[0-9]|2[0-3]):[0-5][0-9]" name="timefrom"> http://jsfiddle.net/htm17q0y/ The user get's refused when they try to submit, http://www.w3schools.com/tags/att_input_pattern.asp | |
| |
Hi All, I have noticed I've stopped recieving the DaniWeb Digest (without wanting to). Is there a way I can click to "opt-in" somewhere? I've seen the "Join mailing list" in edit profile, but this seems more for replying to posts etc. Thanks, *mattster* | |
Re: > can you tell me.. I have never seen a question so pathetic. Please at least br specific, give examples show what you've tried. **At least make an effort.** | |
Re: Should've really asked this in an SQL or C# forum. | |
Re: You can pass HTML into PHP by submitting forms or using `$_GET` (ie. idx.php?var1=XYZ). You would then do something along the lines of: <table> <?php foreach(...) { echo "<tr><td>".$row['col_name']."</td></tr>"; } ?> </table> You need to tweak this snippet to work inline with your code. | |
Re: I think it requires editing some PMA source files, are you able to do this on your server? | |
Re: The above link will redirect you to http://all2psd.com/start/indd2psd Warning: He didnt state this but you need to enter your email address for the PSD to be sent to. There is no privacy policy on the site and nothing to prevent selling your address on/spam/ads etc. However it is possible to … | |
Re: What about something like GitHub? or some cloud site? If you actually need to code to run online your only option would to have some sort of hosting. Even a basic (or [free](https://www.x10hosting.com/)) package will cover you. | |
Re: Hope this helps :) RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ cms.php?cms_id=$1 [L,QSA] | |
Re: > How can I advertise on the forum so I don't break the rules? Use your signature, or see [here](https://www.daniweb.com/home/advertising) | |
Re: Where you have positioned your code is fine, change line 8 to: <script src="http://ajaxsearch.partners.agoda.com/partners/SearchBox/Scripts/Agoda.SearchBoxV2.1.js" type="text/javascript"></script> Keep the SRC all on one line, because otherwise spaces will mess up the URL and you won't be able to load the library. | |
Re: Duplicate of https://www.daniweb.com/web-development/php/threads/484516/laravel-undefined-variable-fname ? | |
Re: You code looks okay, so check that you have `session_start();`'s on all pages and that `$row['uid']` value is actually being set. Sessions are needed to maintain security, thats for sure. | |
|
The End.