Well, there are so many books for learning. Check out the following which will help you a lot: Core PHP Programming (Leon AtKinson), Beginning PHP 5.3 (Matt Doyle), Beginning PHP and MySQL, From Novice to Professional (W. Jason Gilmore). There are others but get those. They will be enough.
Danzy83
Posts
-
Where will be use action code? -
Character not showing in utf-8 encodingThe contents on one of my web pages contain the cent sign (¢). When using utf-8 encoding, the character shows as a box but when I remove this line from the head of the page () the character is show correctly. Meanwhile utf-8 encoding is being recommended for web pages and is said to support all characters of the world. Could I be missing something else. Please help.
-
Where will be use action code?David I don't really get what you are asking for. But if it is about setting value for action dynamically, you will need to use javascript. Do well to explain further so that I will be able to help you.
-
Fixed Navigation at the Top with Fixed WidthHello everyone. I've created a navigation menu at the top of the document which is fixed when scrolling. Everything works fine for me on my computer. Now I'm considering that not all persons will open the page with displays as wide as mine. I resized the browser window to be smaller to see the effect. I realised that when the window becomes smaller, navigation menus that do not fall within the length of the visible part of the document wraps to the next line which is outside the coloring of the navigation at the top. I'm looking for a way to force those menus to be shown on a single navigation line so that the user will have to scroll horizontally in order for those menus to be shown. I have set the width of the navigation to 100% to compensate for wide screens. It's left with how to make them appear on the same line but visible on scrolling on small screens. I want to know how to solve this. Thanks in advance.
-
Url RewritingWell I realised that even when I type the actual page in the address bar with the ending forward slash, the page loads without formatting. This means the problem is not with the RewriteRule. Is there a way to solve this problem when the requested page ends in a slash (http://localhost/register.php/) so that the stylesheet is applied? Thanks.
-
Url RewritingI beginning how to use url rewriting. Now I have this rule in apache (an example) which works fine: RewriteEngine On RewriteRule ^register$ register.php I have also learnt that in order for the rule to accept an ending slash (localhost/register/), the rule should be changed to:
RewriteRule ^register/?$ register.php
This also loads the register.php page when it is accessed through (http://localhost/register) but when I add the trailing slash (http://localhost/register/), my stylesheet which is in a different directory is not applied in formatting the page. The page thus loads without any formatting.
How can I ensure that the stylesheet is used in formatting the page when there is a forward slash at the end? It is possible for a user to add the slash at the end and so I would like to know a solution. Thanks.
-
created tables not dropped in a transaction rollbackHello experts. I have noticed something that is unfamiliar to me in my database knowledge. My application creates tables and inserts initial values into them based on user specifications. More than two tables are created in the process. The table creation and inserts are done within a transaction. When an error occurs, the transaction is rolled back. I just noticed that when the transaction is rolled back, all inserts are erased as expected. However, the tables created within the transaction are not dropped from the database. This is unusual to me. I don't know if I am missing something or that is how it happens with SQL server (2008 R2). Is there any way the tables can be dropped without specifying them one at a time in code? Please help.
-
Reading metadata from exported types with .net framework 3.5Well I found out that 'Lazy' is available in MEF Preview 9 for .Net Framework 3.5. I was previously using MEF Preview 5 which did not contain 'Lazy'. Thanks.
-
Reading metadata from exported types with .net framework 3.5Hello everyone! I would like to know how I can read metadata of exported types using the Managed Extensibility Framework. I am using Visual Studio 2008 with .Net Framework 3.5. In .Net Framework 4.0, this can be achieved through type 'Lazy' but this is not available in .Net Framework 3.5. Since 'ExportMetadata' was provided in the version of MEF provided for .Net Framework 3.5, I do believe there is a way of reading the metadata in the framework 3.5 but I don't know how this is done. Any guidance, please?
-
embedding sql server express in applicationHi all! Is it possible to embed sql server express in an application without installing it like it is in mysql and sqlite3? I would like to link my application to a static or dynamic library if Microsoft makes that provision so that I will not install the server on the user machine. I tried to do this using mysql but for three days now I have not been able to initialize the server as library initialization fails. SQLite3 makes that provision but does not encrypt the data. I don't know if it is possible with Microsoft SQL server. I will be writing the application in C++. Thanks in advance.
-
Maximum number of concurrent connections to SQL Server 2008Jschell I am thinking of this as if it is a national project in design stage. In the design, data will be accessed by medical institutions so I have to consider connections to the server in advance.
-
Maximum number of concurrent connections to SQL Server 2008Hi everyone! I need to know the maximum number of concurrent connections to SQL Server 2008. When I check from Server properties in Management Studio, it is set to zero with a text description that zero means unlimted connections. However, on a Microsoft Page here: http://technet.microsoft.com/en-us/library/ms187882.aspx[^] there is a maxiumum of 32767 concurrent connections. Could this value be for an older SQL Server since mine has unlimited concurrent connections (zero). I need to know this in my design plans of a new project. Thanks in advance.
-
reading individual files in a database backup setHi everyone. I have different databases that are related. During backup process, I will need to append other databases so that I will have a single file containing all the databases. My problem now is to programmatically identify the individual databases in the single backup file. How do I accomplish this? Please help.
-
grant permission on table in another databaseHi everyone! I need to grant permission on a table in a database to a database role in another database. I have client database containing information about clients. In another database, I have roles for different departments. Now I need to grant permission on specific tables in the client database to roles or departments which are located in another database. I have been struggling for a solution but have not succeeded. Is there any way to accomplish this task? Please help.
-
Get databases mapped to loginThanks Eddy. But provided links on the specified page were not found.
-
Get databases mapped to loginHi everyone! I need to get a list of databases mapped to a login in Sql Server 2008. I have two databases which I have mapped both databases to a login. What is the required script to return the login mapped databases? I'm able to do this in Management Studio by right-clicking on the login->Properties->User Mapping which shows the mapped databases as checked. I'm however writing a client application in Windows Forms and I would like to know the script that can return the login mapped databases. Please help.
-
terminating SqlConnection.Open() call while connectingThanks Eddy. The function is available only in .net framework 4.5 which I'm not using. I tried in my own way which works fine now. My BackgroundWorker thread creates a new thread and the created thread rather calls SqlConnection.Open(). When the cancel button is clicked, the BackgroundWorker thread aborts the thread opening the connection. It works fine although I don't know if there could be any related problems. I have run the application several times just to try that part of the code and I haven't found any problems.
-
terminating SqlConnection.Open() call while connectingHi everyone. I'm trying open a connection to sql server database in a background thread while showing a progress dialogbox that has a Cancel button. I would like to know how I can terminate the connection when the Cancel button is clicked and SqlConnection.Open call is still connecting. Thanks.
-
multiple loading of assemblies - does it have any associated problems?Thanks! But does the AppDomain check whether it has already been loaded so that it does not load again for consecutive calls? I'm using .net framework 4.0.
-
multiple loading of assemblies - does it have any associated problems?I want to keep some of my classes in library files and load them during runtime. I can load the assemblies and everything works fine. However, I don't find any function that will close or unload the assembly after a method is done using the assembly. If the function is called several times, the assembly loading will be done multiple times. Without any function to unload it, can it cause any problem in application some times? I'm now beginning the project so I would like to know the right approach and follow it. I would like to know before I start my project as I do not want to face any problems in the middle of the project. Please help and thanks in advance.